{"uid":"cap_P70YI_0eist03Rdz05LHe","slug":"delx-seeded-shuffle-86659d17","name":"Delx Seeded Shuffle","description":"Seeded Shuffle: Seeded Shuffle produces a reproducible permutation of caller items from bounded caller-supplied values without an external provider. Call Seeded Shuffle 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 Shuffle as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, stateless, memory-only execut…","url":"https://api.delx.ai/api/v1/x402/seeded-shuffle","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"seed":{"type":"string","maxLength":8192,"description":"Seed supplied to Seeded Shuffle; used only for this bounded calculation and processed in memory without retention."},"items":{"type":"array","items":{"type":"string","maxLength":8192},"maxItems":256,"description":"Items supplied to Seeded Shuffle; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"count":4,"items":["c","d","a","b"]},"schema":"delx/util-seeded-shuffle/v1","status":"pass","evidence":{"retained":false,"input_sha256":"b0b0f77561c04919df180b7c85f4087b8944df4491dda150370c45e90452cad7","external_calls":0},"operation":"seeded_decision:seeded_shuffle"}},"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__0jHlzKf_Sz9dFcNDu194","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 shuffles a list of items using a provided seed string, returning a reproducible permutation in memory without retaining input data.","exampleAgentPrompt":"Shuffle this list — [\"apple\", \"banana\", \"cherry\", \"date\"] — using the seed \"abc123\" and give me back the reordered items.","exampleUseCases":[{"title":"Reproducible playlist ordering","prompt":"I have a list of songs [\"Song A\",\"Song B\",\"Song C\",\"Song D\"] and I want to shuffle them the same way every time for user ID 'user_42' — use that as the seed so each user always gets their own consistent order."},{"title":"Deterministic quiz question rotation","prompt":"Shuffle these quiz questions [\"Q1\",\"Q2\",\"Q3\",\"Q4\",\"Q5\"] using the seed \"session_2024_05\" so every student in the same session sees the same randomized order."},{"title":"Seeded random assignment for A/B testing","prompt":"I need to randomly assign these variants [\"control\",\"variant_a\",\"variant_b\"] to experiment bucket 'exp_99' — shuffle them with that bucket name as the seed so the assignment is reproducible."}],"resultDescription":"Returns a JSON object containing the shuffled array of items, the total count, a schema identifier, a pass/fail status, and an evidence block that confirms no data was retained, provides a SHA-256 hash of the input for auditability, and notes that zero external calls were made.","failureModes":["Items array exceeds 256 entries — request rejected","Individual item string exceeds 8192 characters — validation error","Seed string exceeds 8192 characters — validation error","Missing required fields (seed or items) — schema validation error","Network timeout on the API call — no result returned","Invalid JSON body — parse error response"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, reproducible shuffle — i.e., the same seed and list must always produce the same output. It is ideal for agent workflows requiring auditability (the evidence block confirms no retention and provides an input hash), reproducible randomization in A/B testing, session-consistent orderings, or any scenario where true randomness would break reproducibility. Prefer it over client-side shuffles when you need a signed, auditable, in-memory-only guarantee with no external side effects.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:14:58.434Z","isFirstParty":false}