Skip to main content
GET
Get operation
Returns one operation visible to the authenticated API key. Operations cover backup, restore, clone, delete, and recover jobs.

Path parameters

Response

200 OK
Statuses are queued, running, succeeded, failed, and canceled. result holds public, type-specific fields once the operation finishes. stage is operation-specific. progress is an integer from 0 to 100. Failed operations return a stable error code/message without exposing credentials or dump content. A failed clone with error code DATABASE_CLONE_ROLLED_BACK left nothing behind: the copy, its roles and its route were removed, and the target’s name and plan slot are free again, so the same clone can be requested once more. Any other failed clone keeps its target database in error. Clients can poll until a terminal status. The CLI waits by default; --no-wait returns the operation ID immediately.

Errors