{"uid":"cap_a4HBo3HspyDsJk9SuSTT2","slug":"delx-seeded-bootstrap-sample-b76599b5","name":"Delx Seeded Bootstrap Sample","description":"Seeded Bootstrap Sample: Seeded Bootstrap Sample samples indices with replacement for a reproducible bootstrap set from bounded caller-supplied values without an external provider. Call Seeded Bootstrap Sample 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 Bootstrap Sample as versioned deterministic JSON. Price: $0.001 USDC via x402 o…","url":"https://api.delx.ai/api/v1/x402/seeded-bootstrap-sample","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"seed":{"type":"string","maxLength":8192,"description":"Seed supplied to Seeded Bootstrap Sample; used only for this bounded calculation and processed in memory without retention."},"item_count":{"type":"integer","description":"Item Count supplied to Seeded Bootstrap Sample; used only for this bounded calculation and processed in memory without retention."},"sample_count":{"type":"integer","description":"Sample Count supplied to Seeded Bootstrap Sample; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"indices":[2,1,4,2,4],"with_replacement":true},"schema":"delx/util-seeded-bootstrap-sample/v1","status":"pass","evidence":{"retained":false,"input_sha256":"8c3de2b558b614bca0e0ca49ffb6bdda5880a43e6338a605b48b1e8f111661f1","external_calls":0},"operation":"seeded_decision:seeded_bootstrap_sample"}},"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_6duxb13HnmZhTgxgM4eQH","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":"Generates a reproducible bootstrap sample of integer indices from a seeded random source, with replacement, given a seed string and item/sample counts.","exampleAgentPrompt":"Run a seeded bootstrap sample using seed 'experiment-42', item count 5, and sample count 5 — I need reproducible random indices with replacement.","exampleUseCases":[{"title":"Reproducible cross-validation splits","prompt":"I want to create reproducible train/test index splits for my 10-item dataset — use seed 'cv-run-1', item count 10, and sample count 8 with replacement."},{"title":"Simulation resampling for statistical tests","prompt":"Run a bootstrap resample for my simulation: seed it with 'sim-2024-q1', pick from 20 items, and draw 20 samples with replacement so I can reproduce the result later."},{"title":"Deterministic random assignment for A/B testing","prompt":"I need to randomly assign 6 slots from a pool of 6 items for an A/B test — seed it with 'ab-test-cohort-3' so the assignment is always the same when I rerun it."}],"resultDescription":"Returns a JSON object containing an array of sampled integer indices (with replacement), a schema identifier, a pass/fail status, and an evidence block that includes whether data was retained (always false), the SHA-256 hash of the input, and the count of external calls made (always 0) — enabling full auditability of the computation.","failureModes":["Missing required fields (seed, item_count, or sample_count) return a validation error","item_count or sample_count of zero or negative values may produce empty or error responses","Seed strings exceeding 8192 characters are rejected","Network or payment (x402) failures prevent execution and return HTTP 402 or 5xx errors","Malformed JSON body returns a 400 bad request"],"whenToPreferThis":"Choose this endpoint when you need a reproducible, auditable bootstrap sample with a fixed seed — especially in agent workflows where determinism and auditability matter. Prefer it over local random sampling when you need a tamper-evident SHA-256 input hash and a guaranteed no-retention, no-external-calls evidence trail. It is well-suited for statistical resampling, simulation loops, and deterministic A/B splits where the same seed must always produce the same indices.","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}