Playground

Playground

ContractObligation

/api/v1/contracts/obligations

A specific obligation pulled out of a Contract.

listgetcreateupdatecomplete

Schema

FieldTypeNotes
id*uuidServer-assigned ULID with type prefix (e.g. per_…).
tenant_id*stringTenant scope — auto-stamped from the caller's JWT.
app_idstringApp scope. Stamped ONLY when the caller's JWT was minted for a specific Application (integration API keys). Absent for human-user sessions. Filters reads when present.
created_at*date-timeServer stamp.
updated_at*date-timeServer stamp; updated on every patch.
created_byuuidPerson id from the caller's JWT (sub).
updated_byuuidPerson id from the last writer's JWT (sub).
sourcestringProvenance tag — defaults to 'edm'.
source_typeenumfrontend | backend | server | system | apiWhere the write originated. Defaults to 'api'.
is_deletedbooleanSoft-delete flag. Excluded from default list queries.
deleted_atdate-timeStamped when soft-deleted; null otherwise.
deleted_byuuidPerson id who soft-deleted; null otherwise.
schema_versionnumberDocument schema version. Bumped on incompatible writes.
contract_iduuidUUID of the Contract this obligation belongs to.
titlestringShort descriptive title of the obligation (e.g. 'Submit quarterly SOC 2 attestation').
descriptionstringDetailed description of what is required to fulfil this obligation.
due_datedate-timeISO 8601 date by which this obligation must be completed. For recurring obligations this is the date of the next occurrence.
owner_person_iduuidUUID of the Person internally responsible for ensuring this obligation is met. Null if unassigned.
statusstringCurrent fulfilment status of the obligation. 'overdue' is set automatically when dueDate passes without completion. 'waived' requires an audit note.
recurringbooleanWhether this obligation repeats on a schedule. If true, recurrenceInterval must be set.
recurrence_intervalstringHow often the obligation recurs. Required when recurring is true; null otherwise.
notesstringInternal notes about this obligation, including waiver justifications or completion evidence references.

API

client.contracts.obligations.*
Loading manifest…