latestOpenAPI 3.1.02026-08-1595198220.8 KB
80f4fd40b75e
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