Skip to main content
POST
/
v1
/
playground
/
run
Start playground run
curl --request POST \
  --url https://api.usenaive.ai/v1/playground/run \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "<string>"
}
'
{
  "run_id": "<string>",
  "session_id": "<string>"
}

Authorizations

Authorization
string
header
required

Workspace API key. Create one via the dashboard or POST /v1/auth/keys.

Body

application/json
prompt
string
required

Response

OK.

run_id
string
session_id
string