Skip to main content
GET
Returns the label keys and values in use across the org’s directives, with counts. Use it to discover what labels exist before filtering a list by one. The same scope filters as List Directives apply. Required scope: context:read

Query Parameters

string
default:"skill"
skill, mcp, doc, network, allowlist, or hook.
string
Scope to directives attached to one repo.
string
Scope to directives attached to one template.
string[]
Pre-filter by label, repeated as ?labels=key:value.

Response

array
{key, values: [{value, count}]} per label key.