Skip to navigation

List input items

Returns the list of input items for a given response.

Authentication

AuthorizationBearer

Your ASI:One API key, sent as Authorization: Bearer <api_key>.

Path parameters

response_idstringRequiredformat: "^resp_[a-f0-9]{32}$"

The id of the response, as returned when it was created. A malformed id returns a 400; an id that does not exist returns a 404.

Query parameters

limitintegerOptional1-100Defaults to 20
Number of items to return, from 1 to 100.
orderenumOptionalDefaults to desc
Sort order of the items.
Allowed values:
afterstringOptional
An item id to list after, for pagination.

Response headers

X-Request-IdstringOptional

Correlation id for this request, present on every response: the caller-supplied X-Request-Id when one was sent, otherwise minted by the API. Backends log it and traces key on it, so cite it when reporting an issue.

Response

A list of input item objects.
objectstringOptional
datalist of objectsOptional
first_idstring or nullOptional
last_idstring or nullOptional
has_morebooleanOptional

Whether more items follow last_id.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
500
Internal Server Error
502
Bad Gateway Error
504
Gateway Timeout Error