cURL
curl --request POST \ --url https://api.promptmetrics.dev/traces/{span_id}/score \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "criteria": "<string>", "value": 0.5 } '
{ "responseData": { "data": {} } }
SDK API key in format: pm_
0 <= x <= 1
Score added
Show child attributes