Skip to main content
GET
Get prompt rankings within a topic

Authorizations

Authorization
string
header
required

A Searchable API key, created under Settings → Workspace → Integrations. Send as Authorization: Bearer sea_xxxxx. Every key carries one or more scopes (read, write, admin) and may optionally be bound to a single project — see Getting started.

Path Parameters

projectId
string<uuid>
required

The project id.

Query Parameters

topicId
string<uuid>
required

The topic to rank prompts within. Required.

days
integer

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

Required range: x >= 1
from
string

Start of an absolute window (inclusive, UTC). Accepts YYYY-MM-DD or a full ISO timestamp. Requires to, and is mutually exclusive with days — sending both returns 400 invalid_argument. A range longer than the endpoint's maximum is rejected rather than clamped.

Example:

"2026-03-01"

to
string

End of an absolute window (inclusive, UTC). Accepts YYYY-MM-DD or a full ISO timestamp. Requires from.

Example:

"2026-03-31"

platform
string

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.

unbranded
enum<string>

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

Available options:
true
branded
enum<string>

Pass true to restrict every metric to branded prompts only.

Available options:
true

Response

Per-prompt rankings within the topic.

Per-prompt brand rank inside one topic, with the competitors outranking you.

project
object
required
topicId
string
required
prompts
object[]
required
totalPrompts
number
required
dateRange
object
required