cURL
curl --request GET \ --url https://api.example.com/api/search/use-cases/{use_case_id}/threads/{thread_id} \ --header 'Authorization: Bearer <token>'
{ "thread_id": "<string>", "chats": [ { "id": "<string>", "use_case_id": "<string>", "thread_id": "<string>", "knowledge_asset_ids": [ "<string>" ], "title": "<string>", "entries": [], "updated_at": "0001-01-01T00:00:00", "created_at": "0001-01-01T00:00:00", "targeted_web_search_urls": [ "<string>" ], "extracted_urls": [ "<string>" ] } ], "updated_at": "2023-11-07T05:31:56Z", "title": "<string>" }
Fetch a single search thread by id for the authenticated user
Bearer token authentication. Format: 'Bearer '
Successful Response
Pydantic model for a thread in the response of the fetch threads endpoint.
Show child attributes
Returns the latest updated_at from all chats in the thread, or datetime.min if no chats exist.
Returns the title of the thread, or None.
Was this page helpful?