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.
| Field | Type | Description |
|---|---|---|
answer_id | string | The answer it comes from |
engine | string | Platform ID |
type | "search_query" | "follow_up" | search_query: something the AI searched for. follow_up: a question the AI suggested |
text | string | The query or follow-up question |
Nested objects
page4 fields
| Field | Type | Description |
|---|---|---|
next_cursor | string | null | The cursor for the next page; null on the last page |
cursor_expires_at | string | null | When the cursor expires; null if it does not |
has_more | boolean | Whether there is another page |
returned | integer | Number 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.
| Error | HTTP | Meaning | Charged? |
|---|---|---|---|
not_found | 404 | It does not exist, is private or was deleted | Not charged |
cursor_invalid | 400 | The cursor does not exist | Not charged |
invalid_params | 400 | A parameter is invalid | Not charged |
unauthorized | 401 | No credential was sent, or it is invalid, disabled or expired | Not charged |
rate_limited | 429 | Too many requests, or too many calls in progress | Not charged |