POST
/
api
/
v1
/
extractions
/
run
/
url
Run Extraction From Url
curl --request POST \
  --url https://api.fieldwise.ai/api/v1/extractions/run/url \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "extraction_id": 1,
  "url": "https://example.com/document.pdf"
}'
{
  "data": {
    "extraction_id": 1,
    "file_path": "org_123/extractions/file.pdf",
    "task_identifier": "RunExtraction:123e4567-e89b-12d3-a456-426614174000"
  }
}

Authorizations

X-API-Key
string
header
required

Headers

X-API-Key
string | null

Body

application/json

Request model for running extractions via URL.

url
string<uri>
required

URL of the file to process

Minimum length: 1
extraction_id
integer
required

ID of the extraction to run

Response

Successful Response

data
any
required

Response data

success
boolean
default:true
error
object | null

Schema for API error responses.

Example:
{
"error_code": "RESOURCE_NOT_FOUND",
"message": "Resource not found"
}
meta
object

Metadata for API responses