Skip to main content
POST
/
api
/
data-platform
/
sandbox-promote-runs
/
{id}
/
logs
Append log entries to a sandbox promote run
curl --request POST \
  --url https://app.solya.app/api/data-platform/sandbox-promote-runs/{id}/logs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "entries": [
    {
      "context": {
        "bronzeTable": "raw_sales_lines",
        "rowCount": 15420
      },
      "level": "INFO",
      "message": "Starting promotion pipeline — copying bronze layer",
      "ts": "2026-05-23T09:05:03.000Z"
    },
    {
      "context": {
        "silverTables": 3,
        "totalRows": 14800
      },
      "level": "INFO",
      "message": "Promotion complete — 3 silver tables updated",
      "ts": "2026-05-23T09:06:36.000Z"
    }
  ],
  "organizationId": "org-uuid-1234"
}
'
{
  "runId": "run-uuid-sp-4e8c9d",
  "totalLogs": 6
}

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
entries
object[]
required

One or more log entries to append; max 500 per request

Required array length: 1 - 500 elements
organizationId
string
required

Organization UUID for tenant isolation

Minimum string length: 1

Response

Successful response

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