Skip to main content
POST
/
pipeline_async
Pipeline Async
import requests

url = "https://platform.reducto.ai/pipeline_async"

payload = {
    "async": { "priority": False },
    "input": "<string>",
    "pipeline_id": "<string>"
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
{
  "job_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
input
required

The URL of the document to be processed. You can provide one of the following: 1. A publicly available URL 2. A presigned S3 URL 3. A reducto:// prefixed URL obtained from the /upload endpoint after directly uploading a document 4. A jobid:// prefixed URL obtained from a previous /parse invocation

pipeline_id
string
required

The ID of the pipeline to use for the document.

async
object

The configuration options for asynchronous processing (default synchronous).

Response

Successful Response

job_id
string
required