Skip to main content
POST
/
api
/
data-platform
/
file-ingestions
/
batch
Batch create file ingestion records
curl --request POST \
  --url https://app.solya.app/api/data-platform/file-ingestions/batch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "items": [
    {
      "blobPath": "landing/org-uuid-1/2026-05-01/sales.csv",
      "checksumSha256": "a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2",
      "fileSizeBytes": 1048576,
      "fileType": "csv",
      "originalFilename": "sales_may_2026.csv",
      "sourceSystem": "POLARIS"
    },
    {
      "blobPath": "landing/org-uuid-1/2026-05-01/stock.csv",
      "checksumSha256": "b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3",
      "fileSizeBytes": 512000,
      "fileType": "csv",
      "originalFilename": "stock_may_2026.csv",
      "sourceSystem": "POLARIS"
    }
  ],
  "organizationId": "org-uuid-1"
}
'
{
  "data": {
    "results": [
      {
        "index": 0,
        "success": true,
        "data": "<unknown>",
        "error": "<string>"
      }
    ],
    "summary": {
      "failed": 0,
      "succeeded": 0,
      "total": 0
    }
  }
}

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 records to create (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