{"uid":"cap_i2h7GO4pq_qaauF5uyFo6","slug":"delx-seeded-feature-bucket-f69a72c7","name":"Delx Seeded Feature Bucket","description":"Seeded Feature Bucket: Seeded Feature Bucket maps a stable subject to an integer feature bucket from bounded caller-supplied values without an external provider. Call Seeded Feature Bucket 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 Feature Bucket as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, st…","url":"https://api.delx.ai/api/v1/x402/seeded-feature-bucket","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"seed":{"type":"string","maxLength":8192,"description":"Seed supplied to Seeded Feature Bucket; used only for this bounded calculation and processed in memory without retention."},"subject":{"type":"string","maxLength":8192,"description":"Subject supplied to Seeded Feature Bucket; used only for this bounded calculation and processed in memory without retention."},"bucket_count":{"type":"integer","description":"Bucket Count supplied to Seeded Feature Bucket; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"bucket":96,"bucket_count":100},"schema":"delx/util-seeded-feature-bucket/v1","status":"pass","evidence":{"retained":false,"input_sha256":"986a6fbe5cafd1cbc5f04ad6ed4a1f0314e97558cccc32a4843ec91f83e97521","external_calls":0},"operation":"seeded_decision:seeded_feature_bucket"}},"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_7B0HGNVazMz8-MD-TV-Vy","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 seed+subject pair to a numbered bucket for feature flagging and A/B test bucketing.","exampleAgentPrompt":"Using seed 'experiment-2024-launch' and bucket count 100, which bucket does user ID 'user_abc123' fall into for my feature rollout?","exampleUseCases":[{"title":"Canary deployment traffic split","prompt":"I'm rolling out a new feature to 10% of users — assign user ID 'u_8842xx' to one of 100 buckets using seed 'canary-v2' so I can decide if they're in the rollout group."},{"title":"A/B test variant assignment","prompt":"I need to consistently assign 'session_99fde' to either the control or treatment group — use seed 'ab-test-checkout-flow' with 2 buckets so the same session always gets the same variant."},{"title":"Multi-cohort experiment segmentation","prompt":"Divide customer 'cust_77712' into one of 5 cohorts for my pricing experiment using seed 'pricing-cohort-q3' and a bucket count of 5."}],"resultDescription":"Returns a JSON object with the assigned bucket index (0-based integer), the total bucket count, operation name, a pass status, and an evidence block confirming no data was retained and no external calls were made, plus an SHA-256 hash of the input for audit purposes.","failureModes":["Missing required fields (seed, subject, or bucket_count) results in a validation error","bucket_count of 0 or negative may cause a division error","Strings exceeding 8192 characters will be rejected","Malformed JSON body returns a 400-level error"],"whenToPreferThis":"Use this endpoint when you need stateless, deterministic, reproducible bucket assignment for feature flags, A/B tests, or canary rollouts — especially when you need an audit trail (input hash, no retention guarantee) and cannot tolerate side effects. Prefer it over custom hashing when you want a governed, evidence-backed computation with consistent results across agent calls.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:47:22.029Z","isFirstParty":false}