List personal Bots
curl --request GET \
--url https://omnicommerce.ai/api/v1/bots \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omnicommerce.ai/api/v1/bots', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.ai/api/v1/bots"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"bots": [
{
"name": "<string>",
"label": "",
"job": "",
"shape": "circle",
"color": "amber",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organizationId": "<string>",
"ownerUserId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"archivedAt": "2023-11-07T05:31:56Z",
"accessMode": "standard",
"accessStores": [
{
"type": "store",
"marketplace": "shopee",
"country": "<string>",
"storeId": "<string>"
}
]
}
],
"total": 4503599627370495,
"page": 123,
"pageSize": 123
}Bots
List personal Bots
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.
GET
/
api
/
v1
/
bots
List personal Bots
curl --request GET \
--url https://omnicommerce.ai/api/v1/bots \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://omnicommerce.ai/api/v1/bots', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.ai/api/v1/bots"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"bots": [
{
"name": "<string>",
"label": "",
"job": "",
"shape": "circle",
"color": "amber",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organizationId": "<string>",
"ownerUserId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"archivedAt": "2023-11-07T05:31:56Z",
"accessMode": "standard",
"accessStores": [
{
"type": "store",
"marketplace": "shopee",
"country": "<string>",
"storeId": "<string>"
}
]
}
],
"total": 4503599627370495,
"page": 123,
"pageSize": 123
}