Files Encrypted
Report file indexing result
Changed onThe Prem API Enclave sends file index results to this callback on the public Prem API Gateway. The callback updates the file's RAG status. The gateway checks the X-Enclave-Secret header before it accepts a result. To begin a file index job, use POST /files/encrypted/index. To read the file status, use GET /files/encrypted/{id}.
post/files/encrypted/index-result
Request
- Base URLhttps://gateway.prem.io
- AuthAPI key in header X-Enclave-Secret
Request body
Example request
{
"file_id": "file_0198042e-6dde-7b9c-bc91-452a7e0c833b",
"rag_status": "success"
}Response
RAG status updated successfully
Example response
{
"data": {
"file_id": "file_0198042e-6dde-7b9c-bc91-452a7e0c833b",
"rag_status": "success",
"message": "RAG status updated successfully"
}
}Changes
- info
endpoint added
- info