Find your organization and category
Most requests are scoped to an organization and one of its categories. List the organizations your key reaches:acme, or an ID:
List tracked prompts
nextCursor, pass it as cursor to get the next page.
Create prompts
Find a topic ID withGET /orgs/{org}/categories/{category}/topics, then create prompts in it. This needs a Read & write key:
already_exists, so retrying is safe. If the new prompts would exceed your plan’s prompt limit, nothing is created.
Run a report
POST /orgs/{org}/query returns aggregate metrics from a dataset: answers, citations, searchQueries, or aiTraffic. First, get each dataset’s dimensions, metrics, and filters, plus values valid for your organization:
Chat API reference
Every endpoint, with request and response schemas.