Agent Control

Get AI Config variation

GET
/api/v2/projects/{projectKey}/ai-configs/{configKey}/variations/{variationKey}

Get an AI Config variation by key. The response includes all variation versions for the given variation key.

Authorization

ApiKey read, write
Authorization<token>

In: header

Scope: read, write

Path Parameters

projectKey*string
configKey*string
variationKey*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v2/projects/default/ai-configs/default/variations/default"
{  "totalCount": 0,  "items": [    {      "judgeConfiguration": {        "judges": [          {            "samplingRate": 0.36160767,            "judgeConfigKey": "judgeConfigKey"          },          {            "samplingRate": 0.36160767,            "judgeConfigKey": "judgeConfigKey"          }        ]      },      "instructions": "instructions",      "color": "color",      "_links": {        "parent": {          "href": "href",          "type": "type"        }      },      "description": "description",      "modelConfigKey": "modelConfigKey",      "judgingConfigKeys": [        "judgingConfigKeys",        "judgingConfigKeys"      ],      "version": 5,      "tools": [        {          "customParameters": {            "key": ""          },          "version": 7,          "key": "key"        },        {          "customParameters": {            "key": ""          },          "version": 7,          "key": "key"        }      ],      "skills": [        {          "version": 9,          "key": "key"        },        {          "version": 9,          "key": "key"        }      ],      "createdAt": 1,      "_publishedAt": 2,      "_archivedAt": 5,      "name": "name",      "messages": [        {          "role": "role",          "content": "content"        },        {          "role": "role",          "content": "content"        }      ],      "comment": "comment",      "model": "{}",      "_id": "_id",      "state": "state",      "outputFormat": {        "key": ""      },      "key": "key",      "modelConfigVersion": 6    },    {      "judgeConfiguration": {        "judges": [          {            "samplingRate": 0.36160767,            "judgeConfigKey": "judgeConfigKey"          },          {            "samplingRate": 0.36160767,            "judgeConfigKey": "judgeConfigKey"          }        ]      },      "instructions": "instructions",      "color": "color",      "_links": {        "parent": {          "href": "href",          "type": "type"        }      },      "description": "description",      "modelConfigKey": "modelConfigKey",      "judgingConfigKeys": [        "judgingConfigKeys",        "judgingConfigKeys"      ],      "version": 5,      "tools": [        {          "customParameters": {            "key": ""          },          "version": 7,          "key": "key"        },        {          "customParameters": {            "key": ""          },          "version": 7,          "key": "key"        }      ],      "skills": [        {          "version": 9,          "key": "key"        },        {          "version": 9,          "key": "key"        }      ],      "createdAt": 1,      "_publishedAt": 2,      "_archivedAt": 5,      "name": "name",      "messages": [        {          "role": "role",          "content": "content"        },        {          "role": "role",          "content": "content"        }      ],      "comment": "comment",      "model": "{}",      "_id": "_id",      "state": "state",      "outputFormat": {        "key": ""      },      "key": "key",      "modelConfigVersion": 6    }  ]}