Skip to main content
POST
curl

Authorizations

Authorization
string
header
required

An API key from Workspace settings → API keys, sent as Authorization: Bearer <key>.

Path Parameters

projectId
string
required
promptId
string
required

Body

application/json
text
string
required
Required string length: 1 - 300

Response

OK

prompt_id
string
required
replaces_id
string
required
scope
string
required