Get Thread Status
curl --request GET \
--url https://omnicommerce.sg/api/v1/threads/{thread_id}/status \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omnicommerce.sg/api/v1/threads/{thread_id}/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.sg/api/v1/threads/{thread_id}/status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"thread_id": "<string>",
"status": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"conversation_asset": {},
"error": "<string>"
}AOPs
Get Thread Status
Poll an AOP execution started by POST /api/v1/aop/{aopId}/execute. Requires aops:read. Status values are running, completed, or failed.
GET
/
api
/
v1
/
threads
/
{thread_id}
/
status
Get Thread Status
curl --request GET \
--url https://omnicommerce.sg/api/v1/threads/{thread_id}/status \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omnicommerce.sg/api/v1/threads/{thread_id}/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.sg/api/v1/threads/{thread_id}/status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"thread_id": "<string>",
"status": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"conversation_asset": {},
"error": "<string>"
}Authorizations
Bearer API key for server-to-server access. Session auth is also supported in first-party UI flows.
Path Parameters
Query Parameters
When true, include conversation messages while the run is still in progress. Terminal runs include messages by default.
Required for session auth. Optional for API keys.
Maximum string length:
120