List contracts
Contracts the customer owns or that its partner linked to it, newest first. Amounts are null without billing access.
Deprecated aliases: GET https://one.vigilbase.com/api/customers/{id}/contracts. They answer with the same bodies, with a Deprecation header and a successor-version link to this URL.
Authorizations
Send one of these:
Bearer access token from Vigilbase Identity (auth.vigilbase.com), sent as Authorization: Bearer <token>. The CLI gets one with vigilbase login. Scope: one:api.
Organisation API key (vb_one_…) from Settings → API keys in Vigilbase One, sent as Authorization: Bearer vb_one_…. Read-only keys work. See organisation API keys.
Vigilbase Identity access token issued to an MCP client (mcp.vigilbase.com). Scope: one:read.
Path Parameters
Query Parameters
A cursor-paginated list: the response holds items, and while it has a nextCursor, pass it as cursor for the next page. See pagination.
The nextCursor of the previous page. Leave it out for the first page.
How many items to return per page.
50maximum 200draftpendingactiveexpiredterminatedOnly contracts expiring between today and this many days ahead.
Response
application/jsonSuccess
20 child attributes
The human contract number, e.g. C-1001.
Owned by the partner and linked to this customer: a summary only.
Amount in major units; null when hidden from the caller (no billing access) or not set.
Vigilbase’s notes on the contract; null for callers outside Vigilbase.
The signed agreement (Common Paper), an https link; null for callers outside Vigilbase.
14 child attributes
Amount in major units; null when hidden from the caller (no billing access) or not set.
Amount in major units; null when hidden from the caller (no billing access) or not set.
Amount in major units; null when hidden from the caller (no billing access) or not set.
10 child attributes
Amount in major units; null when hidden from the caller (no billing access) or not set.
Amount in major units; null when hidden from the caller (no billing access) or not set.
2 response headers
The request ID: yours when it was well-formed, otherwise a new one. Quote it to support.
The major API version (informational; the version is in the path).
More about this endpoint in the guide.