import requests
url = "https://app.oneperfectslice.ai/api/public/v1/slices"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"slices": [
{
"key": "high_intent_deals",
"title": "High-Intent Deals",
"objective": "pipeline",
"description": "Surfaces deals showing strong buying signals.",
"elementKeys": [
"intent_signal",
"budget_confirmation"
]
}
]
}
}Returns all AI analysis templates available to your team, including each slice’s key, title, business objective, and the elements it evaluates.
Related: Get slice details · Preview matched call count
import requests
url = "https://app.oneperfectslice.ai/api/public/v1/slices"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"slices": [
{
"key": "high_intent_deals",
"title": "High-Intent Deals",
"objective": "pipeline",
"description": "Surfaces deals showing strong buying signals.",
"elementKeys": [
"intent_signal",
"budget_confirmation"
]
}
]
}
}Documentation Index
Fetch the complete documentation index at: https://docs.oneperfectslice.ai/llms.txt
Use this file to discover all available pages before exploring further.