Sheaf.us
SheafDocsAPIAPI overview

API overview

Send a packet and name a workflow; Sheaf files what it can against the case's expected document list and tells you when the case has landed.

The API covers what the app does: cases, workflows, filing and the ledger.

What stays with Sheaf

Expected document lists, document schemas and workflows live in your organization, versioned. A call names them by id and sends only the file.

Example: a run sends packet.pdf and two ids, standard-intake and your list purchase-loan. The workflow's steps and the list's lines stay in Sheaf.

The shape of an integration

  1. Authenticate with an organization key.
  2. Run a workflow on a packet, in one call.
  3. Read the results: poll the case, or let webhooks tell you.

The quickstart runs these steps as commands.

Base URL and format

https://sheaf.us/api. Requests and responses are JSON. Files upload as multipart/form-data.

The contract

The full contract is OpenAPI, at /api/openapi.json. Reading it needs no key. Generate a typed client in your language from it. There are no hand-written SDKs.

The terms cover use of the API, with a section on keys, agents and webhooks.

What it is not

There is no call that parses or extracts a loose file outside a case. If that is all you need, buy a parsing API. The comparison pages say so.

This page as markdown · llms.txt · API contract