Agent Control

List prompt snippet references

GET
/api/v2/projects/{projectKey}/ai-configs/prompt-snippets/{snippetKey}/references

Get all config variations that currently reference this prompt snippet.

Authorization

ApiKey read, write
Authorization<token>

In: header

Scope: read, write

Path Parameters

projectKey*string
snippetKey*string

Query Parameters

limit?integer

The number of resources to return.

offset?integer

Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query limit.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v2/projects/string/ai-configs/prompt-snippets/string/references"
{  "resourceKey": "resourceKey",  "_links": {    "next": {      "href": "href",      "type": "type"    },    "last": {      "href": "href",      "type": "type"    },    "prev": {      "href": "href",      "type": "type"    },    "self": {      "href": "href",      "type": "type"    },    "first": {      "href": "href",      "type": "type"    }  },  "totalCount": 6,  "items": [    {      "aiConfigKey": "aiConfigKey",      "variationId": "variationId",      "variationName": "variationName",      "resourceVersion": 0,      "variationKey": "variationKey",      "aiConfigName": "aiConfigName"    },    {      "aiConfigKey": "aiConfigKey",      "variationId": "variationId",      "variationName": "variationName",      "resourceVersion": 0,      "variationKey": "variationKey",      "aiConfigName": "aiConfigName"    }  ],  "resourceType": "resourceType"}