skills/cancel-message-batch/SKILL.md
# Cancel Message Batch Initiate cancellation of a Message Batch that is currently being processed. The batch enters a `canceling` state and any in-progress, non-interruptible requests may still complete. ## API Details - **API**: Anthropic Message Batches API - **Method**: POST - **Path**: `/messages/batches/{message_batch_id}/cancel` - **Operation ID**: `cancelMessageBatch` - **OpenAPI**: [anthropic-message-batches-api-openapi.yml](../../openapi/anthropic-message-batches-api-openapi.yml) ##
npx skillsauth add naftiko/anthropic-sandbox skills/cancel-message-batchInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Initiate cancellation of a Message Batch that is currently being processed. The batch enters a canceling state and any in-progress, non-interruptible requests may still complete.
/messages/batches/{message_batch_id}/cancelcancelMessageBatchMock server URL: http://localhost:8080/rest/anthropic-message-batches-api/1.0.0/messages/batches/{message_batch_id}/cancel
anthropic-version: 2023-06-01x-api-key: {api-key}| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| message_batch_id | string | Yes | Unique identifier of the message batch to cancel |
curl -X POST "http://localhost:8080/rest/anthropic-message-batches-api/1.0.0/messages/batches/msgbatch_013Zva2CMHLNnXjNJJKqJ2EF/cancel" \
-H "anthropic-version: 2023-06-01" \
-H "x-api-key: your-api-key"
{
"id": "msgbatch_013Zva2CMHLNnXjNJJKqJ2EF",
"type": "message_batch",
"processing_status": "canceling",
"request_counts": {
"processing": 50,
"succeeded": 40,
"errored": 5,
"canceled": 5,
"expired": 0
},
"created_at": "2024-08-20T18:37:24Z",
"cancel_initiated_at": "2024-08-20T19:00:00Z"
}
When the user asks to cancel or stop a message batch, use this operation by making a POST request to /messages/batches/{message_batch_id}/cancel. Note that cancellation is not immediate — the batch enters canceling status and some requests may still complete.
development
# Update Workspace Update the name or display color of an existing workspace. ## API Details - **API**: Anthropic Administrative API - **Method**: POST - **Path**: `/organizations/workspaces/{workspace_id}` - **Operation ID**: `updateWorkspace` - **OpenAPI**: [anthropic-admin-api-openapi.yml](../../openapi/anthropic-admin-api-openapi.yml) ## Sandbox Mock server URL: `http://localhost:8080/rest/anthropic-admin-api/1.0.0/organizations/workspaces/{workspace_id}` ## Required Headers - `anthro
development
# Update Workspace Member Update the workspace role of a specific member within a workspace. ## API Details - **API**: Anthropic Administrative API - **Method**: POST - **Path**: `/organizations/workspaces/{workspace_id}/members/{user_id}` - **Operation ID**: `updateWorkspaceMember` - **OpenAPI**: [anthropic-admin-api-openapi.yml](../../openapi/anthropic-admin-api-openapi.yml) ## Sandbox Mock server URL: `http://localhost:8080/rest/anthropic-admin-api/1.0.0/organizations/workspaces/{workspa
development
# Update Organization Member Update the role or other attributes of a specific user within the organization. ## API Details - **API**: Anthropic Administrative API - **Method**: POST - **Path**: `/organizations/users/{user_id}` - **Operation ID**: `updateOrganizationMember` - **OpenAPI**: [anthropic-admin-api-openapi.yml](../../openapi/anthropic-admin-api-openapi.yml) ## Sandbox Mock server URL: `http://localhost:8080/rest/anthropic-admin-api/1.0.0/organizations/users/{user_id}` ## Require
development
# Update API Key Update the name or status of an existing API key. Can be used to activate or deactivate a key. ## API Details - **API**: Anthropic Administrative API - **Method**: POST - **Path**: `/organizations/api_keys/{api_key_id}` - **Operation ID**: `updateApiKey` - **OpenAPI**: [anthropic-admin-api-openapi.yml](../../openapi/anthropic-admin-api-openapi.yml) ## Sandbox Mock server URL: `http://localhost:8080/rest/anthropic-admin-api/1.0.0/organizations/api_keys/{api_key_id}` ## Requ