Delete batch
Hide the batch from your list. It does not cancel the batch, and its charges stay in your usage.
ApiKeyAuthAuthorization<token>batch_id*stringThe id of a batch.
Deleted
curl -X DELETE 'https://api.ohmygpt.com/v1/batches/string'Still stuck? Live chat · [email protected] · Telegram group
Create batch POST
Run the requests in an uploaded file asynchronously at the model's batch price, within 24 hours. Every line must use the same model. Creating the batch checks each line, then reserves the most the batch can cost from the balance. When the batch finishes it is charged once, for the requests that completed. Failed and cancelled requests are not charged. Without `Idempotency-Key`, each request creates a new batch, which is how the official OpenAI SDK calls it.
List batches GET
Your batches, newest first. Requires an admin API key or the console session. Other keys get 403 and can still retrieve a batch by its ID.