Helicone · Schema

Response

AI GatewaysAI MonitoringGatewaysLLM ObservabilityLLM RoutingPrompt Management

Properties

Name Type Description
contentArray array
detail string
filename string
file_id string
file_data string
idx number
audio_data string
image_url string
timestamp string
tool_call_id string
tool_calls array
text string
type string
name string
role string
id string
_type string
View JSON Schema on GitHub

JSON Schema

helicone-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Response",
  "title": "Response",
  "properties": {
    "contentArray": {
      "items": {
        "$ref": "#/components/schemas/Response"
      },
      "type": "array"
    },
    "detail": {
      "type": "string"
    },
    "filename": {
      "type": "string"
    },
    "file_id": {
      "type": "string"
    },
    "file_data": {
      "type": "string"
    },
    "idx": {
      "type": "number",
      "format": "double"
    },
    "audio_data": {
      "type": "string"
    },
    "image_url": {
      "type": "string"
    },
    "timestamp": {
      "type": "string"
    },
    "tool_call_id": {
      "type": "string"
    },
    "tool_calls": {
      "items": {
        "$ref": "#/components/schemas/FunctionCall"
      },
      "type": "array"
    },
    "text": {
      "type": "string"
    },
    "type": {
      "type": "string",
      "enum": [
        "input_image",
        "input_text",
        "input_file"
      ]
    },
    "name": {
      "type": "string"
    },
    "role": {
      "type": "string",
      "enum": [
        "user",
        "assistant",
        "system",
        "developer"
      ]
    },
    "id": {
      "type": "string"
    },
    "_type": {
      "type": "string",
      "enum": [
        "functionCall",
        "function",
        "image",
        "text",
        "file",
        "contentArray"
      ]
    }
  },
  "required": [
    "type",
    "role",
    "_type"
  ],
  "type": "object"
}