Skip to main content
POST
/
api
/
v1
/
internal
/
escalations
Create Escalation
curl --request POST \
  --url https://api.example.com/api/v1/internal/escalations \
  --header 'Content-Type: application/json' \
  --data '
{
  "proxy_id": "<string>",
  "org_id": "<string>",
  "score": 123,
  "reason": "<string>",
  "messages": [
    {}
  ],
  "system_prompt": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "proxy_id": "<string>",
  "org_id": "<string>",
  "score": 123,
  "reason": "<string>",
  "created_at": "2023-11-07T05:31:56Z"
}

Headers

X-Runtime-Secret
string | null

Body

application/json
proxy_id
string
required
org_id
string
required
score
number
required
reason
string
required
messages
Messages · object[]
required
system_prompt
string | null

Response

Successful Response

id
string<uuid>
required
proxy_id
string
required
org_id
string
required
score
number
required
reason
string
required
created_at
string<date-time>
required