API reference / Batches Extend a batch's deliveries Copy for LLM Copy for LLMThis page as Markdown, ready to paste into an AI tool View as Markdown/docs/api/batches/extend-expiry.md Copy OpenAPI operationThis endpoint's OpenAPI definition, as JSON Open in ClaudeStarts a chat with this page Open in ChatGPTThe same, in ChatGPT For agents: llms.txt · llms-full.txt · openapi.json POST/v1/batches/{id}/extend_expiry Gives the batch's pending deliveries longer to be confirmed: never past a year, nor past their documents' deletion. Path parameters idstringrequired The batch's ID, starting bat_. BodyOptional expires_atstring · date-time add_daysinteger at least 1, at most 365 dry_runboolean Returns200 application/json. How many were extended, and how many stopped short at their limit.Errors have one shape; see Errors for every code.