Merge · Schema

EmbeddingRequestSchema

Request body for POST /v1/embeddings.

IntegrationsPlatformUnified APIAgent HandlerLLM Gateway

Properties

Name Type Description
model string Model ID in format 'provider/model-name'
input object Text to embed
encoding_format stringnull Encoding format for embeddings
user stringnull End-user identifier
View JSON Schema on GitHub

JSON Schema

merge-embeddingrequestschema-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/EmbeddingRequestSchema",
  "title": "EmbeddingRequestSchema",
  "type": "object",
  "properties": {
    "model": {
      "type": "string",
      "description": "Model ID in format 'provider/model-name'"
    },
    "input": {
      "$ref": "#/components/schemas/EmbeddingRequestSchemaInput",
      "description": "Text to embed"
    },
    "encoding_format": {
      "type": [
        "string",
        "null"
      ],
      "description": "Encoding format for embeddings"
    },
    "user": {
      "type": [
        "string",
        "null"
      ],
      "description": "End-user identifier"
    }
  },
  "required": [
    "model",
    "input"
  ],
  "description": "Request body for POST /v1/embeddings."
}