POST
/
api
/
scenario-events
curl --request POST \
  --url https://app.langwatch.ai/api/scenario-events \
  --header 'Content-Type: application/json' \
  --header 'X-Auth-Token: <api-key>' \
  --data '{
  "type": "<string>",
  "timestamp": 123,
  "rawEvent": "<any>",
  "batchRunId": "<string>",
  "scenarioId": "<string>",
  "scenarioRunId": "<string>",
  "scenarioSetId": "default",
  "metadata": {
    "name": "<string>",
    "description": "<string>"
  }
}'
{
  "success": true,
  "url": "<string>"
}

Authorizations

X-Auth-Token
string
header
required

Body

application/json

Response

201
application/json

Event created successfully

The response is of type object.