Skip to main content
GET
List all inputs of a batch

Authorizations

Authorization
string
header
required

Path Parameters

batch_id
string
required

The batch's friendly ID (e.g. ba_aBcD1234eFgH5678).

Query Parameters

page
integer<int32>
default:1

The page to return, starting at 1. A value below 1 or a non-numeric value returns 400.

Required range: x >= 1
page_size
integer<int32>
default:20

Rows per page, from 1 to 200. A value below 1 counts as 1 and a value above 200 as 200; a non-numeric value uses the default.

Required range: 1 <= x <= 200
sort
string

Sortable fields: id, start_time, end_time, created_at, updated_at, status.

fields
string

Comma-separated sections to return in each row: data_point, event. Any other name returns 400.

response_mode
enum<string>

default returns a page of rows. summary returns the number of matching records and up to 10 sample rows. This endpoint doesn't support summary_with_export, which returns 400.

Available options:
default,
summary
filter[slug]
string

Only inputs whose data point type has this slug. Supports only eq, and is also accepted as a top-level slug parameter; sending both with different values returns 400.

filter[status]
string

Only inputs with this data point status. Filterable fields: slug, status, start_time, end_time.

Response

A page of the batch's inputs. With response_mode=summary, a count and up to 10 samples instead.

data
object[]
required
info
object
required

Where this page sits in the full result, and the sort, filters and fields the request applied.