Span Assessments
SpanAssessmentsResource
Methods
Create new assessment for a span (comment, rating, approval, rubric, overwrite, or metadata)
Get an assessment by ID
Unique identifier for the assessment
Type of assessment
User who submitted the assessment
The span this assessment is attached to
The trace this assessment is attached to
Account this assessment belongs to
Approval status (approved/rejected)
Raw text feedback
When this assessment was created
Arbitrary JSON object for additional data
User corrections to span output
Numerical rating (1-5)
Rule key-value pairs for rubric evaluation
When this assessment was last updated
Get all assessments for a specific span or trace, optionally filtered by assessment type
Update existing assessment (only by the original creator)
Delete assessment
Domain types
Status options for approval assessments
Types of assessments that can be provided
Response model for span assessment