Profiles
API endpoints for managing AI profiles.
Profiles combine a connection with model-specific settings for use cases. They define which AI model to use and how it should behave.
Base URL
/umbraco/ai/management/api/v1/profilesEndpoints
Profile Object
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"alias": "content-assistant",
"name": "Content Assistant",
"capability": "Chat",
"model": {
"providerId": "openai",
"modelId": "gpt-4o"
},
"connectionId": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"settings": {
"$type": "chat",
"temperature": 0.7,
"maxTokens": 4096,
"systemPromptTemplate": "You are a helpful content assistant."
},
"tags": ["content", "assistant"]
}Profile Properties
id
guid
Unique identifier
alias
string
Unique alias for code references
name
string
Display name
capability
string
Capability type (Chat, Embedding)
model
object
Model reference with providerId and modelId
connectionId
guid
ID of the connection to use
settings
object
Capability-specific settings (polymorphic)
tags
array
Optional tags for categorization
Settings Types
Settings are polymorphic based on the $type discriminator.
Chat Settings
temperature
float
Randomness (0.0-1.0)
maxTokens
int
Maximum response tokens
systemPromptTemplate
string
Default system prompt
Embedding Settings
Embedding profiles currently have no additional settings.
ID or Alias
Most endpoints accept either a GUID or alias to identify profiles:
This flexibility allows referencing profiles by memorable aliases in configuration while using GUIDs internally.
In This Section
List ProfilesGet ProfileCreate ProfileUpdate ProfileDelete ProfileLast updated
Was this helpful?