skills/retrieve-message-batch-results/SKILL.md
# Retrieve Message Batch Results Stream the results of a completed Message Batch as a JSONL file. Each line contains the result for a single request, matched via the `custom_id` field. ## API Details - **API**: Anthropic Message Batches API - **Method**: GET - **Path**: `/messages/batches/{message_batch_id}/results` - **Operation ID**: `retrieveMessageBatchResults` - **OpenAPI**: [anthropic-message-batches-api-openapi.yml](../../openapi/anthropic-message-batches-api-openapi.yml) ## Sandbox
npx skillsauth add naftiko/anthropic-sandbox skills/retrieve-message-batch-resultsInstall 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.
Stream the results of a completed Message Batch as a JSONL file. Each line contains the result for a single request, matched via the custom_id field.
/messages/batches/{message_batch_id}/resultsretrieveMessageBatchResultsMock server URL: http://localhost:8080/rest/anthropic-message-batches-api/1.0.0/messages/batches/{message_batch_id}/results
anthropic-version: 2023-06-01x-api-key: {api-key}| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| message_batch_id | string | Yes | Unique identifier of the completed message batch |
Returns application/x-jsonl (newline-delimited JSON). Each line is a JSON object with:
custom_id: matches the ID from the original requestresult.type: succeeded, errored, canceled, or expiredresult.message: (for succeeded) the full message responsecurl -X GET "http://localhost:8080/rest/anthropic-message-batches-api/1.0.0/messages/batches/msgbatch_013Zva2CMHLNnXjNJJKqJ2EF/results" \
-H "anthropic-version: 2023-06-01" \
-H "x-api-key: your-api-key" \
--output results.jsonl
{"custom_id":"request-001","result":{"type":"succeeded","message":{"id":"msg_01FqfsLoHwgeFbguDgpz48m7","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[{"type":"text","text":"The capital of France is Paris."}],"stop_reason":"end_turn","usage":{"input_tokens":15,"output_tokens":8}}}}
{"custom_id":"request-002","result":{"type":"succeeded","message":{"id":"msg_02GrsrtMhxghGfchvEhq59n8","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[{"type":"text","text":"Quantum computing uses quantum bits..."}],"stop_reason":"end_turn","usage":{"input_tokens":12,"output_tokens":35}}}}
When the user asks to get or retrieve results from a message batch, use this operation. Only call this after confirming the batch processing_status is ended via the Retrieve Message Batch operation. Parse each line of the JSONL response as a separate JSON object and match results to original requests using custom_id.
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