v1

latestOpenAPI 3.1.02026-07-265897154.5 KB
Query Fanout

Get query fanout

Query fanout — the sub-queries AI models generate when answering tracked prompts. Returns the most frequent fanout queries, per-prompt fanout counts, and a per-model breakdown. Paginated: limit/offset page the per-prompt list; topQueriesLimit bounds the top-N queries. Pass unbranded=true or branded=true to filter by prompt brand state. days defaults to 30, max 180. limit defaults to 50, max 50.

get/api/mcp/projects/{projectId}/query-fanout

Path parameters

projectIdstring uuid required

The project id.

Query parameters

daysinteger

Lookback window in days. Default and maximum vary by endpoint — see the operation description.

platformstring

Comma-separated AI platform filter (e.g. chatgpt,claude,gemini). Accepted values and whether the param is required vary by endpoint — see the operation description.

topicIdstring uuid

Restrict to a single topic id.

unbranded'true'

Pass true to restrict every metric to non-branded prompts only.

branded'true'

Pass true to restrict every metric to branded prompts only.

limitinteger

Page size. Default and maximum vary by endpoint — see the operation description.

offsetinteger

Row offset for pagination.

topQueriesLimitinteger

Caps the number of top fanout queries returned.

Response

Aggregate query fanout.

topQueriesobject[] required
promptsobject[] required
modelStatsobject[] required