curl --location --request POST 'https://docextract.in/misc/extract' \
--header 'authorization: Api-Key sk_123456789abcdefgh9876543210mnopqrstuvwxyz012345' \
--form 'files=@""' \
--form 'document_type=""' \
--form 'passwords=""' \
--form 'extraction_schema=""' \
--form 'language="en"' \
--form 'max_pages="10"' \
--form 'enable_formula="true"' \
--form 'enable_table="true"' \
--form 'force_ocr="false"'{
"status": "success",
"user_id": "user_123",
"tier": "premium",
"file": "string",
"extracted_data": {
"property1": "string",
"property2": "string"
},
"schema_json": {
"property1": "string",
"property2": "string"
},
"tables": [
[
{
"property1": "string",
"property2": "string"
}
]
],
"results": [
{
"file": "doc.pdf",
"extracted_data": {
"property1": "string",
"property2": "string"
},
"schema_json": {
"property1": "string",
"property2": "string"
},
"tables": [
[
{
"property1": "string",
"property2": "string"
}
]
],
"storage": {
"pdf_url": "string",
"metadata_url": "string",
"tables_url": "string",
"complete_url": "string"
}
}
],
"storage": {
"pdf_url": "string",
"metadata_url": "string",
"tables_url": "string",
"complete_url": "string"
},
"credits": {
"deducted": 1,
"remaining": 99
},
"message": "Document stored in Google Cloud Storage"
}