v1

latestOpenAPI 3.0.0Cognigy Proprietary License2026-07-2239524.1 MB
Snapshots

Create a Snapshot

Creates a task to create a Snapshot in a Project.

post/v2.0/snapshots

Request body

namestring

The name of the Snapshot

descriptionstring

The description of the Snapshot

projectIdstring

The unique identifier for the Project.

Example request

{
  "name": "New Snapshot",
  "description": "Version 1"
}

Response

Task to create the Snapshot successfully created.

_idstring
status'queued' | 'active' | 'done' | 'cancelling' | 'cancelled' | 'error'

The status of the task

typestring
parametersobject
lastChangedAtnumber
lastCreatedAtnumber
currentStepinteger
totalStepinteger

Example response

{
  "status": "queued",
  "type": "trainIntents",
  "lastChangedAt": 1594243850,
  "lastCreatedAt": 1594243850,
  "totalStep": 100
}