Docs Sign inGet started
API reference · Prompts

List prompts

Prompt set with per-prompt performance.

GET/api/v1/domains/{domain}/prompts

Path parameters

domainstringRequired

The domain's host, like acme.example, or its ID. List them with List domains.

Query parameters

rangestringdefault 30d

How far back to count: 7d, 30d, 90d or all. The previous period is the same length, just before.

7d30d90dall
surfacestring

Limit to one surface, written engine:lane, e.g. chatgpt_app:chat.

topicstring

Limit to prompts in one topic (exact name).

brandedstringdefault unbranded

Whether to count prompts that name your brand: unbranded (default), all or branded.

unbrandedallbranded

Returns

promptsarray

Every prompt on the domain: active, then suggested, then archived.

prompts[].idstring

The prompt's ID.

prompts[].statusstring

active (asked every run), suggested (not asked yet) or archived.

prompts[].sourcestring

library, generated or custom.

prompts[].lanesarray

chat, coding or both.

prompts[].visibilityrate object or null

How often answers to this prompt name you.

prompts[].changechange object or null

Compared with the previous period.

prompts[].avg_positionnumber or null

Your average rank on this prompt.

prompts[].top_competitorobject or null

The competitor named most often, as {name, rate}.

Every response includes the domain and the filters that were applied. Errors use the standard error object.