POST
/
upload
/
verify_processing
curl --request POST \
  --url https://api.usecortex.ai/upload/verify_processing \
  --header 'Authorization: Bearer <token>'
{
  "file_id": "123123123123",
  "indexing_status": "success"
}

Checks if a document has been successfully processed.

Response: Returns a JSON object with:

  • file_id (string): The ID of the uploaded file
  • indexing_status (string): One of success, in_progress, or errored

Example:

{
  "file_id": "123123123123",
  "indexing_status": "success"
}

Sample Request

curl --location 'https://api.usecortex.ai/upload/verify_processing?file_id={FILE_ID}' \
  --header 'Authorization: Bearer {API_KEY}' \
  --header 'Content-Type: application/json'

🔐 Headers

  • Authorization: Bearer token
  • Content-Type: application/json

🧾 Parameters

  • file_id (string, required): ID of the uploaded file (query parameter)

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

ID of the uploaded file

Response

200 - application/json

Processing status returned successfully

The response is of type object.

POST
/
upload
/
verify_processing
curl --request POST \
  --url https://api.usecortex.ai/upload/verify_processing \
  --header 'Authorization: Bearer <token>'
{
  "file_id": "123123123123",
  "indexing_status": "success"
}

Checks if a document has been successfully processed.

Response: Returns a JSON object with:

  • file_id (string): The ID of the uploaded file
  • indexing_status (string): One of success, in_progress, or errored

Example:

{
  "file_id": "123123123123",
  "indexing_status": "success"
}

Sample Request

curl --location 'https://api.usecortex.ai/upload/verify_processing?file_id={FILE_ID}' \
  --header 'Authorization: Bearer {API_KEY}' \
  --header 'Content-Type: application/json'

🔐 Headers

  • Authorization: Bearer token
  • Content-Type: application/json

🧾 Parameters

  • file_id (string, required): ID of the uploaded file (query parameter)

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

ID of the uploaded file

Response

200 - application/json

Processing status returned successfully

The response is of type object.