curl -sS "$BMA_BASE_URL/v1/skills/skl_agq7qo75pb6s5gqqjnxy4li4a4" \
-H "x-api-key: $BMA_API_KEY" \
-H "bma-workspace-id: $BMA_PROJECT_ID"{
"type": "skill",
"id": "skl_agq7qo75pb6s5gqqjnxy4li4a4",
"display_name": "PDF tools",
"latest_version_id": "skr_agraiijgy55wfjpqnqpd3czpsa",
"source": {
"type": "custom"
},
"created_at": "2026-11-20T09:14:03.530412Z",
"updated_at": "2026-11-22T16:40:11.231877Z",
"bma_name": "pdf-tools",
"bma_revision": 2,
"bma_description": "Extract text and tables from PDF files with the bundled scripts.",
"bma_owner": {
"kind": "project",
"project_id": "01a0fba0-9400-7c9e-8f41-0d2b7a6c3e18"
},
"bma_skill_md": "---\nname: pdf-tools\ndescription: Extract text and tables from PDF files with the bundled scripts.\n---\n# PDF tools\n\nRun `scripts/extract.py <file.pdf>` to print the text of every page.\nRun `scripts/tables.py <file.pdf>` to export its tables as CSV.\n",
"bma_files": [
{
"path": "SKILL.md",
"size": 248
},
{
"path": "scripts/extract.py",
"size": 2381
},
{
"path": "scripts/tables.py",
"size": 3127
}
]
}{
"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
Retrieves one live skill of the request workspace with the metadata of its latest version, the text of that version’s SKILL.md (bma_skill_md) and its file list (bma_files). Reading has no side effects. A skill that was deleted, belongs to another workspace or organization, or does not exist is the same 404, so the answer never reveals skills outside the request workspace.
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" \
-H "x-api-key: $BMA_API_KEY" \
-H "bma-workspace-id: $BMA_PROJECT_ID"{
"type": "skill",
"id": "skl_agq7qo75pb6s5gqqjnxy4li4a4",
"display_name": "PDF tools",
"latest_version_id": "skr_agraiijgy55wfjpqnqpd3czpsa",
"source": {
"type": "custom"
},
"created_at": "2026-11-20T09:14:03.530412Z",
"updated_at": "2026-11-22T16:40:11.231877Z",
"bma_name": "pdf-tools",
"bma_revision": 2,
"bma_description": "Extract text and tables from PDF files with the bundled scripts.",
"bma_owner": {
"kind": "project",
"project_id": "01a0fba0-9400-7c9e-8f41-0d2b7a6c3e18"
},
"bma_skill_md": "---\nname: pdf-tools\ndescription: Extract text and tables from PDF files with the bundled scripts.\n---\n# PDF tools\n\nRun `scripts/extract.py <file.pdf>` to print the text of every page.\nRun `scripts/tables.py <file.pdf>` to export its tables as CSV.\n",
"bma_files": [
{
"path": "SKILL.md",
"size": 248
},
{
"path": "scripts/extract.py",
"size": 2381
},
{
"path": "scripts/tables.py",
"size": 3127
}
]
}{
"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.
A custom skill of a workspace, shown with the metadata of its latest live version.