Skip to main content
POST
Create a runtime model preset

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
id
string
required

Stable preset id/slug

description
string

Human-readable description

disabled
boolean

Create in the disabled state

model
string

Model selector

provider
string

Runtime provider id (immutable)

Response

Success — body conforms to the @Returns schema.

action
enum<string>
required
Available options:
create,
set-model,
enable,
disable,
delete
changed
boolean
required
dryRun
boolean
required
preset
object
required