Skip to main content
POST
/
api
/
data-platform
/
ingestion-runs
/
{id}
/
logs
Append log entries to an ingestion run
curl --request POST \
  --url https://app.solya.app/api/data-platform/ingestion-runs/{id}/logs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "entries": [
    {
      "context": {
        "catalog": "dev",
        "silverTables": 8
      },
      "level": "INFO",
      "message": "Starting ingestion for organization",
      "ts": "2026-05-23T07:00:02.000Z"
    },
    {
      "context": {
        "goldRowsTotal": 98200,
        "silverRowsTotal": 142350
      },
      "level": "INFO",
      "message": "Ingestion complete — 8 silver tables, 5 gold tables refreshed",
      "ts": "2026-05-23T09:05:01.000Z"
    }
  ],
  "organizationId": "org-uuid-1234"
}
'
{
  "runId": "run-uuid-ingest-2d5f8c",
  "totalLogs": 5
}

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

Ingestion run UUID

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