Skip to main content

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.

Use the API to connect OnePerfectSlice to your existing workflows — pipe structured context into Zapier, n8n, Make, or Clay, sync data back to your CRM, or build custom automations on top of OnePerfectSlice.

What you can do

Use caseEndpoints
Run AI analysis on calls matching your filtersSlices — list templates, preview matched calls, start async runs
Poll for results and retrieve structured outputSlice Runs — check status, get results, fetch evidence
Search summaries and scorecards across your teamPosts — filter by date, call type, rep, CRM deal, and more
Build filter UIs with typeahead searchFilters — call owners, companies, CRM deals, stages, custom fields
Discover reference data for your teamReference Data — call types and analysis elements

Get your API key

1

Go to Org Settings

Navigate to app.oneperfectslice.ai/settings and open the API Keys section.
2

Create a key

Click Create API Key, give it a name, and select the team it should be scoped to. Your key will be shown once — copy it and store it securely.
Your key looks like this: sk_... — see Authentication for details on managing keys and security.

Make your first request

Base URL
https://app.oneperfectslice.ai/api/public/v1
curl https://app.oneperfectslice.ai/api/public/v1/slices \
  -H "Authorization: Bearer sk_your_api_key"

Response format

Every successful response wraps data in a standard envelope:
{
  "data": { ... },
  "meta": {
    "pagination": {
      "totalCount": 142,
      "hasMore": true,
      "limit": 20,
      "offset": 0
    }
  }
}
The meta field appears only on paginated endpoints. See Pagination for details.

Error handling

Errors return a machine-readable code and a human-readable message:
{
  "error": {
    "code": "INVALID_TOKEN",
    "message": "Token is invalid"
  }
}
Some errors include a details object with additional context. See Errors for the full list of error codes and how to handle them.