Create a score record for a span or trace. Scores are used to track quality metrics, evaluation results, and human feedback.
Your AgentMark API key. Create one in the dashboard under Settings > API Keys.
Example: Authorization: Bearer am_live_abc123
Your application ID. Found in the dashboard under Settings > General.
"app_abc123"
ID of the span or trace to score.
"span_abc123"
Numerical score value.
0.95
Label for the score.
"high_quality"
Explanation for the score.
"Response addresses all user requirements clearly."
Name of the score metric.
"quality"
Score type identifier.
"llm_eval"