cURL
curl --request POST \ --url https://api.promptmetrics.dev/traces/{span_id}/score \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "criteria": "<string>", "value": 0.5 } '
{ "responseData": { "data": {} } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
0 <= x <= 1
Score added
Show child attributes