API reference
4 operations in contracts. Raw spec: openapi.json.
POST
/api/v1/contracts/authorPOST /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
| Status | Description |
|---|---|
200 | |
403 | AI admission refused (typed reason in the envelope) |
Security: bearer
POST
/api/v1/contracts/author/changePOST /api/contracts/author/change — propose edits to a contract draft.
Request body
ContractChangeRequest
Responses
| Status | Description |
|---|---|
200 |
Security: bearer
GET
/api/v1/contracts/clausesGET /api/contracts/clauses — the approved library the contract builder chooses from. Read-only, org-scoped, and the only source of clause text.
Responses
| Status | Description |
|---|---|
200 |
Security: bearer
POST
/api/v1/contracts/extractPOST /api/contracts/extract — the live chips for a contract description.
Request body
ExtractRequest
Responses
| Status | Description |
|---|---|
200 |
Security: bearer