Anthropic

Cancel an Anthropic Message Batch

Changed on
post/v1/messages/batches/{id}/cancel

Request

  • Base URL
    https://api.nano-gpt.com/api
  • URL
    https://api.nano-gpt.com/api/v1/messages/batches/{id}/cancel
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Path parameters

idstring required

NanoGPT file or batch object ID.

Response

Canceled Message Batch

idstring required
type'message_batch' required
processing_status'in_progress' | 'canceling' | 'ended' required
created_atstring date-time required
expires_atstring date-time required
ended_atstring nullable required
archived_atstring nullable required
cancel_initiated_atstring nullable required
results_urlstring uri nullable required

Changes