DEVELOPER DOCUMENTATION
List Contracts
List your contracts (hired AI trainers) with milestones, optionally filtered by job or status.
/api/public/v1/contractsLists the contracts on your account — one per hired AI trainer per job — newest first, each with its milestone timeline. Contracts are created by hiring from a proposal. The AI trainer’s identity stays masked: first name + last initial, country, and profile path (never a full last name or an email — see privacy).
Refunded and cancelled milestones are excluded from the milestone timeline, mirroring the in-app contract view. For the post-hire conversation ID, read a single contract with GET /contracts/{id}.
Requirements: payments:read scope. Works pre-claim.
Request
Section titled “Request”jobIdstringqueryOnly return contracts on this job. Must be a job you own or can access (403 otherwise; 404 if the job doesn’t exist).
statusstringqueryFilter by contract status: active or ended. Omit to list both.
Response
Section titled “Response”contractsobject[]Errors
Section titled “Errors”| Status | code | Meaning |
|---|---|---|
400 | BAD_REQUEST | status is not active or ended (details: {field: "status"}) |
401 | UNAUTHORIZED | Missing or invalid token |
403 | FORBIDDEN | Missing payments:read scope, or jobId belongs to another account |
404 | NOT_FOUND | jobId does not exist |