mserve
PricingAPI ReferenceStatusAPI Console
PricingAPI ReferenceStatusAPI ConsoleWelcomeQuickstartPricing
OverviewText to SpeechStreaming InputSpeech to TextCustom VoicesSpeech to SpeechHistory
Real-timeRealtime over WebSocketEmbeddingsBatch
AuthenticationBillingRate LimitsErrorsCompatibility
API Reference
Create chat completion POSTCreate completion POSTCreate embeddings POSTCreate realtime client secret POSTCreate realtime session POSTCreate response POST
Delete file DELETERetrieve batch GETList batches GETFile content GETRetrieve file GETList files GETCancel batch POSTCreate batch POSTUpload file POST
API ReferenceBatch

Cancel batch

View as MarkdownOpen in ChatGPTOpen in Claude
POST
/openai/v1/batches/{batch_id}/cancel

Path Parameters

batch_id*Batch Id

Header Parameters

authorization?Authorization
Default""
xi-api-key?Xi-Api-Key
Default""

Response Body

application/json

application/json

curl -X POST "https://example.com/openai/v1/batches/string/cancel"
null

List files GET

Previous Page

Create batch POST

Next Page