Platform API reference
List Contracts
List contracts on jobs linked by this install, newest first. Filter by project link or status.
GET
Returns contracts whose job is referenced by at least one project link on the calling token’s install, newest first. This is the pull-side complement to the
contract.started / contract.ended webhooks — poll it to reconcile state after downtime, since events are never replayed.
Requirements: contracts:read scope.
Request
string
Restrict to contracts on the job linked by this project link. Returns
404 if no link with this ID exists on the install.string
Filter by contract status:
active or ended.integer
default:"50"
Maximum number of contracts to return (1–200).
Response
object[]
Array of contracts, newest first.