Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Management API authentication for /api/* endpoints. Use the Authorization header with Bearer <API key>. Virtual keys, dashboard/user/session tokens, and x-api-key headers are not supported on management APIs.

Path Parameters

id
string
required

Prompt ID

Body

application/json
name
string
required
model_params
object
required
provider
string
required
model
string
required
version_id
integer

Fork from this version

messages
object[]

Response

Session created

session
object

Prompt playground session