Skip to main content
POST
Migrate agent workspaces to AGENTS.md as the canonical file

Authorizations

Authorization
string
header
required

Runtime context-key (rctx_*) issued by the Ravi gateway. Used by ordinary gateway operations; not accepted by Console-only operations. 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
agent
string

Sync only one agent

materializeMissing
boolean

Create a default AGENTS.md stub when both instruction files are missing

Response

Success — body conforms to the @Returns schema.

alreadyCanonical
number
required
incomplete
number
required
manualReview
number
required
migrated
number
required
missing
number
required
results
object[]
required
total
number
required
{key}
any