POST
/
features
/
extractors
/
embed

Headers

Authorization
string | null

Bearer token authentication using your API key. Format: 'Bearer your_api_key'. To get an API key, create an account at mixpeek.com/start and generate a key in your account settings. Example: 'Bearer sk_1234567890abcdef'

Body

application/json
type
enum<string>
required

Type of input to embed

Available options:
url,
text,
file,
base64
vector_index
enum<string>
required

Name of the vector index to use for embedding

Available options:
image,
multimodal,
text,
keyword
value
string | null

The input content to embed. Could be a URL, text content, file path, or base64 encoded string

Response

200 - application/json
embedding
object
required

The embedding of the processed data, either dense or sparse format

elapsed_time
number | null

The time taken to process the data.