IO
Get Inputs Progress Traces
Bucketed cumulative file and per-kind item counters across the job lifetime
GET
Overview
Returns a fixed-resolution time series of cumulative file completions/failures (fromjob_inputs) and per-kind cumulative item counters (from job_progress.metrics) over the job’s lifetime. Suitable for backing a job-progress chart.
t is the end of each bucket; the last point sits at the job’s terminal timestamp (or now() for live jobs). The response supports If-None-Match — when the cached representation is still current, the endpoint returns 304 Not Modified, letting polling clients short-circuit chart redraws.
Request
The unique job identifier
Number of bucket points to return. Clamped to
[10, 1000]; defaults to 100.Response
The job identifier
Width of each bucket, in seconds
Timestamp of the most recent underlying event —
MAX over job_progress.created_at and job_inputs.completed_at. null when the job has neither finished any inputs nor emitted any progress. Lets polling clients short-circuit redraws when nothing has changed since the previous poll.Trace points, each containing:
t— RFC 3339 timestamp at the bucket endstep— Total finished inputs (completed + failed) at the bucket end. Matches thestepfrom List Inputs With Progress — a 1-indexed completion rank across the jobfiles— Cumulative file-level counts at the bucket end:{ "completed": int, "failed": int }items— Per-kind cumulative item counters fromjob_progress.metrics. Keys are the distinctjob_progress.kindvalues observed for the job; values are{ "success": int, "failed": int }. Empty when no progress has been emitted yet.