Skip to main content
POST
List importable provider rule sources

Authorizations

Authorization
string
header
required

Runtime context-key (rctx_*) issued by the Ravi gateway. Required for every non-open scope. Bootstrap the first key with ravi daemon init-admin-key; rotate, derive, and revoke via the ravi context family. Specs: runtime/context-keys, sdk/auth.

Body

application/json
cwd
string

Workspace cwd to inspect (default: current directory)

fields
string

Compact mode: keep only these fields of each source

includeUser
boolean

Also include user-level ~/.claude/rules and ~/.agents/rules

source
string
default:all

Source provider: all, claude, agents

Response

Success — body conforms to the @Returns schema.

counts
object
required
cwd
string
required
includeUser
boolean
required
provider
enum<string>
required
Available options:
all,
claude,
agents
sources
object[]
required