v1

latestOpenAPI 3.0.0Cognigy Proprietary License2026-07-2239524.1 MB
Snapshots

Restore a Snapshot

Creates a task to restore a Snapshot.

post/v2.0/snapshots/{snapshotId}/restore

Path parameters

snapshotIdstring required

The unique identifier for the Snapshot.

Request body

projectIdstring required

Response

Task to restore 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
}