Skip to main content
PATCH
/
api
/
data-platform
/
file-ingestions
/
{id}
Update file ingestion status or path
curl --request PATCH \
  --url https://app.solya.app/api/data-platform/file-ingestions/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "organizationId": "org-uuid-1",
  "status": "INGESTED"
}
'
{
  "blobPath": "landing/org-uuid-1/2026-05-01/sales.csv",
  "channel": "data-platform",
  "checksumSha256": "a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2",
  "createdAt": "2026-05-01T08:00:00.000Z",
  "fileSizeBytes": 1048576,
  "fileType": "csv",
  "id": "fi-uuid-1",
  "ingestionSource": "client-importer",
  "organizationId": "org-uuid-1",
  "originalFilename": "sales_may_2026.csv",
  "status": "INGESTED",
  "updatedAt": "2026-05-01T08:05:00.000Z"
}

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<uuid>
required

Unique identifier of the file ingestion record (UUID)

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Body

application/json
organizationId
string
required
Minimum string length: 1
blobPath
string
Required string length: 1 - 1024
status
enum<string>
Available options:
INGESTED,
ERROR

Response

Successful response

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