Markdown
All endpoints

Questions from answers

GET/v1/questions/from-answers

Extract search queries and follow-ups from collected answers.

Price

Price
Free

This endpoint is free, so it does not accept Idempotency-Key or X-Max-Price; sending either returns invalid_params.

Parameters

job_idUUIDRequired

The job ID.

cursorstring

The next_cursor from the previous page. Leave it out to start from the first page. Up to 200 characters.

Headers

AuthorizationRequired

Bearer followed by your API key.

Response

A successful call returns HTTP 200 with the data in data.items, a list of QuestionItem objects. Every field is always present: [] means none this time and null means not available or unknown. Results come one page at a time; there is another page while page.next_cursor is not null.

FieldTypeDescription
answer_idstringThe answer it comes from
enginestringPlatform ID
type"search_query" | "follow_up"search_query: something the AI searched for. follow_up: a question the AI suggested
textstringThe query or follow-up question

Nested objects

page4 fields
FieldTypeDescription
next_cursorstring | nullThe cursor for the next page; null on the last page
cursor_expires_atstring | nullWhen the cursor expires; null if it does not
has_morebooleanWhether there is another page
returnedintegerNumber of items on this page

Common errors

An error means nothing was charged, except settlement_unknown: it means billing is not known yet, so ask again with the same Idempotency-Key. See every error code.

ErrorHTTPMeaningCharged?
not_found404It does not exist, is private or was deletedNot charged
cursor_invalid400The cursor does not existNot charged
invalid_params400A parameter is invalidNot charged
unauthorized401No credential was sent, or it is invalid, disabled or expiredNot charged
rate_limited429Too many requests, or too many calls in progressNot charged