A valid request URL is required to generate request examples{
"file_id": "CortexDoc1234",
"indexing_status": "<indexing_status>",
"error_code": "<error_code>",
"success": true,
"message": "Processing status retrieved successfully"
}{
"detail": {
"success": true,
"message": "Error occurred",
"error_code": "<string>"
}
}{
"detail": {
"success": true,
"message": "Error occurred",
"error_code": "<string>"
}
}{
"detail": {
"success": true,
"message": "Error occurred",
"error_code": "<string>"
}
}{
"detail": {
"success": true,
"message": "Error occurred",
"error_code": "<string>"
}
}{
"detail": {
"success": true,
"message": "Error occurred",
"error_code": "<string>"
}
}{
"detail": {
"success": true,
"message": "Error occurred",
"error_code": "<string>"
}
}{
"detail": {
"success": true,
"message": "Error occurred",
"error_code": "<string>"
}
}Verify Processing
Check the current processing status of your uploaded content.
This endpoint allows you to monitor the progress of documents, text, or other content you’ve uploaded. Simply provide the file ID to see whether processing is complete, still in progress, or if any errors occurred.
Use this to determine when your content is ready for search and retrieval, or to troubleshoot any processing issues.
A valid request URL is required to generate request examples{
"file_id": "CortexDoc1234",
"indexing_status": "<indexing_status>",
"error_code": "<error_code>",
"success": true,
"message": "Processing status retrieved successfully"
}{
"detail": {
"success": true,
"message": "Error occurred",
"error_code": "<string>"
}
}{
"detail": {
"success": true,
"message": "Error occurred",
"error_code": "<string>"
}
}{
"detail": {
"success": true,
"message": "Error occurred",
"error_code": "<string>"
}
}{
"detail": {
"success": true,
"message": "Error occurred",
"error_code": "<string>"
}
}{
"detail": {
"success": true,
"message": "Error occurred",
"error_code": "<string>"
}
}{
"detail": {
"success": true,
"message": "Error occurred",
"error_code": "<string>"
}
}{
"detail": {
"success": true,
"message": "Error occurred",
"error_code": "<string>"
}
}Try it button to try this API now in our playground. It’s the best way to check the full request and response in one place, customize your parameters, and generate ready-to-use code snippets.Examples
- API Request
- TypeScript
- Python (Sync)
curl -X 'POST' \
'https://api.usecortex.ai/ingestion/verify-processing?file_id=file_123' \
-H 'accept: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY'
const status = await client.upload.verifyProcessing({
file_id: "CortexDoc1234",
tenant_id: "tenant_1234",
sub_tenant_id: "sub_tenant_4567"
});
# Async usage is similar, just use async_client and await
status = client.upload.verify_processing(
file_id="CortexDoc1234",
tenant_id="tenant_1234",
sub_tenant_id="sub_tenant_4567"
)
Error Responses
All endpoints return consistent error responses following the standard format. For detailed error information, see our Error Responses documentation.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
The file ID to check processing status for
"CortexDoc1234"
Unique identifier for the tenant/organization
"tenant_1234"
Optional sub-tenant identifier used to organize data within a tenant. If omitted, the default sub-tenant created during tenant setup will be used.
"sub_tenant_4567"
Response
Successful Response
Identifier for the file whose status is being retrieved
"CortexDoc1234"
Current status of the file. Possible values are 'queued', 'processing', 'completed', 'errored', 'graph_creation', 'success'. 'graph_creation' indicates the file is indexed but the knowledge graph is still being created. 'success' is an alias for 'completed'.
queued, processing, completed, errored, graph_creation, success "<indexing_status>"
Error code for the file. You may share this code with us to help us diagnose and resolve the issue.
"<error_code>"
true
Detailed status message about the processing operation