Skip to main content
Use this endpoint to fetch every saved version associated with a specific Botsify agent. The response includes each version’s ID, name, and the configuration fields stored at the time it was saved — making it easy to audit history, compare snapshots, or choose a version to activate.

Request

GET https://app.botsify.com/api/v1/bot/agent-versions Authorization: Bearer token — include your token in the Authorization: Bearer <token> header.

Query Parameters

integer
The unique identifier of the bot whose versions you want to list. When omitted, the API returns versions for the bot associated with the authenticated token.

Example

Response

A successful request returns 200 OK with a JSON array. Each element represents one saved version and contains the following fields: