Skip to main content
GET
Returns a paginated list of agent directives filtered by type family. Directives include skills, MCP servers, docs, network rules, allowlist rules, and hooks. Required scope: context:read

Query Parameters

string
Filter to directives attached to this repository (e.g. owner/repo).
string
default:"skill"
Filter by directive type family. Values: skill, mcp_server, doc, network_rule, allowlist_rule, hook.
integer
default:"20"
Number of results per page (1–100).
string
Opaque cursor from a previous response’s next_page_token.
boolean
default:"false"
When true, each directive includes its full content field.

Headers

string
required
Bearer token. Example: Bearer runtm_xxx
string
Scope to an organization’s directives.

Response

array
Array of directive resources.
string | null
Cursor for the next page, or null if no more results.
integer
Total number of matching directives.