curl -sS "$BMA_BASE_URL/v1/skills?limit=20&source=custom&owner_kind=project" \
-H "x-api-key: $BMA_API_KEY" \
-H "bma-workspace-id: $BMA_PROJECT_ID"{
"data": [
{
"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"
}
},
{
"type": "skill",
"id": "skl_agq64uwjiz2mbmpjfvnh6peoiy",
"display_name": "release-notes",
"latest_version_id": "skr_agq64uwjkz7alkguhmxzy3q2oa",
"source": {
"type": "custom"
},
"created_at": "2026-11-18T11:02:45.334208Z",
"updated_at": "2026-11-18T11:02:45.334208Z",
"bma_name": "release-notes",
"bma_revision": 1,
"bma_description": "Draft release notes from merged pull requests and the changelog.",
"bma_owner": {
"kind": "project",
"project_id": "01a0fba0-9400-7c9e-8f41-0d2b7a6c3e18"
}
}
],
"next_page": null
}{
"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>"
}List skills
Lists the live skills of the request workspace, newest first (by creation time, then ID), each with the metadata of its latest version. List items omit bma_skill_md and bma_files; retrieve a skill for them. Pagination is cursor based: limit defaults to 100 and is at most 100, and a non-null next_page is sent back as page for the following page (null on the last page). The order cannot be changed, and order, include_archived and created_at[...] are ignored. Only skills of the request workspace are listed: deleted skills and skills of other workspaces never appear. BMA hosts only custom skills, so a source other than custom answers an empty page.
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 list; 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:
limit: 1-100, default 100. Alimitof 0, a negative number or a non-integer is a 400 without anerror.code; one above 100 is 400validation_failed.page: only anext_pagevalue of this list is accepted.- 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 | invalid_owner_kind | owner_kind is not org, project or user. | Send org, project or user, or leave the filter out. |
| 400 | invalid_request_error | invalid_owner_project_id | owner_project_id is not a workspace ID. | Send a proj_ ID, or leave the filter out. |
| 400 | invalid_request_error | invalid_page | page is a cursor of another list, not of the skills list. | Send page exactly as the previous answer’s next_page, or omit it to start over. |
| 400 | invalid_request_error | invalid_request | page is not a cursor this API issued. | Send page exactly as the previous answer’s next_page, or omit it to start over. |
| 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 | validation_failed | limit is above 100. | Send a limit from 1 to 100 and page with next_page. |
| 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. |
curl -sS "$BMA_BASE_URL/v1/skills?limit=20&source=custom&owner_kind=project" \
-H "x-api-key: $BMA_API_KEY" \
-H "bma-workspace-id: $BMA_PROJECT_ID"{
"data": [
{
"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"
}
},
{
"type": "skill",
"id": "skl_agq64uwjiz2mbmpjfvnh6peoiy",
"display_name": "release-notes",
"latest_version_id": "skr_agq64uwjkz7alkguhmxzy3q2oa",
"source": {
"type": "custom"
},
"created_at": "2026-11-18T11:02:45.334208Z",
"updated_at": "2026-11-18T11:02:45.334208Z",
"bma_name": "release-notes",
"bma_revision": 1,
"bma_description": "Draft release notes from merged pull requests and the changelog.",
"bma_owner": {
"kind": "project",
"project_id": "01a0fba0-9400-7c9e-8f41-0d2b7a6c3e18"
}
}
],
"next_page": null
}{
"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>"
}