Skip to main content

Endpoint

Generate vector embeddings for retrieval, semantic search, clustering, and similarity workloads.

Request Body

string
required
Embedding model ID.Examples: qwen/qwen3-embedding-8b, sentence-transformers/all-minilm-l6-v2.
string | array
required
Input text or list of inputs to embed.
string
Embedding encoding format. Common values are float and base64.
integer
Requested output dimensions, when supported by the selected model.
object
Routing constraints for this request. Embedding requests accept the same provider routing block as chat completions, including zdr, aci_verified, and aci_session_ids.Set provider: {"zdr": true} to route only to serving routes that operate under zero data retention. If no route for the selected embedding model satisfies the constraint, the request fails before input text is sent. See Zero Data Retention and Attested Routing.

Examples

Response

Common Models

Use List Embedding Models for the live embedding catalog.