メインコンテンツへスキップ
POST

承認

Authorization
string
header
必須

Your API key, sent as Authorization: Bearer <key>.

ボディ

application/json
answer
string
必須

Required unless taskId is sent. The AI answer to analyze, as raw markdown (keep link fragments intact). 1-200,000 characters at submission; the analysis itself has a smaller per-answer processing budget, and an answer above it fails explicitly instead of being truncated.

Required string length: 1 - 200000
citations
object[]
必須

Required unless taskId is sent. Cited pages (1-100, at least one) plus optional retrieved-but-not-cited pages (cited: false, at most 50); at most 10 discussion-thread URLs. Total HTTP body <=1 MiB.

Maximum array length: 150
taskId
string

Instead of answer and citations: the id of one of your COMPLETED answer tasks that is still readable through GET /v1/async/task/{id}. Its answer Markdown (text when there is none) becomes answer, and its cited URLs become citations in the engine's order (first 100, at most 10 discussion threads). Its prompt, country and engine are used unless you send them. Sending taskId together with answer or citations is a 400; an unknown or expired id is a 404. For CHATGPT the task's searches become queries and every retrieved page becomes a citation with cited, position, citedText, publishedAt and query; for Google AI Overview, organic results outside the overview's sources are added as non-cited pages. include.citationAnalysis fills them the same way.

Maximum string length: 128
prompt
string

The original question.

Maximum string length: 200000
country
string
engine
string

The AI engine that produced the answer.

Maximum string length: 64
brand
string

Your brand name. With it, the result adds visibility and actions.

Maximum string length: 200
competitors
string[]

Up to 25 competitor names, reported in brands with role competitor.

Maximum array length: 25
Maximum string length: 200
brandDomains
string[]

Hostnames of your brand's own sites (e.g. coway.com): bare hostnames without scheme or path. Requires brand; sent without it, the request is rejected with 422. Without brandDomains, a host whose name contains the brand name counts as the brand's own site.

Maximum array length: 10
Maximum string length: 253
Pattern: ^[a-zA-Z0-9.-]{1,253}$
brandAliases
string[]

Other names of your brand (product lines, local spellings). Requires brand; sent without it, the request is rejected with 422.

Maximum array length: 10
Maximum string length: 200
queries
string[]

Searches the engine ran for this answer.

Maximum array length: 20
Maximum string length: 500
idempotencyKey
string
priority
integer
webhook
object

レスポンス

Queued; poll /v1/async/task/{id}. Its response follows CitationAnalysisResult.

success
boolean
必須
task
object
必須
credits
object
必須

Credits, with up to two decimals (for example 1.25). The submit response always shows 0: a hold is placed on your balance, but nothing is charged yet. Polling shows 0 until the task is terminal, then the settled charge: the task's price for COMPLETED, 0 for FAILED. A task webhook reports the same charge in creditsCharged; on a FAILED task it reports the task's price in creditsToCharge and 0 in creditsCharged. CITATION_ANALYSIS and WEB_CRAWL are charged by usage, up to the hold placed at submit.