Return the runtime-supported capability registry.
By default returns runtime_supported && status == "GA";
capabilities entitled to the request's org_id are unioned in
regardless of status. ?include_all=true returns every
registered capability (for the docs page).
The response shape includes runtime_supported, status,
cost_class, and the requires_* flags so the portal can
decide what to show in the Sections editor vs the docs page, plus
a top-level entitlements list when org_id resolves any
override rows.
Query parameters
-
Optional org id. When set, the response applies any capability_entitlements Beta overrides for that org and unions promoted Beta capabilities into the list.
-
Skip the runtime_supported && status==GA filter and return every registered capability. Used by the docs page to render the full roadmap, including 'coming soon'.
Default value is
false.
curl \
--request GET 'http://api.example.com/v1/admin/capabilities' \
--header "Authorization: Bearer $ACCESS_TOKEN"
{
"capabilities": [
{
"type": "string",
"description": "string",
"runtime_supported": true,
"stateful": true,
"view_kind": "product_grid",
"status": "GA",
"cost_class": "low",
"requires_catalog": true,
"requires_cart": true,
"requires_uploads": true,
"context_type": "cart",
"supported_layouts": [
"string"
],
"default_layout": "string",
"sponsored_ranking_surface": "primary",
"input_schema": {}
}
],
"entitlements": [
{
"capability_type": "string",
"status_override": "GA",
"granted_at": "string"
}
]
}
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"ctx": {}
}
]
}