Microsoft Azure API Management · JSON Structure

Ai Gateway Embedding Response Structure

Type: object Properties: 4
A2AAI GatewayAPI CenterAPI GatewayAPI ManagementEnterpriseMCPMicrosoft Azure

EmbeddingResponse is a JSON Structure definition published by Microsoft Azure API Management, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

object data model usage

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "name": "EmbeddingResponse",
  "type": "object",
  "properties": {
    "object": {
      "type": "string",
      "example": "list"
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "object": {
            "type": "string",
            "example": "embedding"
          },
          "index": {
            "type": "int32",
            "example": 0
          },
          "embedding": {
            "type": "array",
            "items": {
              "type": "float"
            }
          }
        }
      }
    },
    "model": {
      "type": "string",
      "example": "text-embedding-ada-002"
    },
    "usage": {
      "type": "object",
      "properties": {
        "prompt_tokens": {
          "type": "int32",
          "example": 12
        },
        "total_tokens": {
          "type": "int32",
          "example": 12
        }
      }
    }
  }
}