Documentation menu

API reference

4 operations in contracts. Raw spec: openapi.json.

POST/api/v1/contracts/author

POST /api/contracts/author — draft a contract from words, notes or uploads. No write, no legal wording: clauses come from the library by key.

Request body

AuthorMoneyRequest

Responses

StatusDescription
200
403AI admission refused (typed reason in the envelope)

Security: bearer

POST/api/v1/contracts/author/change

POST /api/contracts/author/change — propose edits to a contract draft.

Request body

ContractChangeRequest

Responses

StatusDescription
200

Security: bearer

GET/api/v1/contracts/clauses

GET /api/contracts/clauses — the approved library the contract builder chooses from. Read-only, org-scoped, and the only source of clause text.

Responses

StatusDescription
200

Security: bearer

POST/api/v1/contracts/extract

POST /api/contracts/extract — the live chips for a contract description.

Request body

ExtractRequest

Responses

StatusDescription
200

Security: bearer