GET
/ai-traffic/breakdowns AI traffic breakdowns
AI traffic by page, platform, country, or bot type.
Authenticate with
Authorization: Bearer obk_live_xxx. See authentication. Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Workspace-Id | header | string | required | The workspace to scope the request to. Can also be passed as a `workspace_id` query parameter. |
dimension | query | `page` | `platform` | `country` | `bot_type` | required | |
start_date | query | string (date) | optional | Start of the range, YYYY-MM-DD. Defaults to 28 days ago. |
end_date | query | string (date) | optional | End of the range, YYYY-MM-DD. Defaults to today. |
platform | query | string | optional | Comma-separated AI platforms (e.g. `chatgpt,perplexity`). Defaults to all. |
Responses
200 OK
| Field | Type | Description |
|---|---|---|
workspace_id | string | |
dimension | string | |
range | Range | |
breakdown | object[] |
Example request
curl --request GET \
--url https://app.orchly.ai/api/v1/ai-traffic/breakdowns?dimension=... \
--header 'Authorization: Bearer obk_live_xxx' \
--header 'X-Workspace-Id: ws_xxx'const res = await fetch(`https://app.orchly.ai/api/v1/ai-traffic/breakdowns?dimension=...`, {
method: 'GET',
headers: {
'Authorization': 'Bearer obk_live_xxx',
'X-Workspace-Id': 'ws_xxx',
},
});
const data = await res.json();import requests
resp = requests.get(
"https://app.orchly.ai/api/v1/ai-traffic/breakdowns",
headers={
"Authorization": "Bearer obk_live_xxx",
"X-Workspace-Id": "ws_xxx",
},
params={ "dimension": "..." },
)
data = resp.json() Example response
A 200 response. Dynamic fields are shown as their type.
{
"workspace_id": "string",
"dimension": "string",
"range": {
"start_date": "2026-01-01",
"end_date": "2026-01-01"
},
"breakdown": [
{}
]
}