Skip to main content
POST
Import the Grok auth profile after the human authorizes

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
agents
string

Comma-separated agent allowlist (default: main)

id
string

Login id from start

label
string

Credential label (default: grok-auth-profile)

setProvider
boolean

Also run agents.set provider grok

Response

Success — body conforms to the @Returns schema.

agents
object[]
required
credential
object
required
credentialCreated
boolean
required
login
object
required