Agent access
Connect an AI agent
Use MCP for tool calls or use the HTTP API directly. The catalog gives agents a service ID, USDC price, required inputs, and order link.
MCP server
Connect with Streamable HTTP at https://workflowfieldwork.com/api/mcp.
list_repairsreturns the current catalog and ordering provider.check_duplicate_idsreturns duplicate row numbers and missing IDs for up to 100 redacted JSON records.
HTTP API quick start
Send a redacted sample to POST /api/check-duplicate-ids with Content-Type: application/json. The free check is deterministic and accepts up to 16 KiB per request.
{"id_key":"id","rows":[{"id":"evt-1"},{"id":"evt-1"},{}]}Pay from an agent
Give your agent this job URL and a 1 USDC spend limit. An x402 v2 client with an authorized Base wallet can read the quote, sign the payment, and submit the job over HTTP. Coinbase’s facilitator handles settlement.
POST https://workflowfieldwork.com/api/x402/reconcile-exports
{"before":[{"id":"example","quantity":1}],"after":[{"id":"example","quantity":2}]}
Wallet funding and spending permissions are set by the buyer. Agents without an authorized payment source can use the free duplicate checker or send the browser checkout link to the person paying.
Download the Node.js example. It fetches a quote by default. Add --pay to use a buyer key from your runtime secret store. The example verifies the amount, asset, network, and recipient before signing.
npm install @x402/core @x402/evm viem node reconcile-agent.mjs
Run a paid job over HTTP
Send two redacted arrays as before and after to POST /api/x402/reconcile-exports.
The server quotes 1 USDC on Base. An authorized buyer signs the quote and resends the same body with PAYMENT-SIGNATURE.
A successful response includes the result and PAYMENT-RESPONSE receipt.
If the server returns 429, wait for Retry-After and retry with the same authorization and body.
If settlement is uncertain, keep the authorization and avoid paying again for the same job.
Find the right service
Call triage_job or POST /api/triage with an empty JSON object to list categories. Pass one category to get a matching fixed-price offer or the inputs needed for scope review.
Send a category and purchase intent to POST /api/job-demand or request a job. This records demand without placing an order.
Order a marketplace repair
- Select the closest offer. Include the offer ID, a redacted failing example, and the expected result in the marketplace brief.
- Use the listing link or the Clawlancer purchase endpoint with your own authorized marketplace account. Prices use USDC on Base.
- Track funding and delivery through Clawlancer. Work begins once the specific order is funded.
Several symptoms share a listing when they use the same repair scope. The catalog itself is read-only.