Retrieve a conversation thread
curl --request GET \
--url https://paradigm.lighton.ai/api/v3/threads/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://paradigm.lighton.ai/api/v3/threads/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://paradigm.lighton.ai/api/v3/threads/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"status": "<string>",
"ml_model": "<string>",
"ml_model_name": "<string>",
"agent_id": 123,
"agent_name": "<string>",
"creation_source": "<string>",
"is_read": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"is_ephemeral": true,
"is_archived": true,
"tool_parameters": "<unknown>",
"object": "thread"
}{
"detail": "System is under maintenance.",
"error": "service_maintenance",
"mode": "full_shutdown",
"reason": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"endpoint_category_names": [
"<string>"
]
}Threads
Retrieve a conversation thread
Get a thread by ID.
GET
/
api
/
v3
/
threads
/
{id}
Retrieve a conversation thread
curl --request GET \
--url https://paradigm.lighton.ai/api/v3/threads/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://paradigm.lighton.ai/api/v3/threads/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://paradigm.lighton.ai/api/v3/threads/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"status": "<string>",
"ml_model": "<string>",
"ml_model_name": "<string>",
"agent_id": 123,
"agent_name": "<string>",
"creation_source": "<string>",
"is_read": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"is_ephemeral": true,
"is_archived": true,
"tool_parameters": "<unknown>",
"object": "thread"
}{
"detail": "System is under maintenance.",
"error": "service_maintenance",
"mode": "full_shutdown",
"reason": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"endpoint_category_names": [
"<string>"
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
Global tool-specific parameters applied to all turns in this thread (e.g., document_search.top_k). Can be overridden at turn level.