contracts

Action Contract Term Decision

Mark the recorded decision as carried out.

Every decision is actionable — an ending decision still needs somebody to send the letter — but only RENEW and RENEGOTIATE open a successor, created with a start date and nothing else. Its end date comes from the signed paperwork, and until it is set the term is silent by design.

The body's only field is a note saying what confirms it was carried out, which lands on the event rather than the term. The body is optional, so a caller with nothing to say still actions.

post/contracts/{contract_id}/terms/{term_id}/decision/action

Path parameters

contract_idstring uuid required
term_idstring uuid required

Request body

notestring nullable

Response

Successful Response

contract_idstring uuid required
company_idstring uuid required
vendor_idstring uuid nullable
titlestring required
status'draft' | 'active' | 'expired' | 'terminated' required

DRAFT and TERMINATED are human judgments; the derivation in recompute_contract_status overwrites neither.

effective_datestring date nullable
expiration_datestring date nullable
auto_renewsboolean nullable
obligationsstring[]
latest_extraction_run_idstring uuid nullable
latest_summary_run_idstring uuid nullable
summary_run_status'pending' | 'running' | 'completed' | 'failed'
base_file_idstring uuid nullable
base_filenamestring nullable
base_upload_idstring uuid nullable
createdstring date-time nullable
modifiedstring date-time nullable

Changes

No recorded changes to this endpoint across all 1 revision of this API.