{"uid":"cap__OvUP1ETW29NSSrMn21m0","slug":"delx-seeded-consistent-shard-56325e2e","name":"Delx Seeded Consistent Shard","description":"Seeded Consistent Shard: Seeded Consistent Shard maps a stable key to one shard without mutable state from bounded caller-supplied values without an external provider. Call Seeded Consistent Shard 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 Consistent Shard as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First…","url":"https://api.delx.ai/api/v1/x402/seeded-consistent-shard","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"key":{"type":"string","maxLength":8192,"description":"Key supplied to Seeded Consistent Shard; used only for this bounded calculation and processed in memory without retention."},"seed":{"type":"string","maxLength":8192,"description":"Seed supplied to Seeded Consistent Shard; used only for this bounded calculation and processed in memory without retention."},"shard_count":{"type":"integer","description":"Shard Count supplied to Seeded Consistent Shard; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"shard":8,"shard_count":16},"schema":"delx/util-seeded-consistent-shard/v1","status":"pass","evidence":{"retained":false,"input_sha256":"3193822187c34bc2c5cf38dd467ce7ac4b223323e04a38e0cdc759a2a3dd8791","external_calls":0},"operation":"seeded_decision:seeded_consistent_shard"}},"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_feRGfgRwfZAdHO7gMo7_O","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 key to a consistent shard index using a seed and total shard count, with no data retention.","exampleAgentPrompt":"Assign the key 'user-98342' to one of 16 shards using the seed 'my-cluster-v2' so I can route it consistently every time.","exampleUseCases":[{"title":"Stable user-to-shard routing","prompt":"I need to consistently assign user ID 'usr-4421' to one of 32 shards using the seed 'prod-routing-v3' — make sure the same user always lands on the same shard."},{"title":"Reproducible A/B test bucket assignment","prompt":"Can you assign the session key 'sess-abc987' to one of 4 experiment buckets using the seed 'ab-test-june' so the same session always gets the same bucket?"},{"title":"Partitioning job keys across workers","prompt":"I have the job key 'job-batch-0091' and I want to deterministically assign it to one of 8 worker shards using the seed 'worker-pool-v1' so I know which worker should handle it."}],"resultDescription":"Returns the computed shard index for the given key (0-based, within shard_count), the shard_count used, operation status ('pass'), the schema identifier, a SHA-256 hash of the input for auditability, and confirmation that no data was retained and no external calls were made.","failureModes":["Missing required field (key, seed, or shard_count) returns a validation error","shard_count of 0 or negative may cause a division error","Excessively long key or seed strings (over 8192 chars) are rejected","Network timeout if the Delx API is unavailable"],"whenToPreferThis":"Use this endpoint when you need a fast, stateless, reproducible shard assignment for a key that must always map to the same bucket given the same seed and shard count — especially in agent workflows requiring consistent routing, partitioning, or load distribution without maintaining local hashing logic. Prefer over local hashing when you need auditable, seedable, in-memory-only computation with a verifiable input hash.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T19:00:51.247Z","isFirstParty":false}