Arize Phoenix · Schema

SpanAnnotation

Phoenix SpanAnnotation schema

LLM ObservabilityAI EvaluationOpenTelemetryTracingLLMOpsAI MonitoringOpen-SourcePrompt EngineeringDatasetsExperiments

Properties

Name Type Description
id string
created_at string
updated_at string
source string
user_id object
name string The name of the annotation
annotator_kind string The kind of annotator used for the annotation
result object The result of the annotation
metadata object Metadata for the annotation
identifier string The identifier of the annotation. If provided, the annotation will be updated if it already exists.
span_id string OpenTelemetry Span ID (hex format w/o 0x prefix)
View JSON Schema on GitHub

JSON Schema

phoenix-spanannotation.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/phoenix/main/json-schema/phoenix-spanannotation.json",
  "title": "SpanAnnotation",
  "description": "Phoenix SpanAnnotation schema",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "title": "Updated At"
    },
    "source": {
      "type": "string",
      "enum": [
        "API",
        "APP"
      ],
      "title": "Source"
    },
    "user_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "User Id"
    },
    "name": {
      "type": "string",
      "title": "Name",
      "description": "The name of the annotation"
    },
    "annotator_kind": {
      "type": "string",
      "enum": [
        "LLM",
        "CODE",
        "HUMAN"
      ],
      "title": "Annotator Kind",
      "description": "The kind of annotator used for the annotation"
    },
    "result": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/AnnotationResult"
        },
        {
          "type": "null"
        }
      ],
      "description": "The result of the annotation"
    },
    "metadata": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Metadata",
      "description": "Metadata for the annotation"
    },
    "identifier": {
      "type": "string",
      "title": "Identifier",
      "description": "The identifier of the annotation. If provided, the annotation will be updated if it already exists.",
      "default": ""
    },
    "span_id": {
      "type": "string",
      "title": "Span Id",
      "description": "OpenTelemetry Span ID (hex format w/o 0x prefix)"
    }
  },
  "type": "object",
  "required": [
    "id",
    "created_at",
    "updated_at",
    "source",
    "user_id",
    "name",
    "annotator_kind",
    "span_id"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/phoenix-spanannotation"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.