{"source":"semconv","version":"1.44.0","attribute":{"id":"gen_ai.output.type","type":"enum","enumMembers":[{"id":"text","value":"text","stability":"development","brief":"Plain text"},{"id":"json","value":"json","stability":"development","brief":"JSON object with known or unknown schema"},{"id":"image","value":"image","stability":"development","brief":"Image"},{"id":"speech","value":"speech","stability":"development","brief":"Speech"}],"stability":"development","brief":"Represents the content type requested by the client.","note":"This attribute SHOULD be used when the client requests output of a specific type. The model may return zero or more outputs of this type.\nThis attribute specifies the output modality and not the actual output format. For example, if an image is requested, the actual output could be a URL pointing to an image file.\nAdditional output format details may be recorded in the future in the `gen_ai.output.{type}.*` attributes.","examples":[],"deprecated":{"reason":"uncategorized","note":"Moved to the [OpenTelemetry GenAI semantic conventions repository](https://github.com/open-telemetry/semantic-conventions-genai)."},"namespace":"gen_ai","definedIn":"model/gen-ai/deprecated/registry-deprecated.yaml","usedBy":[{"groupId":"attributes.gen_ai.inference.client","groupType":"attribute_group","requirementLevel":"conditionally_required"},{"groupId":"attributes.gen_ai.inference.openai_based","groupType":"attribute_group","requirementLevel":"conditionally_required"},{"groupId":"attributes.gen_ai.inference.openai_based","groupType":"attribute_group","requirementLevel":"recommended"},{"groupId":"attributes.gen_ai.invoke_agent.client","groupType":"attribute_group","requirementLevel":"conditionally_required"},{"groupId":"attributes.gen_ai.invoke_agent.common","groupType":"attribute_group","requirementLevel":"conditionally_required"},{"groupId":"attributes.gen_ai.invoke_agent.internal","groupType":"attribute_group","requirementLevel":"conditionally_required"},{"groupId":"event.gen_ai.client.inference.operation.details","groupType":"event","signalName":"gen_ai.client.inference.operation.details","requirementLevel":"conditionally_required"},{"groupId":"span.anthropic.inference.client","groupType":"span","requirementLevel":"conditionally_required"},{"groupId":"span.aws.bedrock.client","groupType":"span","requirementLevel":"conditionally_required"},{"groupId":"span.azure.ai.inference.client","groupType":"span","requirementLevel":"conditionally_required"},{"groupId":"span.azure.ai.inference.client","groupType":"span","requirementLevel":"recommended"},{"groupId":"span.gen_ai.inference.client","groupType":"span","requirementLevel":"conditionally_required"},{"groupId":"span.gen_ai.invoke_agent.client","groupType":"span","requirementLevel":"conditionally_required"},{"groupId":"span.gen_ai.invoke_agent.internal","groupType":"span","requirementLevel":"conditionally_required"},{"groupId":"span.openai.inference.client","groupType":"span","requirementLevel":"conditionally_required"},{"groupId":"span.openai.inference.client","groupType":"span","requirementLevel":"recommended"}]},"history":[{"version":"1.31.0","publishedAt":"2025-03-11T00:53:13Z","kind":"first-seen","detail":"Added as development.","severity":"informational"},{"version":"1.42.0","publishedAt":"2026-06-12T21:03:17Z","kind":"deprecated","detail":"Moved to the [OpenTelemetry GenAI semantic conventions repository](https://github.com/open-telemetry/semantic-conventions-genai).","severity":"notable"}],"replaces":[]}