{"uid":"cap_EhPgTlxgAjkYonK8o4sVL","slug":"delx-commerce-seeded-canary-sequence-d146d0f3","name":"Delx Commerce — Seeded Canary Sequence","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-canary-sequence?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"seed":{"type":"string","maxLength":8192,"description":"Seed supplied to Seeded Canary Sequence; used only for this bounded calculation and processed in memory without retention."},"subjects":{"type":"array","items":{"type":"string","maxLength":8192},"maxItems":256,"description":"Subjects supplied to Seeded Canary Sequence; used only for this bounded calculation and processed in memory without retention."},"stage_sizes":{"type":"array","items":{"type":"integer"},"maxItems":256,"description":"Stage Sizes supplied to Seeded Canary Sequence; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"stages":[["s3"],["s2"],["s4","s1"]],"unassigned":[]},"schema":"delx/util-seeded-canary-sequence/v1","status":"pass","evidence":{"retained":false,"input_sha256":"b7c4baf8edc708c4cf95b7a38dca0834e87950d8893128fa9f9eccacac92ccce","external_calls":0},"operation":"seeded_decision:seeded_canary_sequence"}},"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_ZiQcH0zS_yby_QPGKQIW2","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 assigns a list of subjects to ordered stages using a seed, returning a reproducible staged grouping with cryptographic evidence of non-retention.","exampleAgentPrompt":"Using the seeded canary sequence, assign these 5 services — ['svc-a', 'svc-b', 'svc-c', 'svc-d', 'svc-e'] — to three stages of sizes [1, 2, 2] using the seed 'release-42', and give me the reproducible stage groupings.","exampleUseCases":[{"title":"Staged canary deployment planning","prompt":"I need to roll out a new feature to our 8 backend services in three canary stages of sizes 2, 3, and 3. Use seed 'deploy-2024-q2' to assign services ['api-gateway','auth-service','billing','notifier','scheduler','worker-a','worker-b','cache'] to stages reproducibly."},{"title":"Seeded A/B experiment group assignment","prompt":"Assign these 6 experiment participants ['alice','bob','carol','dave','eve','frank'] to two groups of 3 using the seed 'exp-pilot-01' so I can reproduce the same grouping later for analysis."},{"title":"Reproducible host rotation for load testing","prompt":"I want to deterministically assign 10 test hosts to a canary sequence with stage sizes [3, 4, 3] using the seed 'loadtest-sep' — the host list is ['h1','h2','h3','h4','h5','h6','h7','h8','h9','h10']."}],"resultDescription":"Returns a JSON object containing a 'stages' array where each element is a list of subjects assigned to that stage, an 'unassigned' array for any subjects not fitting a stage, the operation name, schema version, a 'pass' status, and a cryptographic evidence block including the SHA-256 hash of the input, confirmation that no data was retained, and a count of zero external calls made.","failureModes":["Invalid or missing seed causes malformed request error","stage_sizes array sum exceeds subjects count, leading to partial or empty stages","subjects array exceeds 256-item limit returns validation error","Payment failure via x402 protocol blocks execution before computation","Malformed input types (non-string subjects or non-integer stage sizes) return schema validation errors"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, reproducible, verifiable assignment of subjects to ordered stages — especially for canary deployments, staged feature rollouts, or reproducible experiment group partitioning — where cryptographic evidence of non-data-retention matters. Prefer it over local random shuffles when you want pay-per-result accountability and a verifiable audit trail (input hash, zero external calls) without storing any input data server-side.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:51.973Z","isFirstParty":false,"canonicalSlug":"delx-commerce-seeded-canary-sequence-d146d0f3"}