latestOpenAPI 3.1.02026-08-18104219248.1 KB
ad6ac1d13526
threads
Get Thread
Fetch a single conversation thread with its messages.
Requires the messages:read scope on the API key.
get/v1/threads/{thread_id}
Path parameters
thread_idstring required
ID of the thread.
Query parameters
message_limitinteger
How many of the most recent messages to return.
How many of the most recent messages to return.
Response
Successful Response