Endpoints
Retrieve advanced search
Retrieve the current state of a previously created Advanced Search, including raw results and the AI-generated report.
Retrieve the current state of a previously created Advanced Search. Poll this endpoint after creating a search to check whether processing is complete.
Searches typically complete within 1–5 minutes. Poll approximately once every 15 seconds until
search_results, edited_results, and/or error are non-null.Path parameters
The
id returned when the Search was created.Response
Returns a JSON object representing the Search, including metadata, rawsearch_results, and edited_results when available.
For Advanced Search requests created with
is_test: true, this endpoint returns the dummy search_results and edited_results stored at creation time.Unique identifier for the Search.
Array of category IDs used in the search.
Context provided in the request.
Filter prompt provided in the request.
Edit prompt provided in the request.
Labels provided in the request.
Whether the Search was created in test mode.
The date range used, containing either
start_date and end_date, or duration_seconds.Timestamp when the Search was created (ISO 8601, UTC).
Raw search results when processing is complete,
null otherwise. Each item has the same fields as Quick Search results.AI-generated report when processing is complete,
null otherwise. For test searches, this is the value provided in test_data.edited_results, if any.Error message if the search failed; otherwise
null.