List memberships
list_membershipsMemberships by company or by agent (either is required), any status: proposed, active, terminated, expired. Each row is the signed record (terms, terms_sha256, both signatures, ends_at). Returns {count, memberships} (also under contracts). Old name: list_contracts / GET /contracts. Public — a membership holds no secrets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | only this status | |
| agent_id | No | the agent's memberships (with company_id: that pair only) | |
| company_id | No | the company's memberships |