Omixa API Docs

Text Embedding 3 Small

Developer documentation

Text Embedding 3 Small

Text Embedding 3 Small for semantic search, retrieval, ranking, and vector analytics.

Model Reference

Embedding models

Vector generation for semantic search, RAG, retrieval, clustering, ranking, and analytics. Endpoint: https://omixa.cloud/api/v1/embeddings

Text Embedding 3 Small

text-embedding-3-small

Text Embedding 3 Small for semantic search, retrieval, ranking, and vector analytics.

Embedding Context window: 8,191 tokens
Input per 1m tokens $0.022000
Minimum hold $0.010000
Integration reference

Connect Text Embedding 3 Small

Use Omixa's unified endpoint and your workspace API key. Provider routing, billing, failover, and usage records are handled by Omixa.

POST https://omixa.cloud/api/v1/embeddings
  • Provider: azure-openai
  • Endpoint type: azure_openai_v1_embeddings
  • Context window: 8,191 tokens
Request schema

Request fields

Only send options supported by this model. Required fields and accepted values are listed below.

Field يكتب Required Accepted values وصف
model string Yes text-embedding-3-small Use `text-embedding-3-small`. Omixa resolves the active provider route and failover key automatically.
input string|array Yes Any valid value Text or array of texts to embed.
dimensions integer No Any valid value Output vector dimensions for models that support truncation.
encoding_format string No float, base64 OpenAI-compatible embedding encoding.
user string No Any valid value Optional end-user identifier for audit or provider policy forwarding.
Ready to send

Payload and response

Start with this model-safe payload and expect the normalized Omixa response shape shown beside it.

Example JSON payload
{
    "model": "text-embedding-3-small",
    "input": "Customer support knowledge base paragraph.",
    "dimensions": 1024
}
Response shape
{
    "object": "list",
    "data": [
        {
            "object": "embedding",
            "embedding": [
                0.0123,
                -0.0456
            ],
            "index": 0
        }
    ],
    "usage": {
        "prompt_tokens": 12,
        "total_tokens": 12
    }
}
Language examples

Copy-ready integration code

Replace the example API key with a workspace key and keep model-specific fields unchanged unless the table above marks them optional.

curl -X POST https://omixa.cloud/api/v1/embeddings \
  -H "Authorization: Bearer omx_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "text-embedding-3-small",
    "input": "Customer support knowledge base paragraph.",
    "dimensions": 1024
}'
Production checklist

Operational notes

  • Authenticate with `Authorization: Bearer omx_live_xxx`.
  • Omixa handles provider keys, routing, billing, failover, and usage recording behind this endpoint.
Copied Markdown