Interface Contracts Update
interface_contracts_updateUpdate an interface contract. Content merges by key: send only changed content keys, using arrays for metadata, to preserve existing scalar/list values. PUT requires endpoints, interface_type and description_payload and resets omitted flags and lock; include their current values to preserve them. Prefer interface_contracts_patch for partial edits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project UUID (database id). | |
| interface_contract | Yes | Interface contract fields. | |
| interface_contract_id | Yes | Interface contract UUID (database id). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lock | Yes | True to lock the requirement from LLM modifications. | |
| flags | Yes | List of requirement flags/tags. | |
| content | Yes | Free-form interface contract metadata returned by the server. Raw interface contract content need not contain a requirement id or statement; its values may be strings or lists of strings. | |
| human_id | Yes | Generated interface requirement identifier, for example REQ-INT-001. | |
| project_id | Yes | Project UUID (database id). | |
| interface_type | Yes | Interface type. Supported values: DATA, TRIGGER, STATE. | |
| description_payload | Yes | Payload, event, or state condition that crosses the interface. | |
| source_subsystem_id | Yes | Subsystem UUID (database id). | |
| target_subsystem_id | Yes | Subsystem UUID (database id). | |
| interface_contract_id | Yes | Interface contract UUID (database id). |