Skip to main content
GET
Get search results
Read answers in results[].content, with source details and supporting evidence. Requested structured fields appear in output. Pass next_cursor as cursor to read the next page. Keep polling while terminal is false; finish reading when terminal is true and has_more is false. Results arrive as they become available, with their relevance rank preserved. An answer can be partial or null. Check content and any requested output fields before using them.

Authorizations

Authorization
string
header
required

Send Authorization: Bearer <THRED_API_KEY>. Development keys begin thr_dev_; Production keys begin thr_prod_. Each key is scoped to a workspace and environment. Keep secrets on your server.

Path Parameters

id
string
required

Search ID returned by POST /search.

Pattern: ^search_[a-z0-9-]+$

Query Parameters

limit
integer
default:10

Maximum number of published results to return on this page.

Required range: 1 <= x <= 100
cursor
string

Opaque next_cursor from a previous page of this search. Omit it to start at the first published outcome.

Response

Saved search results.

id
string
required

Search ID associated with this page.

Pattern: ^search_[a-z0-9-]+$
Example:

"search_6c479a30-cf06-4dba-8dc9-2d2893bbc64f"

status
enum<string>
required
Available options:
discovering,
running,
canceling,
completed,
failed,
canceled,
expired
results
object[]
required
Maximum array length: 100
next_cursor
string
required

Use for the next page or poll this cursor for future results. Returned even on an empty page.

has_more
boolean
required

More saved results exist now. False does not imply the search has finished.

terminal
boolean
required

No future results will be published for this search.