Get Agent Version
Agent Versions
Get Agent Version
Returns the complete snapshot of a specific agent version, including all configuration fields at the time that version was saved. Requires the agent:version:read permission.
GET
Get Agent Version
Code Examples
Headers
ID of the workspace. If not provided, the user’s selected workspace will be used.
Note: This field will be required in a future release of the API. It is highly recommended to set it now to ensure compatibility with future updates.
Path Parameters
The agent ID
The version ID to retrieve
Response
Response Fields
| Field | Type | Description |
|---|---|---|
| version.version_id | integer | Unique sequential identifier for this version |
| version.published_by | string | Email of the user who saved this version |
| version.published_at | string (ISO8601) | Timestamp when this version was created |
| version.rollback_from_version | integer | null | If created by a rollback, the source version_id; otherwise null |
| version.snapshot.agent_name | string | Agent name at the time this version was saved |
| version.snapshot.instructions | string | System prompt / instructions at the time this version was saved |
| version.snapshot.ask_user_questions | array | User input fields configured at the time this version was saved |
| version.snapshot.steps | array | Automation steps configured at the time this version was saved |
| version.snapshot.knowledge_base_files | array | Knowledge base files linked at the time this version was saved |
| version.snapshot.type | string | Agent type (e.g., chat) |
| version.snapshot.subtype | string | Agent subtype (e.g., All LLM Models) |
| version.snapshot.advanced_settings | object | Model and temperature settings at the time this version was saved |
| version.snapshot.visibility | string | Agent visibility (private or public) at the time this version was saved |