Skip to main content
POST
/
workflows
/
{id}
/
run
cURL
curl --request POST \
  --url https://api.anyformat.ai/workflows/{id}/run/ \
  --header 'Content-Type: multipart/form-data' \
  --header 'X-API-Key: <api-key>' \
  --form 'file=<string>' \
  --form 'file_base64=<string>' \
  --form 'filename=<string>' \
  --form 'content_type=<string>' \
  --form 'text=<string>' \
  --form 'manual_field_values=<unknown>'
{
  "status": "<string>",
  "extraction_id": 123,
  "workflow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

X-API-Key
string
header
required

API key authentication. Add your API key with the X-API-Key header.

Path Parameters

id
string
required

Body

multipart/form-data
file
string<uri> | null
file_base64
string | null

Base64 encoded file content

filename
string | null

Original filename when using file_base64

content_type
string | null

MIME type when using file_base64

text
string | null
manual_field_values
unknown

Response

202 - application/json
status
string
required
extraction_id
integer
required
workflow_id
string<uuid>
required