OpenLLMetry Semantic Conventions for AI

A vocabulary of span attribute names for GenAI workloads — gen_ai.system, gen_ai.request.model, gen_ai.response.model, gen_ai.usage.input_tokens, gen_ai.usage.output_tokens, llm.prompts, llm.completions, traceloop.workflow.name, traceloop.entity.name, and others. Originated in OpenLLMetry and has been upstreamed into the OpenTelemetry GenAI semantic conventions, giving cross-vendor observability backends a shared schema for LLM telemetry.

OpenLLMetry Semantic Conventions for AI is one of 6 APIs that OpenLLMetry publishes on the APIs.io network.

Tagged areas include Semantic Conventions, OpenTelemetry, and GenAI. The published artifact set on APIs.io includes API documentation, a GitHub repository, and SDKs.

API entry from apis.yml

apis.yml Raw ↑
aid: openllmetry:openllmetry-semantic-conventions-ai
name: OpenLLMetry Semantic Conventions for AI
tags:
- Semantic Conventions
- OpenTelemetry
- GenAI
image: https://kinlane-productions.s3.amazonaws.com/apis-json/apis-json-logo.jpg
humanURL: https://opentelemetry.io/docs/specs/semconv/gen-ai/
properties:
- url: https://opentelemetry.io/docs/specs/semconv/gen-ai/
  type: Documentation
- url: https://github.com/traceloop/openllmetry/tree/main/packages/opentelemetry-semantic-conventions-ai
  type: GitHubRepository
- url: https://pypi.org/project/opentelemetry-semantic-conventions-ai/
  type: SDK
description: A vocabulary of span attribute names for GenAI workloads — gen_ai.system, gen_ai.request.model,
  gen_ai.response.model, gen_ai.usage.input_tokens, gen_ai.usage.output_tokens, llm.prompts, llm.completions,
  traceloop.workflow.name, traceloop.entity.name, and others. Originated in OpenLLMetry and has been upstreamed
  into the OpenTelemetry GenAI semantic conventions, giving cross-vendor observability backends a shared
  schema for LLM telemetry.