Batches API v1Alpha
Get job timing for a batch
Changed onGet the start/end time of every attempt of every job in the batch, for building a timing overview of the whole batch. Jobs that have not started yet have an empty attempts array. Paginated by job_offset — see JobOffsetPagination.
get/api/v1alpha/batches/{batch_id}/timing
Request
- Base URL: {{ base_url }}
- URL: {{ base_url }}/api/v1alpha/batches/{batch_id}/timing
- Auth: none declared
Path parameters
batch_idnumber required
The ID of the batch.
Query parameters
job_offsetinteger
Job id offset to page from. Job ids within a batch are dense (1..n_jobs), so this maps directly onto a job_id range rather than a real SQL OFFSET. Defaults to 0.
page_sizeinteger
Number of jobs to include in this page (not number of attempts). Defaults to 50, capped at 1000.
Response
Successfully retrieved the job timing for the batch.
Changes
- info
endpoint added
- info