Retrieve agent version
retrieve_agent_versionRetrieve an immutable agent version's full configuration and its structured changes from the previous version to export or audit agent evolution.
Instructions
Retrieve one immutable agent version: its full configuration (composition) plus the structured changes relative to the version before it. Use it to export an agent's configuration or to audit what changed between versions.
changes is null for the first version of an agent, since there is no predecessor to diff against. Versions created before attachment snapshots were recorded report composition.complete: false (and changes.attachment_changes_complete: false); their skill_ids and knowledge_sources are null rather than empty. Skill file contents are never included, and this endpoint is read-only — it cannot restore or deploy a version.
Requires configuration access on the agent — callers limited to using the agent (no configuration access) get a 403.
Read operation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Named private Gumloop account; selects private credentials and user/team identity. | |
| agent_id | Yes | ID of the agent the version belongs to. Also accepts the reserved aliases `gumball` and `analytics`. | |
| version_id | Yes | ID of the version to retrieve, from `GET /agents/{agent_id}/versions`. |