Convert text into numerical vectors for semantic search, similarity, and more
Parameter | Type | Required | Description |
---|---|---|---|
model | string | Yes | The embedding model to use. See available models |
input | string or array | Yes | Text(s) to embed. Can be a string or array of strings |
encoding_format | string | No | Format for the embeddings. Options: float (default) or base64 |
metadata | object | No | Custom metadata for tracking and webhooks |
/v1/async
base URL and include a webhook ID in your request metadata: