import requests
url = "https://app.oneperfectslice.ai/api/public/v1/slices/{key}/run"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"data": {
"runId": 12345,
"sliceKey": "high_intent_deals",
"sliceTitle": "High-Intent Deals",
"status": "running"
}
}Starts an asynchronous AI analysis run for the given slice. Returns 202 Accepted with a runId you can use to poll for results via GET /slice-runs/.
Pass an Idempotency-Key header to safely retry — same key with same arguments returns the original run, same key with different arguments returns 409.
Related: Get run details · Get run evidence · List runs
import requests
url = "https://app.oneperfectslice.ai/api/public/v1/slices/{key}/run"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"data": {
"runId": 12345,
"sliceKey": "high_intent_deals",
"sliceTitle": "High-Intent Deals",
"status": "running"
}
}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.
runId. Check suggestedPollAfterSeconds for the recommended wait time between polls.API key with sk_ prefix. Create one in Org Settings → API Keys.
Client-provided idempotency key (Stripe convention). Same key + same args returns original runId. Same key + different args returns 409.
255Unique slice key
Filters and options for starting a slice run. All fields are optional — omit filters to analyze all recent calls.
Start datetime (ISO-8601)
"2026-03-26T00:00:00Z"
End datetime (ISO-8601)
"2026-04-26T00:00:00Z"
Filter by call types
100Filter by source file IDs
100Optional user prompt to customize analysis
Filter by call owner emails
100Filter by company domains
100Filter by CRM deal IDs
100Filter by CRM company IDs
100Filter by CRM deal stages
100["Qualification", "Proposal"]Minimum CRM deal amount
Maximum CRM deal amount
Custom CRM field filters
Show child attributes
Run accepted (async execution started)
Show child attributes