Skip to main content
GET
List a batch's item outcomes

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Path Parameters

batch_id
string<uuid>
required

Identifier of the batch.

Example:

"0192a3b4-5c6d-7e8f-9a0b-1c2d3e4f5a21"

Query Parameters

organizationId
string<uuid>

Only the items of accounts of this Midaz organization. It only filters: the permission covers all the tenant's batches.

state
enum<string>

Only the items with this outcome.

Available options:
PENDING,
ENABLED,
ADOPTED,
HELD_BY_ALERT,
FAILED
cursor
string

Opaque cursor returned in nextCursor or prevCursor. Left out, the first page.

Maximum string length: 512
limit
integer<int64>
default:20

Most items per page.

Required range: 1 <= x <= 100
Example:

20

Response

OK. A page of batch items.

items
object[]
required

The page's items, oldest first.

limit
integer<int64>
required

Most items the page holds.

Example:

20

nextCursor
string | null

Cursor of the page after this one; null on the last page.

Maximum string length: 512
prevCursor
string | null

Cursor of the page before this one; null on the first page.

Maximum string length: 512