Hubris · Schema

EmbeddingsRequest

Artificial IntelligenceGatewaysModelsOpenAI-CompatibleRussian

Properties

Name Type Description
model string ID embedding-модели — например, `openai/text-embedding-3-small`. Полный список: GET /v1/models, отфильтруйте по `output_modalities` содержащему `embeddings`.
input object Что превратить в вектор. Принимает: одну строку, массив строк (батч), массив токен-ID, массив массивов токен-ID или массив объектов `{content: [...]}` с частями `text` и `image_url` — для моделей с из
encoding_format string `float` (по умолчанию) — массив чисел в `embedding`. `base64` — base64-строка.
dimensions integer Уменьшенная размерность вектора. Поддерживается только моделями `text-embedding-3-*`.
user string Опциональный идентификатор конечного пользователя (для логов абьюза провайдера).
View JSON Schema on GitHub

JSON Schema

hubris-pw-embeddings-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hubris-pw/json-schema/hubris-pw-embeddings-request-schema.json",
  "title": "EmbeddingsRequest",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hubris-pw-openapi.json#/components/schemas/EmbeddingsRequest",
  "type": "object",
  "properties": {
    "model": {
      "type": "string",
      "minLength": 1,
      "description": "ID embedding-модели — например, `openai/text-embedding-3-small`. Полный список: GET /v1/models, отфильтруйте по `output_modalities` содержащему `embeddings`."
    },
    "input": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        {
          "type": "array",
          "items": {
            "type": "integer"
          }
        },
        {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          }
        },
        {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "content": {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "text"
                          ]
                        },
                        "text": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "type",
                        "text"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "image_url"
                          ]
                        },
                        "image_url": {
                          "type": "object",
                          "properties": {
                            "url": {
                              "type": "string",
                              "minLength": 1
                            }
                          },
                          "required": [
                            "url"
                          ]
                        }
                      },
                      "required": [
                        "type",
                        "image_url"
                      ]
                    }
                  ]
                },
                "minItems": 1
              }
            },
            "required": [
              "content"
            ]
          }
        }
      ],
      "description": "Что превратить в вектор. Принимает: одну строку, массив строк (батч), массив токен-ID, массив массивов токен-ID или массив объектов `{content: [...]}` с частями `text` и `image_url` — для моделей с изображениями на входе (`input_modalities` содержит `image`). Максимум 2048 элементов в батче."
    },
    "encoding_format": {
      "type": "string",
      "enum": [
        "float",
        "base64"
      ],
      "description": "`float` (по умолчанию) — массив чисел в `embedding`. `base64` — base64-строка."
    },
    "dimensions": {
      "type": "integer",
      "minimum": 0,
      "exclusiveMinimum": true,
      "description": "Уменьшенная размерность вектора. Поддерживается только моделями `text-embedding-3-*`."
    },
    "user": {
      "type": "string",
      "description": "Опциональный идентификатор конечного пользователя (для логов абьюза провайдера)."
    }
  },
  "required": [
    "model",
    "input"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/hubris-pw-embeddings-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.