v1
latestOpenAPI 3.1.0Apache-2.02026-07-13136499.6 KBConfidential 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 node
- Err(AtomaProxyError) - An error status code if any step fails
Errors
- INTERNAL_SERVER_ERROR - Processing or node communication failures
post/v1/confidential/embeddings
Request body
Response
Confidential embeddings generated successfully
Example response
{
"usage": {
"completion_tokens": 10,
"completion_tokens_details": {
"accepted_prediction_tokens": 10,
"reasoning_tokens": 10
},
"prompt_tokens": 10,
"prompt_tokens_details": {
"cached_tokens": 10
},
"total_tokens": 20
}
}