Create Annotation
Path parameters
workspace
Request
This endpoint expects an object.
feedback
Thumbs-up / thumbs-down feedback on a span or session.
OR
label
Categorical or numeric label attached to a span or session.
Use value_type=text for tag-style labels (e.g., regression, needs-review) and
value_type=numeric for scored labels (e.g., a 1-5 helpfulness rating). Numeric labels
must include a name to identify what the score measures.
OR
metadata
Structured key/value metadata attached to a span or session.
OR
note
Free-text note attached to a span or session.
Response
Successful Response
feedback
Thumbs-up / thumbs-down feedback on a span or session.
OR
label
Categorical or numeric label attached to a span or session.
OR
metadata
Structured key/value metadata attached to a span or session.
OR
note
Free-text note attached to a span or session.
Errors
422
Unprocessable Entity Error