{"uid":"cap_T0wgZhkmBE6OGFGLnRWFp","slug":"delx-seeded-permutation-index-031c31ab","name":"Delx Seeded Permutation Index","description":"Seeded Permutation Index: Seeded Permutation Index selects one reproducible permutation index within a caller count from bounded caller-supplied values without an external provider. Call Seeded Permutation Index when an agent needs a reproducible decision that another run can independently replay. Returns the deterministic selection plus seed provenance, population bounds, and the operation-specific outcome for Seeded Permutation Index as versioned deterministic JSON. Price: $0.001 USDC via x40…","url":"https://api.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_6b98AuzEyCSNEHL3xeESi","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 permutation index value using a seeded algorithm — no external calls, no data retention.","exampleAgentPrompt":"Using seed 'campaign-42' and a permutation count of 500, give me the deterministic permutation index so I can consistently assign this user to a bucket.","exampleUseCases":[{"title":"Stable A/B test bucket assignment","prompt":"I need to assign user 'usr_8821' to one of 10 experiment buckets reproducibly — use the seed 'usr_8821' with a permutation count of 10 to get the index."},{"title":"Seeded item selection from a list","prompt":"I have 250 items and want to pick one consistently based on the seed 'daily-promo-2024-06-15' — compute the permutation index for count 250 with that seed."},{"title":"Deterministic agent decision branching","prompt":"For agent session 'sess_alpha_7', I need a reproducible decision index out of 50 possible branches — run the seeded permutation with seed 'sess_alpha_7' and permutation count 50."}],"resultDescription":"Returns a JSON object containing a numeric permutation_index derived from the seed and count, the operation name, a SHA-256 hash of the input for auditability, confirmation that no data was retained and no external calls were made, and a pass/fail status.","failureModes":["Missing or empty seed string causes validation error","permutation_count of zero or negative integer may produce an error or undefined result","Seed exceeding 8192 characters will be rejected","Malformed JSON body returns 400 Bad Request","Payment not provided or insufficient USDC results in 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, reproducible integer index derived from a seed string and a count — ideal for stable bucketing, A/B assignment, seeded shuffle selection, or any agent workflow requiring consistent permutation results without external randomness sources. Prefer it over local PRNG implementations when auditability (via SHA-256 evidence) and in-memory-only processing guarantees matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T00:58:55.299Z","isFirstParty":false,"canonicalSlug":"delx-seeded-permutation-index-031c31ab"}