List variations
Lists all variations for an agent
Path parameters
Workspace ID.
Agent ID. Accepts the canonical agent_… form or the external_id:<value> form.
Query parameters
Maximum number of results to return
Pagination cursor from previous response
Sort order for results (asc or desc by creation time)
When true, the info field on each returned variation is populated. Requests with this flag count more against your rate limit.
Filters by metadata labels. Comma-separated key=value pairs, e.g. "env=prod,team=ai". A resource matches only if every pair matches exactly (AND semantics).
Response
OK
Example response
{
"items": [
{
"metadata": {
"accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
"workspaceId": "workspace_01HXKD2E5NQM3T9AYWCF133E3Q",
"profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
},
"spec": {
"modelConfig": {
"modelId": "claude/opus-4.6"
}
},
"info": {
"createdBy": {
"metadata": {
"accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
"profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
}
},
"model": {
"accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
"workspaceId": "workspace_01HXKD2E5NQM3T9AYWCF133E3Q",
"profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
},
"assignments": [
{
"id": "avt_01HXKD2E5NQM3T9AYWCFJE6K89"
}
],
"memoryLayerAssignments": [
{
"id": "avml_01HXKD2E5NQM3T9AYWCFX8AF59"
}
]
}
}
]
}Changes
Changed in 13 of the 57 revisions of this API.3159
- ▲
added
VariationAssignment_ToolVariationAssignment_ToolSetVariationAssignment_Agentto theitems/items/info/allOf[AgentVariationInfo]/assignments/items/response propertyoneOflist for the response status200response-property-one-of-added
- ▲
the
items/items/info/allOf[AgentVariationInfo]/assignments/items/response's property type/format changed fromobject/to/for status200response-property-type-changed
- ●
removed the optional property
items/items/info/allOf[AgentVariationInfo]/assignments/items/agentfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/items/info/allOf[AgentVariationInfo]/assignments/items/idfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/items/info/allOf[AgentVariationInfo]/assignments/items/toolfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/items/info/allOf[AgentVariationInfo]/assignments/items/toolSetfrom the response with the200statusresponse-optional-property-removed
- ○
added discriminator to
items/items/info/allOf[AgentVariationInfo]/assignments/items/response property for the response status200response-property-discriminator-added
- ▲
- ●
removed the optional property
items/items/spec/allOf[AgentVariationSpec]/progressiveDiscovery/allOf[AgentVariationSpec_ProgressiveDiscovery]/rerankThresholdfrom the response with the200statusresponse-optional-property-removed
- ●
- ●
removed the optional property
pagination/totalfrom the response with the200statusresponse-optional-property-removed
- ●
- ●
removed the optional property
items/items/spec/allOf[AgentVariationSpec]/weightfrom the response with the200statusresponse-optional-property-removed
- ●
- ○
added the new optional
queryrequest parameterlabelsnew-optional-request-parameter
- ○
- ▲
the
items/items/spec/allOf[AgentVariationSpec]/constraints/allOf[AgentVariationSpec_Constraints]/inactivityTimeoutresponse's property type/format changed frominteger/tostring/for status200response-property-type-changed
- ▲
- ○
added the optional property
items/items/spec/allOf[AgentVariationSpec]/constraints/allOf[AgentVariationSpec_Constraints]/inactivityTimeoutto the response with the200statusresponse-optional-property-added
- ○
- ●
removed the optional property
items/items/spec/allOf[AgentVariationSpec]/userMessageTemplatefrom the response with the200statusresponse-optional-property-removed
- ○
added the optional property
items/items/spec/allOf[AgentVariationSpec]/firstUserMessageTemplateto the response with the200statusresponse-optional-property-added
- ●
- ●
deleted the
queryrequest parameterbundleKeyrequest-parameter-removed
- ●
removed the optional property
items/items/info/allOf[AgentVariationInfo]/model/allOf[ResourceMetadata]/bundleKeyfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/items/metadata/allOf[ResourceMetadata]/bundleKeyfrom the response with the200statusresponse-optional-property-removed
- ○
added the optional property
items/items/info/allOf[AgentVariationInfo]/createdBy/metadata/createdAtto the response with the200statusresponse-optional-property-added
This revision also has 27 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ●
removed the optional property
items/items/spec/allOf[AgentVariationSpec]/enableEpisodicMemoryfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/items/spec/allOf[AgentVariationSpec]/episodicMemoryTtlfrom the response with the200statusresponse-optional-property-removed
- ●