Skip to main content
The Workspace API lets your systems do the work your team does in Vaquill: create clients and matters, upload documents, run contract review against a playbook, generate and revise drafts, compare versions, build matrices, and pull the results back out as files. It is a different product from the Legal Data API, and the two share nothing.
The two credentials are not interchangeable. A vq_key_ sent to a Workspace route is refused with a wrong-product-credential error that names the other product, and vice versa.

What you can do

Clients and matters

Create and manage the client and matter structure everything else hangs off.

Documents

Upload at any size, poll ingestion, read extracted text, download the original bytes, delete.

Contract review

Run a playbook against a contract and get clauses, redlines, missing clauses and negotiation priorities.

Drafting

Generate a draft, revise it, apply a template, export it.

Compare

Diff two versions of a document and export a redline.

Matrices

Ask the same questions across hundreds of documents and get cited answers.

Workflows

Run multi-step pipelines over a set of documents and collect their artifacts.

MCP server

Every operation is also an MCP tool, so an AI agent can drive the same surface.

How it is shaped

Three properties are worth knowing before you write any code, because they apply to the whole surface. Your organization is never something you send. It comes from the credential. There is no organizationId parameter anywhere, and a request that tries to name one is rejected. Every read and write is confined to the organization that owns the credential. Long operations return a job, not a result. Anything that takes more than a few seconds answers 202 with an operation id. You poll one endpoint, GET /v1/operations/{operationId}, for every kind of work. See Operations. Polling is the only completion signal. There are no webhooks today. Each 202 carries a Retry-After telling you how long to wait, and the operation resource carries honest progress.

Get started

Quickstart

Upload a contract and review it, end to end.

Authentication

Create a credential and understand scopes.

Operations

The job envelope every long call returns, and how to poll it well.

Errors

The problem+json shape and what each type means.
Last modified on August 19, 2026