Confidential Embeddings
Create confidential embeddings
This endpoint follows the OpenAI API format for generating vector embeddings from input text, but with confidential processing (through AEAD encryption and TEE hardware). The handler receives pre-processed metadata from middleware and forwards the request to the selected node.
Returns
Ok(Response)
- The embeddings response from the processing nodeErr(AtomaProxyError)
- An error status code if any step fails
Errors
INTERNAL_SERVER_ERROR
- Processing or node communication failures
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
A request for confidential computation that includes encrypted data and associated cryptographic parameters
Response
200
application/json
Confidential embeddings generated successfully
Represents a response from a confidential compute request