v1
latestOpenAPI 3.0.0Cognigy Proprietary License2026-07-2239524.1 MBExtensions
Upload an Extension
Upload an Extension to a Project. The Extension can be provided as a file or via a URL. The method creates a Task to process the creation, and the response includes the task status and progress so you can track completion. This upload always creates a new Extension and doesn't replace any existing ones.
post/v2.0/extensions/upload
Headers
Accept'application/json' | 'application/hal+json' | 'application/xml' | 'text/xml' | 'text/csv'
The Accept header specifies the media type that the client expects in the response. Available options: application/json, application/hal+json, application/xml, text/xml, text/csv. The default value is application/json.
Request body
Example request
{
"url": "https://github.com/Cognigy/Extensions/releases/download/random-cat-image400/random-cat-image.tar.gz"
}Response
Successfully uploaded the Extension and created a Task to process it.
Example response
{
"status": "queued",
"type": "trainIntents",
"lastChangedAt": 1594243850,
"lastCreatedAt": 1594243850,
"totalStep": 100
}