OpenAI

OpenAI Attributes (Moved)

OpenAI attributes have moved to the OpenTelemetry GenAI semantic conventions repository.

Attributes:

KeyStabilityValue TypeDescriptionExample Values
openai.api.typeDeprecated
Moved to the OpenTelemetry GenAI semantic conventions repository.
stringThe type of OpenAI API being used.chat_completions; responses
openai.request.service_tierDeprecated
Moved to the OpenTelemetry GenAI semantic conventions repository.
stringThe service tier requested. May be a specific tier, default, or auto.auto; default
openai.response.service_tierDeprecated
Moved to the OpenTelemetry GenAI semantic conventions repository.
stringThe service tier used for the response.scale; default
openai.response.system_fingerprintDeprecated
Moved to the OpenTelemetry GenAI semantic conventions repository.
stringA fingerprint to track any eventual change in the Generative AI environment.fp_44709d6fcb

openai.api.type has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

ValueDescriptionStability
chat_completionsThe OpenAI Chat Completions API.Development
responsesThe OpenAI Responses API.Development

openai.request.service_tier has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

ValueDescriptionStability
autoThe system will utilize scale tier credits until they are exhausted.Development
defaultThe system will utilize the default scale tier.Development