List elements
Reference Data
List elements
Returns all active analysis elements for your team (e.g., “Budget Confirmation”, “Competitive Mention”). Elements are the specific things a slice evaluates in your calls.
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/elements"
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/elements', 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/elements \
--header 'Authorization: Bearer <token>'{
"data": {
"elements": [
{
"key": "budget_confirmation",
"label": "Budget Confirmation",
"description": "Prospect confirms available budget.",
"status": "main"
}
]
}
}Returns all active analysis elements for your team (e.g., “Budget Confirmation”, “Competitive Mention”). Elements are the specific things a slice evaluates in your calls.
import requests
url = "https://app.oneperfectslice.ai/api/public/v1/elements"
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/elements', 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/elements \
--header 'Authorization: Bearer <token>'{
"data": {
"elements": [
{
"key": "budget_confirmation",
"label": "Budget Confirmation",
"description": "Prospect confirms available budget.",
"status": "main"
}
]
}
}