Batches

List batches, newest first

Changed on

Returns one page of your organization's batches, newest first, in the OpenAI list envelope. Page with limit (1 to 100, default 20) and after.

Requires the batch.read permission. See Permissions for the roles and API key permissions that include it.

get/v1/batches

Request

  • Base URL
    https://inference.openrelay.inc
  • URL
    https://inference.openrelay.inc/v1/batches
  • Auth
    HTTP bearer

Query parameters

limitinteger

Page size, 1-100 (default 20).

afterstring

A batch id; returns the batches submitted before it, the next page of the newest-first list (use the previous page's last_id).

Response

OK

first_idstring

Id of the first batch on this page.

has_moreboolean required
last_idstring

Id of the last batch on this page; pass it as after to fetch the next page.

object'list' required

Changes

    • info

      added the non-success response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status