Skip to main content
POST
/
upload
/
verify_processing
Verifying Processing
curl --request POST \
  --url https://api.usecortex.ai/upload/verify_processing \
  --header 'Authorization: Bearer <token>'
{
  "file_id": "CortexDoc1234",
  "indexing_status": "<indexing_status>",
  "success": true,
  "message": "Processing status retrieved successfully"
}
Hit the 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.

Sample Request

curl --request POST \
  --url 'https://api.usecortex.ai/upload/verify_processing?file_id=CortexDoc1234&tenant_id=tenant_1234' \
  --header 'Authorization: Bearer YOUR_API_KEY'

Error Responses

All endpoints return consistent error responses following the standard format. For detailed error information, see our Error Responses documentation.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

file_id
string
required

The file ID to check processing status for

Example:

"CortexDoc1234"

tenant_id
string
default:""

Unique identifier for the tenant/organization

Example:

"tenant_1234"

sub_tenant_id
string | null

Optional sub-tenant identifier used to organize data within a tenant. If omitted, the default sub-tenant created during tenant setup will be used.

Example:

"sub_tenant_4567"

Response

Successful Response

file_id
string
required

Identifier for the file whose status is being retrieved

Example:

"CortexDoc1234"

indexing_status
string
required

Current status of the file. Possible values are 'queued', 'processing', 'completed', 'failed'

Example:

"<indexing_status>"

success
boolean
default:true
Example:

true

message
string
default:Processing status retrieved successfully

Detailed status message about the processing operation

I