Read a Bot message run
curl --request GET \
--url https://omnicommerce.ai/api/v1/bots/{botId}/runs/{runId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omnicommerce.ai/api/v1/bots/{botId}/runs/{runId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.ai/api/v1/bots/{botId}/runs/{runId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"runId": "<string>",
"threadId": "<string>",
"status": "queued",
"messages": [
"<string>"
],
"awaitingApproval": true,
"memorySources": [
{
"title": "<string>",
"href": "<string>",
"stale": true
}
],
"approvalUrl": "<string>"
}Bots
Read a Bot message run
Requires agents:invoke and assistant.use. Use a signed-in member session or a member’s CLI token. Organization OAuth and Computer credentials cannot access personal Bots.
Returns the run’s status, visible reply, and approval URL when available. Archived runs retain their status. Reopen their conversation to read the reply after the active run journal expires.
GET
/
api
/
v1
/
bots
/
{botId}
/
runs
/
{runId}
Read a Bot message run
curl --request GET \
--url https://omnicommerce.ai/api/v1/bots/{botId}/runs/{runId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omnicommerce.ai/api/v1/bots/{botId}/runs/{runId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.ai/api/v1/bots/{botId}/runs/{runId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"runId": "<string>",
"threadId": "<string>",
"status": "queued",
"messages": [
"<string>"
],
"awaitingApproval": true,
"memorySources": [
{
"title": "<string>",
"href": "<string>",
"stale": true
}
],
"approvalUrl": "<string>"
}Authorizations
Query Parameters
Response
The requested Bot message run.