Versions
Unified API for accessing version history across all AI entities.
The Versions API provides centralized access to version history for all versioned AI entities. Rather than per-entity version endpoints, this unified API handles versioning for connections, profiles, contexts, prompts, and agents.
Endpoints
GET
Get a specific version snapshot
GET
Compare two versions
POST
Rollback to a previous version
Base URL
/umbraco/ai/management/api/v1Supported Entity Types
connection
Umbraco.AI
API connections and credentials
profile
Umbraco.AI
AI profile configurations
context
Umbraco.AI
Context resources and content
prompt
Umbraco.AI.Prompt
Prompt templates
agent
Umbraco.AI.Agent
Agent definitions
Version Object
Properties
id
guid
Version record identifier
entityId
guid
ID of the versioned entity
entityType
string
Type discriminator
version
int
Sequential version number
dateCreated
datetime
When this version was created
createdByUserId
guid
User who created this version
changeDescription
string
Optional description of changes
Version Snapshots
When you request a specific version, the response includes a snapshot field containing the complete entity state at that version:
Related
Last updated
Was this helpful?