After submitting an inventory file, use this endpoint to check its processing status. The upload moves through the following states:Documentation Index
Fetch the complete documentation index at: https://mappingtravel.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
PENDING → PROCESSING → COMPLETED or FAILED. If you cancel an in-progress upload, the status becomes CANCELLED.
Request
GET https://api.mapping.travel/api/v1/inventory/{uploadId}
The UUID of the upload, returned when you submitted the file.
Example
Response
UUID of the upload record.
Current processing status. One of:
PENDING, PROCESSING, COMPLETED, FAILED, CANCELLED.Detected file format:
CSV, JSON, EXCEL, or PARQUET. Present once the file has been inspected.Total number of data rows in the file. Present once processing begins.
Number of rows that passed validation. Present once processing completes.
Number of rows that failed validation. Present once processing completes.
ISO 8601 timestamp of when the upload was submitted.
ISO 8601 timestamp of the most recent status update.
Status lifecycle
| Status | Meaning |
|---|---|
PENDING | File received, queued for processing |
PROCESSING | Actively being validated and ingested |
COMPLETED | Processing finished successfully |
FAILED | Processing encountered an unrecoverable error |
CANCELLED | Upload was cancelled via the cancel endpoint |
Poll this endpoint at a reasonable interval — for example, every 5 seconds — rather than continuously. Large files may take several minutes to reach
COMPLETED.Error codes
| Code | Description |
|---|---|
| 401 | Missing or invalid Bearer token |
| 404 | No upload found for the given uploadId in your organization |
| 429 | Rate limit exceeded |