skills/create-message-batch/SKILL.md
# Create Message Batch Submit a batch of up to 10,000 message creation requests for asynchronous background processing. Ideal for high-volume, non-time-sensitive workloads at reduced cost. ## API Details - **API**: Anthropic Message Batches API - **Method**: POST - **Path**: `/messages/batches` - **Operation ID**: `createMessageBatch` - **OpenAPI**: [anthropic-message-batches-api-openapi.yml](../../openapi/anthropic-message-batches-api-openapi.yml) ## Sandbox Mock server URL: `http://localh
npx skillsauth add naftiko/anthropic-sandbox skills/create-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.
Submit a batch of up to 10,000 message creation requests for asynchronous background processing. Ideal for high-volume, non-time-sensitive workloads at reduced cost.
/messages/batchescreateMessageBatchMock server URL: http://localhost:8080/rest/anthropic-message-batches-api/1.0.0/messages/batches
anthropic-version: 2023-06-01x-api-key: {api-key}Content-Type: application/json{
"requests": [
{
"custom_id": "request-001",
"params": {
"model": "claude-sonnet-4-20250514",
"max_tokens": 1024,
"messages": [
{
"role": "user",
"content": "Hello, what is the capital of France?"
}
]
}
}
]
}
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| requests | array | Yes | Array of 1-10,000 message requests |
| requests[].custom_id | string | Yes | Developer-provided unique ID for matching results |
| requests[].params | object | Yes | Message creation parameters |
| requests[].params.model | string | Yes | Claude model to use |
| requests[].params.max_tokens | integer | Yes | Maximum tokens to generate |
| requests[].params.messages | array | Yes | Conversation messages |
curl -X POST "http://localhost:8080/rest/anthropic-message-batches-api/1.0.0/messages/batches" \
-H "anthropic-version: 2023-06-01" \
-H "x-api-key: your-api-key" \
-H "Content-Type: application/json" \
-d '{"requests": [{"custom_id": "req-1", "params": {"model": "claude-sonnet-4-20250514", "max_tokens": 1024, "messages": [{"role": "user", "content": "Hello!"}]}}]}'
{
"id": "msgbatch_013Zva2CMHLNnXjNJJKqJ2EF",
"type": "message_batch",
"processing_status": "in_progress",
"request_counts": {
"processing": 100,
"succeeded": 0,
"errored": 0,
"canceled": 0,
"expired": 0
},
"created_at": "2024-08-20T18:37:24Z",
"expires_at": "2024-08-21T18:37:24Z",
"results_url": null
}
When the user asks to create a message batch or submit bulk messages, use this operation by making a POST request to /messages/batches. Ensure each request in the batch has a unique custom_id for result matching. Batches process within 24 hours.
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