curl --request GET \
--url https://api.botpress.cloud/v1/admin/bots \
--header 'Authorization: Bearer <token>' \
--header 'x-workspace-id: <x-workspace-id>'{
"bots": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"tags": {},
"deployedAt": "2023-11-07T05:31:56Z"
}
],
"meta": {
"nextToken": "<string>"
}
}List bots
curl --request GET \
--url https://api.botpress.cloud/v1/admin/bots \
--header 'Authorization: Bearer <token>' \
--header 'x-workspace-id: <x-workspace-id>'{
"bots": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"tags": {},
"deployedAt": "2023-11-07T05:31:56Z"
}
],
"meta": {
"nextToken": "<string>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Workspace ID
Whether the client supports bots with multiple instances of the same integration. Set to "true" to receive integration instances keyed by their alias instead of their id. This header will be removed in the future, and the API will always return multiple instances keyed by alias.
If true, only dev bots are returned. Otherwise, only production bots are returned.
Provide the meta.nextToken value provided in the last API response to retrieve the next page of results
Sort results by this field
createdAt, updatedAt Sort results in this direction
asc, desc Success
Show child attributes
Was this page helpful?