GET
/ng-cms/content-types/{projectId}/{key}/ai-actionshttps://apis-spb.konso.io/ng-cms/content-types/{projectId}/{key}/ai-actionssmart_toyAgentic specList AI actions for a content type
Returns the list of AI actions (e.g. content-generation or enrichment actions) that have been configured for a specific content type. Actions are looked up by content type ID or key; use the returned action IDs with the run-action endpoint to execute one against a specific entry.
Параметры запроса
projectIdstringProject (bucket) identifier
keystringContent type ID or key
Ответы
200AI actions configured for the content type.
тип: PagedApiResponse<CmsTypeAiActionSummaryDto>
404Content type not found for the given projectId/key. Returns an empty body.
500Unexpected server error. Note: unlike most endpoints, this action returns the raw exception message as a plain string body, not a wrapped ApiResponse<T>.
тип: string
Язык:
expand_more
Пример запроса
curl --request GET \
--url https://apis-spb.konso.io/ng-cms/content-types/{projectId}/{key}/ai-actions \
--header 'x-api-key: <your-api-key>'Response Example200
{
"total": 2,
"list": [
{
"id": "aia_a1b2c3d4e5f6",
"name": "Generate SEO description",
"contentTypeId": "typ_xw9p2445",
"contentTypeKey": "api_reference_entity"
},
{
"id": "aia_g7h8i9j0k1l2",
"name": "Summarize content",
"contentTypeId": "typ_xw9p2445",
"contentTypeKey": "api_reference_entity"
}
]
}KONSO