Hanzo AI

List jobs

Lists the jobs the caller's org is a party to, newest first: as buyer, the work it hired; as seller, the work it was hired for.

GET /v1/marketplace/jobs

Addresshttps://api.hanzo.ai/v1/marketplace/jobs
MethodGET
Operationget_marketplace_jobs
AuthAuthorization: Bearer $HANZO_API_KEY

Lists the jobs the caller's org is a party to, newest first: as buyer, the work it hired; as seller, the work it was hired for. Any member of the org.

Request

2 fields.

FieldInTypeRequiredDescription
rolequerystring—Role is buyer — the jobs the caller's org hired for — or seller, the jobs it was hired for.
statusquerystring—Status keeps one state.

Response

StatusBodyMeaning
200marketplace.jobPageok
defaultproblem-detailsrefused

200 body — 38 fields.

FieldInTypeAlwaysDescription
jobsbodymarketplace.Job[]—Jobs is at most 500 jobs.
jobs[].amountbodyany—Amount is what the job pays, exact USD.
jobs[].briefbodystring—Brief is what the buyer asked for.
jobs[].buyerOrgbodystring—BuyerOrg is the org that pays.
jobs[].categorybodystring—Category is what the payment is for — service, goods, transfer or royalty — as the buyer declared it and the seller accepted it.
jobs[].clearancebodystring—Clearance is principal's latest decision that the buyer may pay the seller this amount — asked when the job was quoted, again when it was funded, and again when it was released: GET /v1/principal/clearance/{id}.
jobs[].createdAtbodyinteger (int64)—CreatedAt is when the job was quoted, unix seconds.
jobs[].currencybodystring—Currency labels Amount: USD.
jobs[].deadlinebodyinteger (int64)—Deadline is when delivery must land by, unix seconds.
jobs[].deliverybodymarketplace.Delivery—
jobs[].delivery.atbodyinteger (int64)—At is when, unix seconds.
jobs[].delivery.hashbodystring—Hash commits to what was delivered: the seller's own 32-byte hash, or the SHA-256 of the note and URL.
jobs[].delivery.notebodystring—Note says what was delivered.
jobs[].delivery.urlbodystring—URL is where it is, https.
jobs[].disputebodymarketplace.Dispute—
jobs[].dispute.atbodyinteger (int64)—At is when, unix seconds.
jobs[].dispute.bybodystring—By is the org that disputed.
jobs[].dispute.contestedbodyboolean—Contested is the clock's own dispute: the payment stopped clearing when the review window closed.
jobs[].dispute.reasonbodystring—Reason is the disputing party's words.
jobs[].endingbodystring—Ending is the unpaid ending the job was given — declined, cancelled or refunded — while the rail returns the amount it set aside.
jobs[].escrowbodymarketplace.Escrow—
jobs[].escrow.contractbodystring—Contract is the contract the money moves through: the token the x402 authorization transfers, or the escrow on chain.
jobs[].escrow.networkbodystring—Network is the CAIP-2 network the payment is signed for.
jobs[].escrow.payTobodystring—PayTo is the seller's payout address.
jobs[].escrow.railbodystring—Rail is x402 — the buyer's balance, settled at release — or chain, the Lux escrow contract.
jobs[].escrow.txHashbodystring—TxHash is the transaction that paid the seller, once one did: the chain's hash, or the x402 settlement id on the ledger.
jobs[].historybodymarketplace.Step[]—History is every step the job took, oldest first.
jobs[].history[].atbodyinteger (int64)—At is when, unix seconds.
jobs[].history[].bybodystring—By is the org whose act it was, or "marketplace" for a clock that ran out.
jobs[].history[].statusbodystring—Status is the state the job entered.
jobs[].idbodystring—ID is the job, "job_"-prefixed.
jobs[].listingbodystring—Listing is the listing it was hired through; empty for a direct offer.
jobs[].performedbodystring—Performed is where the work is performed, ISO 3166-1 alpha-2, when said.
jobs[].reviewbodyinteger (int64)—Review is how many seconds after delivery the buyer has to release or dispute before the job releases itself.
jobs[].sellerOrgbodystring—SellerOrg is the org that does the work and is paid.
jobs[].statusbodystring—Status is where the job stands: open, accepted, delivered, released, disputed, declined, cancelled or refunded.
jobs[].titlebodystring—Title names the work: the listing's title, or the offer's own.
jobs[].updatedAtbodyinteger (int64)—UpdatedAt is when it last moved, unix seconds.

Failure carries the platform error shape — see Errors.

Examples

hanzo has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


Marketplace API · All Hanzo APIs · Interactive reference

How is this guide?

On this page