Endpoint
The API provides an endpoint to generate embedding vectors for input text.Request
For SambaStack, developers should check with their system administrator for the correct URL.
Request body parameters
This API ensures efficient embedding generation, supporting multiple input formats while enforcing model constraints.
Example request
The following example demonstrates how to send a request to the SambaCloud Embeddings API using curl.CURL request
CURL request
Example response
Example response
Response properties
The API response consists of the following properties:Embedding object
Error handling
See API error codes page for more information.Example error response
Example error response
