POST
/
batch_extract_async
curl --request POST \
  --url https://api.runpulse.com/batch_extract_async \
  --header 'Content-Type: <content-type>' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "files": [
    {
      "file-url": "PRESIGNED_URL",
      "file-path": "/path/to/file.pdf",
      "schema": {},
      "return_table": true,
      "experimental_return_table": true,
      "chunking": "semantic,recursive"
    }
  ]
}'
{
  "jobs": [
    {
      "job_id": "1a17e6e4-28d0-4e75-aff8-8b8011a46a91",
      "original_path": "/path/to/file.pdf",
      "status": "pending",
      "url": "https://pulse-studio-api.s3.amazonaws.com/path/to/file.pdf"
    }
  ],
  "successful_files": 1,
  "total_files": 1
}

Authorizations

x-api-key
string
header
required

API key for authentication

Headers

x-api-key
string
required

API key for authorization

Content-Type
enum<string>
required
Available options:
application/json

Body

application/json
files
object[]
required

Response

202 - application/json
Batch job accepted and processing started
jobs
object[]
required
successful_files
integer
required

Number of files successfully queued for processing

Example:

1

total_files
integer
required

Total number of files in the request

Example:

1