Skip to main content
POST

Authorizations

Authorization
string
header
required

A workspace API key, sent as Authorization: Bearer ip_live_…. Create and revoke keys in the equate dashboard under Settings → API keys (workspace admins only). The full key is shown once at creation — store it securely.

Path Parameters

slug
string
required

The agent's URL-safe slug, e.g. cruise-invoices.

Pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
Example:

"cruise-invoices"

Body

application/json

A single agent invocation. Supply the document via exactly one of content, fileBase64 or fileUrl.

content
string
required

Inline document text to extract from.

Maximum string length: 200000
fileBase64
string

A base64-encoded file (PDF, CSV or plain text). Decoded size must stay under ~10.5 MB.

fileUrl
string<uri>

A publicly reachable http(s) URL the server fetches the document from.

Maximum string length: 2048
fileName
string

Optional original filename, used as a hint.

Maximum string length: 500
fileType
string

Optional MIME type for fileBase64, e.g. application/pdf.

Maximum string length: 120
reference
string

Your own correlation id, echoed back unchanged in the result.

Maximum string length: 200
modelTier
enum<string>

Which built-in model preset reads the document: smart favours accuracy, fast favours latency. An agent stores no tier of its own, so omitting this means smart. It only applies while no extraction models have been set up for the platform; once they have, they always run and this is ignored.

Available options:
smart,
fast

Response

The agent ran successfully. Read result.outcome for how the run ended: a run that found no booking, or did not try to match, is still a 200.

data
object