{"uid":"cap_iHN-83eHjiZqFL4objXtb","slug":"delx-commerce-seeded-permutation-index-95686c51","name":"Delx Commerce — Seeded Permutation Index","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-permutation-index?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"seed":{"type":"string","maxLength":8192,"description":"Seed supplied to Seeded Permutation Index; used only for this bounded calculation and processed in memory without retention."},"permutation_count":{"type":"integer","description":"Permutation Count supplied to Seeded Permutation Index; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"cryptographic":false,"permutation_index":630},"schema":"delx/util-seeded-permutation-index/v1","status":"pass","evidence":{"retained":false,"input_sha256":"937802095c874e8dbf650e4af5cd07ddb5c7691d8eb727c6466e648e0050b056","external_calls":0},"operation":"seeded_decision:seeded_permutation_index"}},"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_CLg6L_pD37QARaj7vUeRx","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":"Given a seed string and a count, deterministically computes a bounded permutation index using a seeded algorithm, with verifiable evidence of no data retention.","exampleAgentPrompt":"Using the seed 'morning-shuffle-42' and a permutation count of 1000, compute a deterministic seeded permutation index for me — I need it to be reproducible and verifiably processed without retaining my input.","exampleUseCases":[{"title":"Reproducible agent decision slot selection","prompt":"I need to deterministically pick a slot index from 500 options using the seed 'campaign-batch-run-7' — give me the permutation index so I get the same result every time I run this."},{"title":"Fair verifiable lottery position assignment","prompt":"Assign a verifiable position index within 10000 entries for the seed 'user-id-alpha-9932' — I need proof that no data was retained and the result is reproducible."},{"title":"Seeded A/B test variant selection","prompt":"Given the seed 'experiment-cohort-blue-2024' and 4 variants, compute which permutation index to assign so my A/B test bucketing is deterministic and auditable."}],"resultDescription":"Returns a JSON object containing the computed permutation_index (integer), a cryptographic flag indicating whether cryptographic methods were used, a status of 'pass', and an evidence block with the SHA-256 hash of the input, a flag confirming no data was retained, and a count of zero external calls made — enabling full auditability of the computation.","failureModes":["Missing or empty seed string causes validation error","permutation_count not provided or non-integer causes rejection","permutation_count of zero or negative may produce undefined behavior","Payment failure via x402 protocol blocks the call","Seed string exceeding 8192 characters is rejected"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, reproducible permutation index derived from a seed with verifiable evidence of no data retention — particularly in agent workflows requiring auditable pseudorandom selection, fair slot assignment, or reproducible decision-making without trusting an opaque RNG. Prefer it over in-process RNG when you need an externally verifiable audit trail or when cryptographic-grade evidence of computation honesty matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:57:46.327Z","isFirstParty":false,"canonicalSlug":"delx-commerce-seeded-permutation-index-95686c51"}