Helicone · Schema

ChatCompletionAudio

If the audio output modality is requested, this object contains data about the audio response from the model. [Learn more](https://platform.openai.com/docs/guides/audio).

AI GatewaysAI MonitoringGatewaysLLM ObservabilityLLM RoutingPrompt Management

Properties

Name Type Description
id string Unique identifier for this audio response.
data string Base64 encoded audio bytes generated by the model, in the format specified in the request.
expires_at number The Unix timestamp (in seconds) for when this audio response will no longer be accessible on the server for use in multi-turn conversations.
transcript string Transcript of the audio generated by the model.
View JSON Schema on GitHub

JSON Schema

helicone-chatcompletionaudio-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ChatCompletionAudio",
  "title": "ChatCompletionAudio",
  "description": "If the audio output modality is requested, this object contains data about the\naudio response from the model.\n[Learn more](https://platform.openai.com/docs/guides/audio).",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for this audio response."
    },
    "data": {
      "type": "string",
      "description": "Base64 encoded audio bytes generated by the model, in the format specified in\nthe request."
    },
    "expires_at": {
      "type": "number",
      "format": "double",
      "description": "The Unix timestamp (in seconds) for when this audio response will no longer be\naccessible on the server for use in multi-turn conversations."
    },
    "transcript": {
      "type": "string",
      "description": "Transcript of the audio generated by the model."
    }
  },
  "required": [
    "id",
    "data",
    "expires_at",
    "transcript"
  ],
  "type": "object",
  "additionalProperties": false
}