Skip to content
concord.app
Book a demo
esc
concord.app
Book a demo

API reference

Extractions. 4 operations.

The Extractions operations of the concord.app REST API, each with its parameters, body fields and responses.

Extractions — AI field-extraction jobs over documents.

Every path is on https://app.concord.app.

POST/api/v1/extractions

Start an extraction job

Asynchronous: returns 202 with a job in pending status. Poll GET /api/v1/extractions/{id} for completion, or subscribe to the extraction.completed webhook event.

Parameters

NameInTypeDescription
Idempotency-Key header string Optional idempotency key. When supplied, a repeat of the same request replays the original response instead of performing the write twice. A retry sent WITHOUT the header is a second write and CAN duplicate its effect — always send one on retries.

Request body

NameTypeDescription
agreement_id
required
string Public ID (agr_…) or UUID of the agreement to extract from.
type one of "standard", "fast" Extraction tier: "standard" (all fields) or "fast" (reduced field set).

Responses

StatusDescription
202Extraction job accepted
400Invalid request — see error.code for the specific failure mode
401Missing or invalid Bearer token
403Authenticated but not permitted to perform this action
404Resource not found
429Rate limit exceeded — see Retry-After and RateLimit-* headers

POST/api/v1/extractions/batch

Start a batch extraction

Start extraction jobs for up to 100 agreements. Honors the per-organization pending-job limit (50) — 429 when exceeded.

Parameters

NameInTypeDescription
Idempotency-Key header string Optional idempotency key. When supplied, a repeat of the same request replays the original response instead of performing the write twice. A retry sent WITHOUT the header is a second write and CAN duplicate its effect — always send one on retries.

Request body

NameTypeDescription
agreement_ids
required
array of string Public IDs (agr_…) or UUIDs of the agreements to extract from (max 100).
type one of "standard", "fast" Extraction tier: "standard" (all fields) or "fast" (reduced field set).

Responses

StatusDescription
202Batch accepted — one job per agreement
400Invalid request — see error.code for the specific failure mode
401Missing or invalid Bearer token
403Authenticated but not permitted to perform this action
404Resource not found
429Rate limit exceeded — see Retry-After and RateLimit-* headers

GET/api/v1/extractions/batch/{id}

Retrieve a batch extraction job

Parameters

NameInTypeDescription
id
required
path string

Responses

StatusDescription
200The requested extraction job
400Invalid request — see error.code for the specific failure mode
401Missing or invalid Bearer token
403Authenticated but not permitted to perform this action
404Resource not found
429Rate limit exceeded — see Retry-After and RateLimit-* headers

GET/api/v1/extractions/{id}

Retrieve an extraction job

Job status; results is attached once the job is completed.

Parameters

NameInTypeDescription
id
required
path string

Responses

StatusDescription
200The requested extraction job (with results when completed)
400Invalid request — see error.code for the specific failure mode
401Missing or invalid Bearer token
403Authenticated but not permitted to perform this action
404Resource not found
429Rate limit exceeded — see Retry-After and RateLimit-* headers

See it on your contracts.

Book a demo

Trusted by teams at

  • 4M+ documents signed since 2014