{"uid":"cap_hOId108i8Hi4gzrdFnzAE","slug":"delx-commerce-seeded-bootstrap-sample-e2f4413a","name":"Delx Commerce — Seeded Bootstrap Sample","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/seeded-bootstrap-sample?utm_source=zero.xyz","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_vPzLfNlMdvdUFAAfbL7-q","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 indices given a seed, item count, and sample count, returning the sampled indices with verifiable evidence of no data retention.","exampleAgentPrompt":"Run a seeded bootstrap sample using seed 'experiment-42', picking 5 samples from a pool of 10 items, and give me the resulting indices.","exampleUseCases":[{"title":"Reproducible ML cross-validation splits","prompt":"I need to create a reproducible bootstrap sample for cross-validation — use seed 'cv-run-7', draw 100 samples from 500 items, and return the indices so I can replicate this experiment later."},{"title":"Auditable A/B test randomization","prompt":"For our A/B test audit, generate a seeded bootstrap sample with seed 'ab-test-2024-q1', selecting 50 samples out of 200 items, so we can verify the randomization was fair."},{"title":"Statistical bootstrap confidence interval","prompt":"I want to compute a bootstrap confidence interval — give me 1000 bootstrap sample indices drawn from 80 observations using seed 'bootstrap-ci-99'."}],"resultDescription":"Returns a JSON object containing an array of sampled indices (with replacement), a schema identifier, a status field ('pass'), and an evidence block that includes the input SHA256 hash, a flag confirming no data was retained, and the count of external calls made (always 0). This allows full auditability and reproducibility of the bootstrap draw.","failureModes":["Invalid or missing seed string causes a validation error","item_count or sample_count not provided as integers results in schema validation failure","Extremely large item_count or sample_count values may exceed bounded computation limits","Payment failure via x402 protocol results in 402 response before computation begins","Malformed request body returns a 400 error"],"whenToPreferThis":"Choose this endpoint when you need a verifiable, reproducible bootstrap sample with cryptographic evidence of no data retention — especially useful for auditable machine learning experiments, statistical resampling, or any workflow where reproducibility and tamper-evidence matter. Prefer this over a local random sampler when you need a pay-per-use, zero-signup, on-chain verifiable result delivered via x402 micropayment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:47.535Z","isFirstParty":false,"canonicalSlug":"delx-commerce-seeded-bootstrap-sample-e2f4413a"}