Delete index of multiple encrypted files from Retrieval-Augmented Generation (RAG) by forwarding request details to the enclave
Send your access token as header Authorization: Bearer {accessToken}
Your API key that starts with sk_live or sk_test. You can create yours at go.prem.io/api-keys.
Request body for deleting index of encrypted files from RAG
Cipher text for encryption context
"cipher_text_data"
Encrypted RAG data encryption key
"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
Nonce used for RAG DEK encryption
"0123456789abcdef0123456789abcdef"
Array of file IDs to delete from index
1File ID
File indexes deleted successfully
Response containing the file index deletion status
Status code of the response
200, 201, 202 Response data containing the requested object
Message of the response, human readable
"Resource created successfully"
API environment
development, production Error message of the response, human readable
"Invalid email address"
Useful informaiton, not always present, to debug the response
{ "request_id": "req_1234567890" }"Some pertinent log message"
Validator response object, each key is the field name and value is the error message
{
"email": "Invalid email address",
"password": "Password is required"
}Support ID linked to the response, used to identify it when talking with our team
"support_uuidv7-something-else"