Skip to main content
POST
/
enterprise-api
/
recreate
/
Create Recreate
curl --request POST \
  --url https://prism-api.prosights.co/enterprise-api/recreate/ \
  --header 'Content-Type: multipart/form-data' \
  --header 'X-Prosights-Api-Key: <api-key>' \
  --form 'selected_pages=<string>' \
  --form is_xls_process_charts_enabled=false \
  --form is_xls_process_tables_enabled=true \
  --form is_ppt_process_enabled=false \
  --form table_clustering_mode=page \
  --form file=@example-file
{
  "status": "SUCCESS",
  "data": {}
}

Authorizations

X-Prosights-Api-Key
string
header
required

Body

multipart/form-data
file
file
required

Raw file bytes. Must be PDF or image based file.

selected_pages
string
required

One - indexed comma separated variable of page numbers or ranges. e.g. 1-11,12,14,15

is_xls_process_charts_enabled
enum<string>
default:false

Set this to 'true' to turn on chart processing.

Available options:
true,
false
is_xls_process_tables_enabled
enum<string>
default:true

Set this to 'true' to turn on table processing.

Available options:
true,
false
is_ppt_process_enabled
enum<string>
default:false

Set this to 'true' to turn on PPT processing.

Available options:
true,
false
table_clustering_mode
enum<string> | null
default:page

Controls how table clustering is handled. In page mode the engine detects for distinct tables on a page basis. In document mode the engine detects for distinct tables on a document basis (i.e. a table that spans multiple pages will be returned as one table).

Available options:
page,
document

Response

Successful Response

Model for the response of the enterprise API.

status
enum<string>
required
Available options:
SUCCESS,
ERROR
data
object | null
I