curl --request POST \
--url https://api.promptstream.ai/track_outcome \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <x-api-key>' \
--data '
{
"prompt_run_id": "<string>",
"prompt_id": "<string>",
"external_user_id": "<string>",
"event_type": "<string>",
"label": "<string>",
"value": "<string>",
"numeric_value": 123,
"is_success": true,
"source": "<string>",
"metadata": {}
}
'