Skip to main content
POST
/
projects
/
{project_name}
/
tables
/
{table_id}
/
extract
Synchronous extraction for a file end to end
curl --request POST \
  --url https://api.cloudsquid.io/api/projects/{project_name}/tables/{table_id}/extract \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "document": {
    "mimetype": "application/pdf",
    "filename": "<string>",
    "file_type": "uri",
    "file": "<string>",
    "zero_retention_mode": true
  },
  "pipeline": "cloudsquid-flash"
}
'
{
  "result": {}
}

Authorizations

X-API-Key
string
header
required

Path Parameters

project_name
string
required

The name of the project

table_id
string<uuid>
required

The ID of the table

Body

application/json
document
object
required
pipeline
enum<string>
required
Available options:
cloudsquid-flash,
cloudsquid-flash-v3,
cloudsquid-pro-v2,
cloudsquid-pro-v3

Response

Successfully extracted file

result
object

Object with direct values for each key, allowing single values or arrays of values.