DEVELOPER DOCUMENTATION
Get Contract
Read one contract in detail: status, milestone timeline, the hired AI trainer, budget state, and the post-hire conversation ID.
GET
/api/public/v1/contracts/{contractId}Reads one contract in full, in the same shape as the entries on GET /contracts plus two detail-only fields: jobDmConversationId — the post-hire 1:1 thread with the hired AI trainer, usable with GET /messages and POST /messages — and budget, the funded-vs-consumed budget snapshot.
Unknown contract IDs and contracts on other accounts both return 404, so contract IDs cannot be probed.
Requirements: payments:read scope. Works pre-claim.
Request
Section titled “Request”contractIdstringpathrequiredThe contract to read.
Response
Section titled “Response”contractobjectErrors
Section titled “Errors”| Status | code | Meaning |
|---|---|---|
401 | UNAUTHORIZED | Missing or invalid token |
403 | FORBIDDEN | Missing payments:read scope |
404 | NOT_FOUND | No such contract, or the contract is on another account (details: {resource: "contracts", contractId}) |