For the complete documentation index, see llms.txt. This page is also available as Markdown.

Extract Document With Updated Auto Classification Result

Endpoint Name: URL/access/klearstack/proceedtoextractionwithautoclassifyresult

Request type : POST

Authorization: Bearer token as header

Endpoint Details: The proceedtoextractionwithautoclassifyresult endpoint will be used to process the document again with the updated auto classification results

Method

URL

POST

URL/access/klearstack/proceedtoextractionwithautoclassifyresult

Request Body

Params

Values

Required

Description

company_name

string

Yes

Name of the company for which the user is logging in

batch_id

string

Yes

Batch id received from 'autoclassify' api response

Shell (cURL)

  • Request Body

curl --location "URL/access/klearstack/proceedtoextractionwithautoclassifyresult" \
  --header "Authorization: Bearer your_token_here" \
  --form "company_name=Replace_Company_Name_Here" \
  --form "batch_id=Replace_batch_id_Here" \

Python

  • Request Body

Java (OkHttp)

  • Request Body

Node.js (Axios)

  • Request Body

JavaScript (XHR)

  • Request Body

API Response

Status code

Example Response

200

{'status': 'success', 'description': 'File uploaded for extraction','OCR_ref_no': batch_id}

400

{'status': 'fail', 'description': 'No existing classification result found for the provided batch_id'}

500

{'error': error}

Last updated