Fetch a capability descriptor
const url = 'https://example.com/v1/capabilities/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v1/capabilities/example \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”CapabilityId — opaque string identifier (e.g. feature:<feature>).
Responses
Section titled “Responses”Capability descriptor.
object
Stable identifier — e.g. feature:<feature>; deployments MAY pick other conventions for extension entries.
Capability kind (llm-inference, embedding, gpu-compute, sandbox-exec, browser-session, …). Absent = llm-inference.
Optional JSON Schema fragment describing the parameters an agent may attach to { feature, params } in a Requirement.
object
Example
{ "feature": "structured-output"}Missing / malformed / expired / revoked bearer token.
object
object
Stable machine-readable discriminant. Values match domain error codes (see docs/API-ROUTE-CONVENTIONS.md §4.3).
Optional, kind-specific.
object
Server-assigned request id; also echoed via X-Request-Id header.
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": {}, "requestId": "example" }}No capability with that id under this tenant.
object
object
Stable machine-readable discriminant. Values match domain error codes (see docs/API-ROUTE-CONVENTIONS.md §4.3).
Optional, kind-specific.
object
Server-assigned request id; also echoed via X-Request-Id header.
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": {}, "requestId": "example" }}