batches

List batches

List the batches for the current user

get/v2/batches

Request

  • Base URL: https://api.cohere.com
  • URL: https://api.cohere.com/v2/batches
  • Auth: HTTP bearer

Query parameters

page_sizeinteger

The maximum number of batches to return. The service may return fewer than this value. If unspecified, at most 50 batches will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

page_tokenstring

A page token, received from a previous ListBatches call. Provide this to retrieve the subsequent page.

order_bystring

Batches can be ordered by creation time or last updated time. Use created_at for creation time or updated_at for last updated time.

Headers

X-Client-Namestring

The name of the project that is making the request.

Response

A successful response.

next_page_tokenstring

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

Changes

No recorded changes to this operation across all 1 revision of this API.