Batches
Create batch
client.batches.create(BatchCreateParams { completion_window, endpoint, input_file_id, 2 more } body, RequestOptionsoptions?): Batch { id, completion_window, created_at, 19 more }
POST/batches
Retrieve batch
client.batches.retrieve(stringbatchID, RequestOptionsoptions?): Batch { id, completion_window, created_at, 19 more }
GET/batches/{batch_id}
Cancel batch
client.batches.cancel(stringbatchID, RequestOptionsoptions?): Batch { id, completion_window, created_at, 19 more }
POST/batches/{batch_id}/cancel
List batches
client.batches.list(BatchListParams { after, limit } query?, RequestOptionsoptions?): CursorPage<Batch { id, completion_window, created_at, 19 more } >
GET/batches