REST API methods for interacting with Phoenix spans
Last updated 23 hours ago
Was this helpful?
If true, fulfill request synchronously.
false
POST /v1/span_annotations HTTP/1.1 Host: Content-Type: application/json Accept: */* Content-Length: 173 { "data": [ { "span_id": "text", "name": "text", "annotator_kind": "LLM", "result": { "label": "text", "score": 1, "explanation": "text" }, "metadata": { "ANY_ADDITIONAL_PROPERTY": "anything" } } ] }
Span annotations inserted successfully
{ "data": [ { "id": "text" } ] }