Skip to main content
PATCH
/
api
/
data-platform
/
file-ingestions
/
batch
Batch update file ingestion records
curl --request PATCH \
  --url https://app.solya.app/api/data-platform/file-ingestions/batch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "items": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440001",
      "status": "INGESTED"
    },
    {
      "id": "550e8400-e29b-41d4-a716-446655440002",
      "status": "ERROR"
    }
  ],
  "organizationId": "org-uuid-1"
}
'
{
  "results": [
    {
      "data": {
        "id": "550e8400-e29b-41d4-a716-446655440001",
        "status": "INGESTED"
      },
      "index": 0,
      "success": true
    },
    {
      "error": "File ingestion \"550e8400-e29b-41d4-a716-446655440002\" not found",
      "index": 1,
      "success": false
    }
  ],
  "summary": {
    "failed": 1,
    "succeeded": 1,
    "total": 2
  }
}

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.

Body

application/json
items
object[]
required

List of file ingestion updates to apply (1–100 items)

Required array length: 1 - 100 elements
organizationId
string
required

Organization that owns all file ingestions in this batch

Minimum string length: 1

Response

Successful response

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