Scores API
You can submit scores and annotations to Latitude programmatically, enabling custom quality signals from your own code, user feedback systems, or external evaluation pipelines.Custom Scores
Submit custom scores through the scores endpoint:
Scores submitted through this endpoint are automatically categorized as custom scores.
Example
Use Cases
- User satisfaction ratings: Convert thumbs up/down or star ratings into scores
- Task completion metrics: Track whether the agent’s output led to a successful outcome
- Business KPIs: Conversion rates, resolution rates, or other downstream metrics
- External validation: Results from your own evaluation pipeline or third-party tools
Annotations API
Submit human annotations through the dedicated annotations endpoint:How Scores Feed the System
Once submitted, custom scores and annotations flow through the same reliability pipeline as internally generated scores:- Signal discovery: Failed scores automatically enter the discovery pipeline, where Latitude clusters similar failures into signals
- Analytics: Finalized scores appear in time-series dashboards
- Alignment: Annotation scores are compared against evaluation scores for the same traces to compute alignment metrics
Next Steps
- Scores Overview: How the score model works
- Annotations: How the annotation workflow works
- Signals: How failed scores become trackable signals