v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
LLM Observability

Get annotation queue label schema

Retrieve the label schema for a given annotation queue.

get/api/v2/llm-obs/v1/annotation-queues/{queue_id}/label-schema

Path parameters

queue_idstring required

The ID of the LLM Observability annotation queue.

Response

OK

Example response

{
  "data": {
    "attributes": {
      "annotation_schema": {
        "label_schemas": [
          {
            "description": "Rating of the response quality.",
            "id": "abc-123",
            "is_required": true,
            "max": 5,
            "name": "quality",
            "type": "score",
            "values": [
              "good",
              "bad",
              "neutral"
            ]
          }
        ]
      }
    },
    "id": "00000000-0000-0000-0000-000000000001",
    "type": "queues"
  }
}