A list of batch jobs.

interface BatchCollection {
    data: Batch[];
    first_id?: string;
    has_more?: boolean;
    last_id?: string;
    object: "list";
}

Hierarchy

  • Collection<Batch>
    • BatchCollection

Properties

data: Batch[]

The array of items in the collection.

first_id?: string

The ID of the first batch in the list.

has_more?: boolean

Whether there are more batches available.

last_id?: string

The ID of the last batch in the list.

object: "list"

The object type, always "list".