Get a declarative resource.
GET /v1/capabilities/declarative/{capability_id}
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Public declarative capability resource ID, e.g. cap_01933b5a000070008000000000000001
Responses
Section titled “ Responses ”Declarative capability resource
Wrapper that adds API and UI links to a serialized resource.
Uses self_url (not url) for the API link to avoid collision with
resources that already have a url field (e.g. McpServer).
object
Runtime capability reference. Agents and harnesses may use this or the plain unique name.
Example
declarative:research_packDeclarative capability payload: system prompt, skills, starter files, MCP servers, and metadata.
object
Short summary shown in pickers, search results, and API listings.
Example
Adds research instructions, starter files, and MCP tools.Human-facing label shown in the UI. Defaults to name when omitted.
Example
Research PackPublic resource ID for this persisted declarative capability.
Example
cap_01933b5a000070008000000000000001Stable unique name used in capability refs. Lowercase letters, numbers, and underscores.
Example
research_packLifecycle state for the resource: active, disabled, archived, or deleted.
Example
activeFull API endpoint URL for this resource.
Alias for view_url, used by command and MCP outputs.
Full UI URL for viewing this resource.
Declarative capability not found
Standard error response for API endpoints.
object
Error message describing what went wrong.