List slices
Slices
List slices
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
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
import requests
url = "https://app.oneperfectslice.ai/api/public/v1/slices"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.oneperfectslice.ai/api/public/v1/slices', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://app.oneperfectslice.ai/api/public/v1/slices \
--header 'Authorization: Bearer <token>'{
"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)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.oneperfectslice.ai/api/public/v1/slices', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://app.oneperfectslice.ai/api/public/v1/slices \
--header 'Authorization: Bearer <token>'{
"data": {
"slices": [
{
"key": "high_intent_deals",
"title": "High-Intent Deals",
"objective": "pipeline",
"description": "Surfaces deals showing strong buying signals.",
"elementKeys": [
"intent_signal",
"budget_confirmation"
]
}
]
}
}