跳转到主要内容
POST
Prompt table with per-prompt metrics (paginated)

授权

Authorization
string
header
必填

API key from Settings → Developer → API keys (prefix geom_). Each key is bound to one brand.

请求体

application/json
limit
integer
默认值:20

Rows per page (1–100).

必填范围: 1 <= x <= 100
cursor
string

Opaque cursor from page.next_cursor. Must be sent with exactly the same filters and limit.

Required string length: 1 - 512

Case-insensitive substring of the prompt text or a tag name.

Required string length: 1 - 200
sort_by
enum<string>

Sort key. Omit for the default: created_at for status=active, archived_at for status=archived.

可用选项:
text,
visibility,
mention_rate,
citations,
created_at,
archived_at
sort_order
enum<string>
默认值:desc
可用选项:
asc,
desc
time_range
enum<string>
默认值:30d

Metrics window. Ignored when start_date + end_date are given.

可用选项:
7d,
30d,
90d
start_date
string

Start of an exact metrics window; send together with end_date (UTC+8 business day, YYYY-MM-DD).

Pattern: ^\d{4}-\d{2}-\d{2}$
end_date
string

End of an exact metrics window; send together with start_date (UTC+8 business day, YYYY-MM-DD).

Pattern: ^\d{4}-\d{2}-\d{2}$
platform
enum<string>
默认值:all

AI platform, or "all".

可用选项:
all,
chatgpt,
perplexity,
gemini,
google_ai,
copilot,
google_ai_overview
topic_ids
string[]

Restrict to these topic ids (1–50). "_none" = prompts without a topic.

Required array length: 1 - 50 elements
Required string length: 1 - 64
tags
string[]

Restrict to prompts carrying these tags. "_none" = untagged prompts.

Required array length: 1 - 50 elements
Required string length: 1 - 100
status
enum<string>
默认值:active

Monitored prompts, or archived ones.

可用选项:
active,
archived
country
string

ISO-2 country code of the prompts (e.g. US). Must be a country the brand has prompts in.

Required string length: 1 - 8
include_competitors
boolean
默认值:false

Also compute share of voice and competitor mentions per prompt (slower on large brands).

响应

The prompts report. data follows PromptsReport when meta.schema_conformant is true.

data
object | null
必填

The prompts report. null only when meta.schema_conformant is false and the report output could not be mapped.

page
object
必填

Cursor pagination. next_cursor === null is the only end-of-list signal.

meta
object
必填