API REFERENCE · SCHEMA

BatchDetail schema

Required fields are always present in their containing object. Optional fields may be omitted; null is allowed only where stated. Array item fields apply to every item.

All endpoints and schemas
idRequired
string

Format: uuid.

nameRequired
string
environmentRequired
string

Values: "sandbox", "production".

statusRequired
string

Values: "importing", "pending", "processing", "completed", "cancelled", "failed".

totalRequired
integer

Minimum: 0.

completedRequired
integer

Minimum: 0.

failedRequired
integer

Minimum: 0.

created_atRequired
string

Format: date-time.

cancelled_atRequired
string or null

May be null.

cancelled_at fields and rules

Allowed alternatives

  • string

    Format: date-time.

  • null

    May be null.

rowsRequired
object[]

Current row outcomes for this page, ordered by one-based row_number. A failed row contains error; retrieve completed evidence using screening_id.

rows item fields

Each array item: object.

rows[].row_numberRequired
integer

Minimum: 1.

rows[].statusRequired
string

Values: "pending", "completed", "failed", "cancelled".

rows[].screening_idRequired
string or null

May be null.

rows[].screening_id fields and rules

Allowed alternatives

  • string

    Format: uuid.

  • null

    May be null.

rows[].errorRequired
object or null

May be null.

rows[].error fields and rules

Allowed alternatives

  • Provide rows[].error.code and rows[].error.message.
    rows[].error.codeRequired
    string
    rows[].error.messageRequired
    string
  • null

    May be null.

nextOffsetRequired
integer or null

Pass this integer as the next offset. Null means all currently counted rows were returned; an importing batch may not have its final total yet.

May be null.

nextOffset fields and rules

Allowed alternatives

  • integer

    Minimum: 0.

  • null

    May be null.