{"uid":"cap_HplS-DNxJqZUUPMBjvrGU","slug":"delx-commerce-seeded-queue-pick-b4b04924","name":"Delx Commerce Seeded Queue Pick","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/seeded-queue-pick?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"seed":{"type":"string","maxLength":8192,"description":"Seed supplied to Seeded Queue Pick; used only for this bounded calculation and processed in memory without retention."},"queues":{"type":"array","items":{"type":"string","maxLength":8192},"maxItems":256,"description":"Queues supplied to Seeded Queue Pick; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"index":0,"selected":"fast"},"schema":"delx/util-seeded-queue-pick/v1","status":"pass","evidence":{"retained":false,"input_sha256":"9b3ef1324230b469242f8c2b28232bcd414db5b4884968b8f132b504ea640cf6","external_calls":0},"operation":"seeded_decision:seeded_queue_pick"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_o_vV6naCv0NWsfBG335b2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Deterministically selects one item from a list of queues using a seed string, returning the index and value of the chosen item with verifiable evidence.","exampleAgentPrompt":"Pick one queue from this list — ['fast', 'slow', 'medium'] — using the seed 'agent-task-42', and show me which one was selected and its index.","exampleUseCases":[{"title":"Deterministic task routing for agent fleet","prompt":"I have three worker queues — 'alpha', 'beta', 'gamma' — and I need to route each incoming job reproducibly based on its job ID as the seed. Pick the right queue for job ID 'job-00781'."},{"title":"Seeded A/B variant assignment","prompt":"I'm running an experiment with two variants: 'control' and 'treatment'. Use the user ID 'usr_4829fa' as the seed to deterministically assign them to one of the variants."},{"title":"Verifiable load balancing decision","prompt":"Given the seed 'req-session-9912', pick one server from this pool: ['us-east-1', 'eu-west-2', 'ap-south-1'], and give me proof that no external calls were made during the decision."}],"resultDescription":"Returns a JSON object containing the selected queue item and its zero-based index, the operation name, a status field ('pass'), and an evidence block that includes a SHA-256 hash of the input, a flag confirming no data was retained, and a count of external calls made (always 0), providing full auditability of the deterministic selection.","failureModes":["Empty queues array returns an error or undefined selection","Seed exceeding 8192 characters may be rejected","Queues array exceeding 256 items will be rejected","Malformed JSON input returns a 400-level error","Network or payment failure (x402) prevents the call from completing"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, reproducible, and verifiable selection from a list of named queues or options — especially in agent workflows where auditability (via input hash and no-retention evidence) matters. Prefer it over random selection when the same seed must always yield the same result, and over client-side hashing when you want a pay-per-result, trustless proof of the computation without running code locally.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:26.499Z","isFirstParty":false,"canonicalSlug":"delx-commerce-seeded-queue-pick-b4b04924"}