curl -sS "$BMA_BASE_URL/v1/skills/skl_agq7qo75pb6s5gqqjnxy4li4a4/versions/skr_agraiijgy55wfjpqnqpd3czpsa" \
-H "x-api-key: $BMA_API_KEY" \
-H "bma-workspace-id: $BMA_PROJECT_ID"{
"type": "skill_version",
"id": "skr_agraiijgy55wfjpqnqpd3czpsa",
"skill_id": "skl_agq7qo75pb6s5gqqjnxy4li4a4",
"name": "pdf-tools",
"description": "Extract text and tables from PDF files with the bundled scripts.",
"created_at": "2026-11-22T16:40:11.207593Z",
"bma_revision": 2
}{
"type": "error",
"error": {
"type": "invalid_request_error",
"message": "<string>",
"code": "<string>",
"bma_error_code": "<string>"
},
"request_id": "<string>"
}{
"type": "error",
"error": {
"type": "invalid_request_error",
"message": "<string>",
"code": "<string>",
"bma_error_code": "<string>"
},
"request_id": "<string>"
}Retrieve a skill version
Retrieves one live version of a skill of the request workspace, by its skr_ ID or as latest (the live version with the highest bma_revision). Reading has no side effects. A deleted, unknown or malformed version is a 404 without an error.code; a skill that was deleted, belongs to another workspace or does not exist is a 404 not_found.
Authorization: An organization API key (x-api-key: bma_org_v1_...), a personal access token (Authorization: Bearer bma_pat_v1_...), an OAuth access token, or a signed-in user’s dashboard token or session. Any workspace role (admin, developer, operator or viewer) in the request workspace may read; organization owners and admins act as workspace admins in every workspace of their organization. The workspace is the one named by bma-workspace-id (or anthropic-workspace-id), otherwise the credential’s own workspace; a user credential names its organization with bma-organization-id.
Limits:
- No limits specific to this endpoint.
- Rate limit: one request of the organization’s read budget (Rate limits).
Errors (besides the common errors (401 authentication, 429 rate_limited, 500)):
| Status | error.type | error.code | Cause | Fix |
|---|---|---|---|---|
| 400 | invalid_request_error | organization_required | A user credential that is bound to no organization names none. | Correct the request as the message describes and send it again; the same request will keep failing. |
| 400 | invalid_request_error | project_required | The credential can use several workspaces and the request names none. | Name the workspace with the bma-workspace-id header. |
| 400 | invalid_request_error | workspace_id_conflict | bma-workspace-id and anthropic-workspace-id name different workspaces. | Correct the request as the message describes and send it again; the same request will keep failing. |
| 404 | not_found_error | not_found | No live skill with this ID exists in the request workspace (unknown, malformed, deleted, or of another workspace). | Check the ID and the organization or workspace it belongs to; do not retry the same request. |
curl -sS "$BMA_BASE_URL/v1/skills/skl_agq7qo75pb6s5gqqjnxy4li4a4/versions/skr_agraiijgy55wfjpqnqpd3czpsa" \
-H "x-api-key: $BMA_API_KEY" \
-H "bma-workspace-id: $BMA_PROJECT_ID"{
"type": "skill_version",
"id": "skr_agraiijgy55wfjpqnqpd3czpsa",
"skill_id": "skl_agq7qo75pb6s5gqqjnxy4li4a4",
"name": "pdf-tools",
"description": "Extract text and tables from PDF files with the bundled scripts.",
"created_at": "2026-11-22T16:40:11.207593Z",
"bma_revision": 2
}{
"type": "error",
"error": {
"type": "invalid_request_error",
"message": "<string>",
"code": "<string>",
"bma_error_code": "<string>"
},
"request_id": "<string>"
}{
"type": "error",
"error": {
"type": "invalid_request_error",
"message": "<string>",
"code": "<string>",
"bma_error_code": "<string>"
},
"request_id": "<string>"
}Headers
Path Parameters
Response
Success.
An immutable version of a skill, made by one upload.