---
title: "Changes to Create Openai Batch"
method: POST
path: "/v1/batches"
---

# Changes to Create Openai Batch

`POST /v1/batches`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 49 revisions.

- **2026-10-21** `3cdfc05fe22f`: 1 info
- **2026-07-13** `610da191cbe7`: 1 breaking, 13 info

## Changes

- **2026-10-21** `3cdfc05fe22f`: 1 info
  - added the optional property `usage/anyOf[subschema #1: BatchUsage]/input_tokens_details/image_tokens` to the response with the `200` status
- **2026-07-13** `610da191cbe7`: 1 breaking, 13 info
  - the response property `object` became optional for the status `200`
  - api tag `Files & Batches` added
  - added the new optional `header` request parameter `x-api-key`
  - added the new optional request property `output_expires_after`
  - the request property `metadata` became optional
  - added the new `/v1/embeddings` enum value to the request property `endpoint`
  - added the optional property `model` to the response with the `200` status
  - added the optional property `usage` to the response with the `200` status
  - added `#/components/schemas/BatchErrors` to the `errors` response property `anyOf` list for the response status `200`
  - added `#/components/schemas/BatchRequestCounts` to the `request_counts` response property `anyOf` list for the response status `200`
  - removed `subschema #1` from the `errors` response property `anyOf` list for the response status `200`
  - removed `subschema #1` from the `request_counts` response property `anyOf` list for the response status `200`
  - the `object` response property const value `batch` was added for the status `200`
  - the `object` response's property default value `batch` was added for the status `200`

---

[Operation](https://skmtc.dev/deepinfra/apis/deepinfra-api/docs/v1/batches/post.md) · [API](https://skmtc.dev/deepinfra/apis/deepinfra-api.md) · [Page](https://skmtc.dev/deepinfra/apis/deepinfra-api/changes/v1/batches/post)
