OpenAI Batch

List files from the upstream OpenAI Files API using the authenticated organization key's OpenAI credentials.

get/api/files/

Request

  • Base URL
    https://api.respan.ai
  • URL
    https://api.respan.ai/api/files/
  • Auth
    HTTP bearer

Query parameters

provider_idstring required

Provider route with customer-owned credentials, for example openai or parasail.

Response

List of files.

objectstring

Example response

{
  "object": "list",
  "data": [
    {
      "id": "file-abc123",
      "object": "file",
      "bytes": 12345,
      "created_at": 1710000000,
      "filename": "batch_input.jsonl",
      "purpose": "batch",
      "status": "processed"
    }
  ]
}

Changes

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • info

      api operation id openAiBatch_listFiles removed and replaced with listFiles

    • info

      api tag OpenAI Batch added

    • info

      api tag openAiBatch removed

    • info

      removed subschema #1 subschema #2 from the // response property oneOf list for the response status

    • info

      removed subschema #1 subschema #2 from the / response property oneOf list for the response status

    • info

      removed subschema #1 subschema #2 from the / response property oneOf list for the response status

    • info

      removed subschema #1 subschema #2 from the / response property oneOf list for the response status

    • info

      removed subschema #1 subschema #2 from the / response property oneOf list for the response status

    • breaking

      the response's property type changed from string to object for status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added the non-success response with the status

    • 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

      the response property became required for the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status