Skip to main content
PATCH
/
api
/
data-platform
/
sandbox-promote-runs
/
{id}
curl --request PATCH \
  --url https://app.solya.app/api/data-platform/sandbox-promote-runs/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "organizationId": "org-uuid-1234",
  "stats": {
    "abortReason": "Ingest run has ERROR-severity findings; promote aborted per policy",
    "aborted": true,
    "bronzeRows": 0,
    "durationMs": 1200,
    "silverRowsTotal": 0,
    "silverTables": 0
  },
  "status": "SUCCESS"
}
'
{
  "completedAt": "2026-05-23T09:06:37.000Z",
  "id": "run-uuid-sp-4e8c9d",
  "startedAt": "2026-05-23T09:05:02.000Z",
  "status": "SUCCESS"
}

Authorizations

Authorization
string
header
required

Static internal-ops token used by the data platform and internal cron jobs (e.g. zombie-run sweep). Validated via requireBearerToken inside the handler against a service-specific environment variable.

Path Parameters

id
string
required

Unique identifier of the sandbox-promote run

Minimum string length: 1

Body

application/json
organizationId
string
required

Organization UUID for tenant isolation

Minimum string length: 1
status
enum<string>
required

New status for the run

Available options:
PENDING,
RUNNING,
SUCCESS,
FAILED
databricksRunId
string

Databricks job run ID for cross-system correlation

errorMessage
string

Human-readable error detail; provide when status=FAILED

stats
object

Completion statistics; required when transitioning to SUCCESS

Response

Successful response

data
object
required
success
enum<boolean>
required
Available options:
true