Galon Cloud
Galon API v1

/backend/operations/{operation_id}

Base URL https://api.galon.ai/v1 · export GALON_API_BASE="https://api.galon.ai/v1"

GET /backend/operations/{operation_id}

Read a database operation

Read a migration or backup operation. Use when a migration or backup was queued. Before: apply_migrations (needs database create access). Returns the operation with its status and error code. Scope: database:read.

API key (Bearer), on the public API endpoint.

Parameters

NameInTypeDescription
operation_idpathstring · requiredOperation id.

Responses

StatusDescriptionBody
2XXSuccess: the JSON body the route returns (see the description for its fields).object
401Key missing or invalidError
4XXRefused: act on detail.code, then follow detail.next_action (404 not_found while the service is not open to the account).Error

Examples

curl

curl -X GET "$GALON_API_BASE/backend/operations/<operation_id>" \
  -H "Authorization: Bearer $GALON_API_KEY"