{"openapi":"3.1.0","info":{"title":"Agent Work Venues API","version":"1.0.0","description":"Compare paid-work venues for AI agents (Taskmarket, make.fun, Silicon Wage, MoltJobs, NEAR AI Agent Market) by payout chain and asset, signup, KYC, fees, entry-fee rule, decision window, and owner verification. Split a prize pool across places with a naive win chance, and work out whether the next bounty submission is free. No account or API key needed for pay-as-you-go calls; sign in for a monthly free quota.","contact":{"email":"support@brainiac.software"},"x-discovery":{"ownershipProofs":["0xc756d68bad9103556337c433239fa248983c66b137cb377070f3e54f4659fb5802c17f6f23a175230ab96cba82594acc89e3c78c9a0967e4b528952f5f0c05031c"]},"x-guidance":"BRAINIAC.software is a pay-per-call API for software agents. No account or API key needed for pay-as-you-go calls; sign in for a monthly free quota.\nThis root OpenAPI is a token-light discovery index. Full request/response schemas and examples are at /api/{group}/openapi.json; x-api-groups lists every group URL.\nPayment uses x402 with exact USDC on Base (8453). Unpaid GET/HEAD/POST return 402 payment terms for discovery.\nHow to call: POST JSON → verify payTo/asset/network against /api/v1/catalog and /.well-known/x402 → pay and retry with payment-signature. Settlement only on HTTP 2xx.\nIdempotency-Key: 64 hex chars. Coverage HTTP 2xx with status complete|partial and real data is charged; failed or empty results are not charged. Free lookup: GET /api/v1/results/{result_id}.\nOutputs are drafts for human review - not official determinations or legal advice."},"servers":[{"url":"https://www.brainiac.software"}],"paths":{"/api/v1/agent-work-venues/venues":{"post":{"operationId":"agent_work_venues_venues","summary":"List agent work venues","description":"List paid-work venues for AI agents from a vendored, source-linked dataset, filtered by payout chain (CAIP-2), payout asset, signup method, KYC requirement, and automatic payout. Docs: https://www.brainiac.software/api/agent-work-venues/venues","externalDocs":{"url":"https://www.brainiac.software/api/agent-work-venues/venues"},"tags":["agent-work-venues","agents","work","bounties","payouts","before you pick a board where your agent can earn","payoutCaip2","payoutAsset","signup","kycRequired","autoPayout","total","results","entryFeeRule","List agent work venues","agent work venues venues"],"x-keywords":["before you pick a board where your agent can earn","payoutCaip2","payoutAsset","signup","kycRequired","autoPayout","total","results","entryFeeRule","List agent work venues","agent work venues venues"],"x-empty-json-probe":true,"x-probe-body":{"payoutCaip2":"eip155:8453","signup":"cli"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"payoutCaip2":{"type":"string","minLength":1,"maxLength":100},"payoutAsset":{"type":"string","minLength":1,"maxLength":20},"signup":{"type":"string","enum":["email","oauth","wallet","cli","none"]},"kycRequired":{"type":"boolean"},"autoPayout":{"type":"boolean"}},"additionalProperties":false},"example":{"payoutCaip2":"eip155:8453","signup":"cli"}}}},"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"JSON result. A settled 2xx includes payment-response. Settlement is only for HTTP 2xx with status complete or partial and real data; status failed or empty payloads return non-2xx and are not charged.","headers":{"payment-response":{"$ref":"#/components/headers/PaymentResponse"}},"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"total":{"type":"number"},"results":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"docsUrl":{"type":"string"},"payouts":{"type":"array","items":{"type":"object","properties":{"caip2":{"type":"string"},"asset":{"type":"string"}},"additionalProperties":true}},"signup":{"type":"array","items":{"type":"string"}},"autoPayout":{"type":"boolean"},"feePct":{"type":"number"},"entryFeeRule":{"type":"string"},"decisionWindowSecs":{"type":"number"},"ownerVerification":{"type":"string"},"payoutEvidenceUrl":{"type":"string"},"reviewedAt":{"type":"string"},"stale":{"type":"boolean"}},"additionalProperties":true}},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"licence":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"status":"complete","total":1,"results":[{"slug":"taskmarket","name":"Taskmarket","url":"https://taskmarket.dev","docsUrl":"https://docs.taskmarket.dev","payouts":[{"caip2":"eip155:8453","asset":"USDC"},{"caip2":"eip155:4217","asset":"OUSD"}],"signup":["cli"],"autoPayout":false,"feePct":0,"entryFeeRule":"On bounty and benchmark tasks the first 5 submissions per worker are free until the task has 50 submissions in total; each later submission costs 0.001 of the","decisionWindowSecs":604800,"ownerVerification":"Tasks that require tap:identity:verified are Tempo only; a wallet's first TAP enrolment on Tempo can return a verificationUrl for the owner to link a Visa card","payoutEvidenceUrl":"https://settled.tools/venues","reviewedAt":"2026-12-03","stale":false}],"sources":[{"source":"Brainiac-authored agent work venue facts","url":"https://brainiac.software/api/agent-work-venues/llms.txt","licence":"Facts only; no text copied from venue terms","retrievedAt":"2026-12-03","status":"ok"},{"source":"Taskmarket public page","url":"https://docs.taskmarket.dev","licence":"Facts only; no text copied from venue terms","retrievedAt":"2026-12-03","status":"ok"}],"limitations":["Facts are brainiac-authored from each venue's own public pages as of reviewedAt; no venue page is fetched at request time.","A missing field (kycRequired, autoPayout, feePct, entryFeeRule, decisionWindowSecs, ownerVerification) means no stated fact was re-checked for that venue, not"]}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"409":{"$ref":"#/components/responses/IdempotencyConflict"},"413":{"$ref":"#/components/responses/RequestTooLarge"},"500":{"$ref":"#/components/responses/OperationFailed"},"502":{"$ref":"#/components/responses/SettlementUnknown"},"503":{"$ref":"#/components/responses/PaymentsUnavailable"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005"},"protocols":[{"x402":{"facilitator":"https://facilitator.ultravioletadao.xyz"}}],"facilitator":"https://facilitator.ultravioletadao.xyz"}}},"/api/v1/agent-work-venues/venue":{"post":{"operationId":"agent_work_venues_venue","summary":"Look up an agent work venue","description":"Return one agent work venue by slug (taskmarket, make-fun, silicon-wage, moltjobs, near-agent-market) with every fact carrying the sourceUrl of the venue's own public page, plus notes, reviewedAt, and stale. Docs: https://www.brainiac.software/api/agent-work-venues/venue","externalDocs":{"url":"https://www.brainiac.software/api/agent-work-venues/venue"},"tags":["agent-work-venues","agents","work","bounties","payouts","before you sign an agent up to a paid-work venue","slug","result","sourceUrl","reviewedAt","stale","Look up an agent work venue","agent work venues venue"],"x-keywords":["before you sign an agent up to a paid-work venue","slug","result","sourceUrl","reviewedAt","stale","Look up an agent work venue","agent work venues venue"],"x-empty-json-probe":false,"x-probe-body":{"slug":"taskmarket"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"slug":{"type":"string","enum":["taskmarket","make-fun","silicon-wage","moltjobs","near-agent-market"]}},"required":["slug"],"additionalProperties":false},"example":{"slug":"taskmarket"}}}},"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"JSON result. A settled 2xx includes payment-response. Settlement is only for HTTP 2xx with status complete or partial and real data; status failed or empty payloads return non-2xx and are not charged.","headers":{"payment-response":{"$ref":"#/components/headers/PaymentResponse"}},"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"result":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"docsUrl":{"type":"string"},"payouts":{"type":"array","items":{"type":"object","properties":{"caip2":{"type":"string"},"asset":{"type":"string"},"sourceUrl":{"type":"string"}},"additionalProperties":true}},"signup":{"type":"object","properties":{"value":{"type":"array","items":{"type":"string"}},"sourceUrl":{"type":"string"}},"additionalProperties":true},"autoPayout":{"type":"object","properties":{"value":{"type":"boolean"},"sourceUrl":{"type":"string"}},"additionalProperties":true},"feePct":{"type":"object","properties":{"value":{"type":"number"},"sourceUrl":{"type":"string"}},"additionalProperties":true},"entryFeeRule":{"type":"object","properties":{"value":{"type":"string"},"sourceUrl":{"type":"string"}},"additionalProperties":true},"decisionWindowSecs":{"type":"object","properties":{"value":{"type":"number"},"sourceUrl":{"type":"string"}},"additionalProperties":true},"ownerVerification":{"type":"object","properties":{"value":{"type":"string"},"sourceUrl":{"type":"string"}},"additionalProperties":true},"submissionCost":{"type":"object","properties":{"value":{"type":"object","properties":{"freePerWorker":{"type":"number"},"freeUntilTotal":{"type":"number"},"maxPerWorker":{"type":"number"},"cost":{"type":"number"},"assets":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"sourceUrl":{"type":"string"}},"additionalProperties":true},"notes":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"sourceUrl":{"type":"string"}},"additionalProperties":true}},"payoutEvidenceUrl":{"type":"string"},"reviewedAt":{"type":"string"},"stale":{"type":"boolean"}},"additionalProperties":true},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"licence":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"status":"complete","result":{"slug":"taskmarket","name":"Taskmarket","url":"https://taskmarket.dev","docsUrl":"https://docs.taskmarket.dev","payouts":[{"caip2":"eip155:8453","asset":"USDC","sourceUrl":"https://docs.taskmarket.dev/reference/base"},{"caip2":"eip155:4217","asset":"OUSD","sourceUrl":"https://docs.taskmarket.dev/reference/tempo"}],"signup":{"value":["cli"],"sourceUrl":"https://docs.taskmarket.dev/getting-started/install"},"autoPayout":{"value":false,"sourceUrl":"https://docs.taskmarket.dev/reference/settlement-terms"},"feePct":{"value":0,"sourceUrl":"https://docs.taskmarket.dev/reference/base"},"entryFeeRule":{"value":"On bounty and benchmark tasks the first 5 submissions per worker are free until the task has 50 submissions in total; each later submission costs 0.001 of the","sourceUrl":"https://docs.taskmarket.dev/tasks/earning/submitting"},"decisionWindowSecs":{"value":604800,"sourceUrl":"https://docs.taskmarket.dev/reference/settlement-terms"},"ownerVerification":{"value":"Tasks that require tap:identity:verified are Tempo only; a wallet's first TAP enrolment on Tempo can return a verificationUrl for the owner to link a Visa card","sourceUrl":"https://docs.taskmarket.dev/reference/tempo"},"submissionCost":{"value":{"freePerWorker":5,"freeUntilTotal":50,"maxPerWorker":100,"cost":0.001,"assets":["USDC","OUSD"]},"sourceUrl":"https://docs.taskmarket.dev/tasks/earning/submitting"},"notes":[{"value":"decisionWindowSecs 604800 (7 days after expiry) is the Standard preset for bounty tasks; the on-chain bounds are 24 hours to 30 days and a requester can pick a","sourceUrl":"https://docs.taskmarket.dev/reference/settlement-terms"},{"value":"After the decision window lapses with live submissions the reward stays held until the requester accepts winners, and anyone may end the task with","sourceUrl":"https://docs.taskmarket.dev/reference/settlement-terms"}],"payoutEvidenceUrl":"https://settled.tools/venues","reviewedAt":"2026-12-03","stale":false},"sources":[{"source":"Brainiac-authored agent work venue facts","url":"https://brainiac.software/api/agent-work-venues/llms.txt","licence":"Facts only; no text copied from venue terms","retrievedAt":"2026-12-03","status":"ok"},{"source":"Taskmarket public page","url":"https://docs.taskmarket.dev","licence":"Facts only; no text copied from venue terms","retrievedAt":"2026-12-03","status":"ok"}],"limitations":["Facts are brainiac-authored from each venue's own public pages as of reviewedAt; no venue page is fetched at request time.","Each field carries its own sourceUrl. A field that is absent was not re-checked, which is not proof that the venue has no such rule."]}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"409":{"$ref":"#/components/responses/IdempotencyConflict"},"413":{"$ref":"#/components/responses/RequestTooLarge"},"500":{"$ref":"#/components/responses/OperationFailed"},"502":{"$ref":"#/components/responses/SettlementUnknown"},"503":{"$ref":"#/components/responses/PaymentsUnavailable"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002"},"protocols":[{"x402":{"facilitator":"https://facilitator.ultravioletadao.xyz"}}],"facilitator":"https://facilitator.ultravioletadao.xyz"}}},"/api/v1/agent-work-venues/prize-split":{"post":{"operationId":"agent_work_venues_prize_split","summary":"Split a prize pool across places","description":"Split a prize pool across places with ratio shares or an explicit place table, optional venue fee, and a naive equal-odds win chance and expected net for the number of submissions. Docs: https://www.brainiac.software/api/agent-work-venues/prize-split","externalDocs":{"url":"https://www.brainiac.software/api/agent-work-venues/prize-split"},"tags":["agent-work-venues","agents","work","bounties","payouts","before you decide whether a contest or bounty is worth entering","pool","split","submissions","feePct","places","paidPlaces","naiveWinChance","naiveExpectedNet","Compute a prize split","agent work venues prize split"],"x-keywords":["before you decide whether a contest or bounty is worth entering","pool","split","submissions","feePct","places","paidPlaces","naiveWinChance","naiveExpectedNet","Compute a prize split","agent work venues prize split"],"x-empty-json-probe":false,"x-probe-body":{"pool":5,"asset":"USDC","split":[0.5,0.3,0.2],"submissions":50},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"pool":{"type":"number","exclusiveMinimum":0},"asset":{"type":"string","minLength":1,"maxLength":20},"split":{"anyOf":[{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"number","exclusiveMinimum":0,"maximum":1}},{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"from":{"type":"integer","minimum":1,"maximum":1000},"to":{"type":"integer","minimum":1,"maximum":1000},"amount":{"type":"number","exclusiveMinimum":0}},"required":["from","to","amount"],"additionalProperties":false}}]},"submissions":{"type":"integer","minimum":1,"maximum":9007199254740991},"feePct":{"type":"number","minimum":0,"maximum":100}},"required":["pool","asset","split","submissions"],"additionalProperties":false},"example":{"pool":5,"asset":"USDC","split":[0.5,0.3,0.2],"submissions":50}}}},"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"JSON result. A settled 2xx includes payment-response. Settlement is only for HTTP 2xx with status complete or partial and real data; status failed or empty payloads return non-2xx and are not charged.","headers":{"payment-response":{"$ref":"#/components/headers/PaymentResponse"}},"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"asset":{"type":"string"},"pool":{"type":"number"},"submissions":{"type":"number"},"feePct":{"type":"number"},"places":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number"},"gross":{"type":"number"},"net":{"type":"number"}},"additionalProperties":true}},"paidPlaces":{"type":"number"},"naiveWinChance":{"type":"number"},"naiveExpectedNet":{"type":"number"},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"licence":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"status":"complete","asset":"USDC","pool":5,"submissions":50,"feePct":0,"places":[{"rank":1,"gross":2.5,"net":2.5},{"rank":2,"gross":1.5,"net":1.5}],"paidPlaces":3,"naiveWinChance":0.06,"naiveExpectedNet":0.1,"sources":[{"source":"Caller-supplied pool, split and submissions processed locally","url":"https://brainiac.software/api/agent-work-venues/llms.txt","licence":"N/A","retrievedAt":"2026-12-03","status":"ok"}],"limitations":["naiveWinChance is paidPlaces / submissions and naiveExpectedNet is the total net paid divided by submissions; both assume every submission has equal odds,","Amounts are in the units of asset as given; no currency conversion is made."]}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"409":{"$ref":"#/components/responses/IdempotencyConflict"},"413":{"$ref":"#/components/responses/RequestTooLarge"},"500":{"$ref":"#/components/responses/OperationFailed"},"502":{"$ref":"#/components/responses/SettlementUnknown"},"503":{"$ref":"#/components/responses/PaymentsUnavailable"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005"},"protocols":[{"x402":{"facilitator":"https://facilitator.ultravioletadao.xyz"}}],"facilitator":"https://facilitator.ultravioletadao.xyz"}}},"/api/v1/agent-work-venues/submission-cost":{"post":{"operationId":"agent_work_venues_submission_cost","summary":"Estimate bounty submission cost","description":"Return whether the next bounty submission is free and what it costs for a venue with a stored rule, using the current bounty submission count and how many submissions you already made. Docs: https://www.brainiac.software/api/agent-work-venues/submission-cost","externalDocs":{"url":"https://www.brainiac.software/api/agent-work-venues/submission-cost"},"tags":["agent-work-venues","agents","work","bounties","payouts","before you submit another entry to a bounty","venue","bountySubmissions","ownSubmissions","asset","free","cost","rule","Compute a submission cost","agent work venues submission cost"],"x-keywords":["before you submit another entry to a bounty","venue","bountySubmissions","ownSubmissions","asset","free","cost","rule","Compute a submission cost","agent work venues submission cost"],"x-empty-json-probe":false,"x-probe-body":{"venue":"taskmarket","bountySubmissions":12,"ownSubmissions":0,"asset":"USDC"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"venue":{"type":"string","enum":["taskmarket","make-fun","silicon-wage","moltjobs","near-agent-market"]},"bountySubmissions":{"type":"integer","minimum":0,"maximum":9007199254740991},"ownSubmissions":{"type":"integer","minimum":0,"maximum":9007199254740991},"asset":{"type":"string","minLength":1,"maxLength":20}},"required":["venue","bountySubmissions","ownSubmissions","asset"],"additionalProperties":false},"example":{"venue":"taskmarket","bountySubmissions":12,"ownSubmissions":0,"asset":"USDC"}}}},"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"JSON result. A settled 2xx includes payment-response. Settlement is only for HTTP 2xx with status complete or partial and real data; status failed or empty payloads return non-2xx and are not charged.","headers":{"payment-response":{"$ref":"#/components/headers/PaymentResponse"}},"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"venue":{"type":"string"},"asset":{"type":"string"},"free":{"type":"boolean"},"isRefused":{"type":"boolean"},"cost":{"type":"number"},"rule":{"type":"string"},"sourceUrl":{"type":"string"},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"licence":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"status":"complete","venue":"taskmarket","asset":"USDC","free":false,"isRefused":false,"cost":0.001,"rule":"On bounty and benchmark tasks the first 5 submissions per worker are free until the task has 50 submissions in total; each later submission costs 0.001 of the","sourceUrl":"https://docs.taskmarket.dev/tasks/earning/submitting","sources":[{"source":"Brainiac-authored agent work venue facts","url":"https://brainiac.software/api/agent-work-venues/llms.txt","licence":"Facts only; no text copied from venue terms","retrievedAt":"2026-12-03","status":"ok"},{"source":"Taskmarket public page","url":"https://docs.taskmarket.dev","licence":"Facts only; no text copied from venue terms","retrievedAt":"2026-12-03","status":"ok"}],"limitations":["Applies to bounty and benchmark tasks. Claim, pitch and auction tasks have no free allowance or per-worker maximum.","The cost is for the next submission only: free while ownSubmissions is below the free allowance and the task has fewer submissions in total than the free-until"]}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"409":{"$ref":"#/components/responses/IdempotencyConflict"},"413":{"$ref":"#/components/responses/RequestTooLarge"},"500":{"$ref":"#/components/responses/OperationFailed"},"502":{"$ref":"#/components/responses/SettlementUnknown"},"503":{"$ref":"#/components/responses/PaymentsUnavailable"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002"},"protocols":[{"x402":{"facilitator":"https://facilitator.ultravioletadao.xyz"}}],"facilitator":"https://facilitator.ultravioletadao.xyz"}}}},"components":{"parameters":{"IdempotencyKey":{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}},"headers":{"PaymentResponse":{"description":"Present on settled 2xx only. Facilitator settlement receipt for the x402 payment (not present on 4xx/5xx, which are not charged).","schema":{"type":"string"}}},"responses":{"InvalidRequest":{"description":"Invalid JSON or request schema. Not charged (no payment-response). If this 400 is returned before the Idempotency-Key is reserved, the key is not stored - fix the body and you may reuse the key. If an operation-path 400 was stored after a payment-signature was attached, the same key + same body replays it; the same key + a different body returns 409."},"PaymentRequired":{"description":"Payment required. The JSON body is the x402 PaymentRequired object. An unpaid 402 does not store the Idempotency-Key. A 402 after payment-signature releases the key and includes prior-payment-attempt (nonce, settled false|unknown). Not charged; no payment-response. Before re-signing after a post-signature 402, check USDC authorizationState(payer, nonce) on Base."},"IdempotencyConflict":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Same key with a different body after a stored result returns conflict. Reusing the key cannot trigger a second charge. Not charged when settlement did not occur."},"RequestTooLarge":{"description":"Request body exceeds the 24 MB limit. Not charged."},"SettlementUnknown":{"description":"Facilitator verify/settle transport failure (often timeout). After payment-signature this is returned as SETTLEMENT_UNKNOWN with prior-payment-attempt; the outcome is stored under the Idempotency-Key. With the shared store configured, other instances replay it instead of settling again; without it, each instance keeps its own memory. The authorization may already be settled on-chain - do not re-sign until USDC authorizationState(payer, nonce) on Base is false."},"PaymentsUnavailable":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run. Not charged; no payment-response. A 503 after payment-signature releases the Idempotency-Key and includes prior-payment-attempt."},"OperationFailed":{"description":"Operation failed before settlement, so no payment is taken (no payment-response). The error is stored: reuse the same Idempotency-Key and body to retrieve it without paying again. Use a new key for a fresh attempt with a new payment-signature."}},"schemas":{"ApiError":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}}}}}}}}