GET
/
v1
/
admin
/
bots
cURL
curl --request GET \
  --url https://api.botpress.cloud/v1/admin/bots \
  --header 'Authorization: Bearer <token>' \
  --header 'x-workspace-id: <api-key>'
{
  "bots": [
    {
      "id": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "name": "<string>",
      "deployedAt": "2023-11-07T05:31:56Z",
      "tags": {}
    }
  ],
  "meta": {
    "nextToken": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

x-workspace-id
string
header
required

Your workspace ID.

Query Parameters

dev
boolean

If true, only dev bots are returned. Otherwise, only production bots are returned.

tags
object

Filter by tags

nextToken
string

Provide the meta.nextToken value provided in the last API response to retrieve the next page of results

sortField
enum<string>

Sort results by this field

Available options:
createdAt,
updatedAt
sortDirection
enum<string>

Sort results in this direction

Available options:
asc,
desc

Response

200
application/json

Success

bots
object[]
required
meta
object
required