Retrieve agent version
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.
Authorizations
Path Parameters
ID of the agent the version belongs to.
ID of the version to retrieve, from GET /agents/{agent_id}/versions.
