List skills across the organization's spaces
Read-only index of the skills of every space of the organization where the caller holds skills:read: the rows of GET /api/packages/skills, one row per package ACTIVE in at least one of those spaces, in the order of the single-space index (newest first, then by id). space_ids names those spaces (map them to names with GET /api/spaces), the package's home first when it is one of them, then in the order of GET /api/spaces. home_space_id and the home_* flags follow the caller's role in the package's home, as on the single-space index. A caller who reads this type in no space gets an empty list. An unknown query parameter is rejected with 400. A space the caller holds no role in (a closed space not joined, a private space they are not a member of) contributes nothing, and a credential pinned to a space (a space API key, a space-bound MCP token) reaches that space only. No X-Space-Id: the organization is the path's. An end-user is refused with 403.
/api/orgs/{orgId}/packages/skillsCookie session from Better Auth. Requires X-Org-Id header for org-scoped routes.
In: cookie
Path Parameters
Organization ID.
curl -X GET "https://your-instance/api/orgs/string/packages/skills"{
"object": "list",
"hasMore": false,
"data": [
{
"id": "@acme/summarize",
"space_ids": [
"spc_3e6f8a1b-2c4d-4e70-8f92-a1b3c5d7e9f0"
],
"name": "Summarize",
"description": "Summarizes long text into key points",
"icon": "lucide:file-text",
"keywords": [
"summary",
"text"
],
"source": "local",
"version": "1.0.0",
"created_by": "usr_cm3abc123",
"used_by_agents": 2,
"auto_installed": false,
"forked_from": null,
"home_space_id": "spc_3e6f8a1b-2c4d-4e70-8f92-a1b3c5d7e9f0",
"home_writable": true,
"home_deletable": true,
"home_shareable": true,
"createdAt": "2026-01-10T08:00:00Z",
"updatedAt": "2026-01-10T08:00:00Z"
}
]
}{
"type": "https://docs.appstrate.dev/errors/validation-failed",
"title": "Validation Failed",
"status": 400,
"detail": "name: Invalid input: expected string, received undefined (+2 more)",
"code": "validation_failed",
"request_id": "req_abc123",
"errors": [
{
"field": "name",
"code": "required",
"message": "Invalid input: expected string, received undefined"
},
{
"field": "email",
"code": "invalid_format",
"message": "Invalid email address"
},
{
"field": "age",
"code": "invalid_type",
"message": "Invalid input: expected number, received string"
}
]
}{
"type": "https://docs.appstrate.dev/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"detail": "Invalid or missing session",
"code": "unauthorized",
"request_id": "req_abc123"
}{
"type": "https://docs.appstrate.dev/errors/forbidden",
"title": "Forbidden",
"status": 403,
"detail": "Insufficient permissions",
"code": "forbidden",
"request_id": "req_abc123"
}