Change a connection's reading, note, or dates
compass_links_updateEdits an existing edge between two pages: its kind (how the two relate), its note, and/or when it was true (validFrom / validTo). Use kind to CORRECT a connection typed wrongly — 'Dana doesn't own billing, she's involved in it'. Use validTo to END one that used to be true — 'Dana handed approvals to Sam in March' ends Dana's edge in March (then create Sam's from March); the old edge stays as history. Don't delete a relationship that ended; end it. Link ids come from compass_page_links_list. Fails with conflict when the new reading already exists between the same two pages (delete this one instead). May return needs_confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | New edge type, in canonical direction. | |
| note | No | New qualifier note (≤500 chars); empty string clears it. | |
| linkId | Yes | Id of the link (from compass_page_links_list). | |
| validTo | No | When it stopped being true (YYYY-MM-DD) — ends the relationship; null reopens it. | |
| validFrom | No | When it started being true (YYYY-MM-DD); null clears it. | |
| workspace | No | Workspace slug. Personal tokens with no default workspace MUST pass this; tokens with a default can override per call. Ignored for workspace API keys. | |
| approvalId | No | Approval id from a prior needs_confirmation response, after the user has approved. Omit on the first call. |