Skip to content

Tracking jobs

Every POST /v1/ingest returns a job_id. These endpoints only show jobs of your own network: a job from another network answers 404, as an unknown one does.

GET /v1/jobs/{job_id}

{
"job_id": "550e8400-e29b-41d4-a716-446655440000",
"network": "my-network",
"status": "warning",
"message": "Some readings were discarded during ingestion",
"insertion_date": "2026-06-01T10:00:00Z",
"status_counts": { "successful": 148, "discarded": 2, "pending": 0 }
}
status Meaning
processing Readings are still being processed
ok Every reading was stored
warning Some readings were stored, others were discarded
invalid Every reading was discarded

GET /v1/jobs/{job_id}/details lists the distinct reasons:

{
"job_id": "550e8400-e29b-41d4-a716-446655440000",
"insertion_date": "2026-06-01T10:00:05Z",
"errors": ["unit \"l/s\" is not valid for metric \"pressure\""]
}

A job with nothing discarded answers with a message instead:

{
"job_id": "550e8400-e29b-41d4-a716-446655440000",
"message": "Your request has been processed without either errors or warnings."
}

GET /v1/jobs/{job_id}/quarantine returns the rows that did not match the expected fields or types, with the offending column and error for each row.

Code Meaning
400 job_id is not a valid UUID
401 Missing or invalid token
404 Unknown job, or a job of another network
500 Unexpected error, safe to retry