Authorizations
Headers
ID of team to run requests as (optional parameter).
Body
ID of target endpoint. If you want to send request to specific adapter, use the format "YOUR_ENDPOINT_ID:YOUR_ADAPTER_ROUTE". Otherwise, you can just use "YOUR_ENDPOINT_ID" alone.
"(endpoint-id)"
Input text to embed, encoded as a string or array of tokens. To embed multiple inputs in a single request, pass an array of strings or array of token arrays.
"The food was delicious and the waiter..."
Response
Successfully generated embeddings.
A unique ID of the embeddings.
The object type, which is always set to list.
"list"A list of embedding objects.
The Unix timestamp (in seconds) for when the embeddings were created.
The model to generate the embeddings. For dedicated endpoints, it returns the endpoint id.