# Delx Commerce — Seeded Bootstrap Sample

> Delx Commerce — Seeded Bootstrap Sample is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

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.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/seeded-bootstrap-sample?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-seeded-bootstrap-sample-e2f4413a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hOId108i8Hi4gzrdFnzAE

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability delx-commerce-seeded-bootstrap-sample-e2f4413a -d '<json body>'
```

Example prompt: Run a seeded bootstrap sample using seed 'experiment-42', picking 5 samples from a pool of 10 items, and give me the resulting indices.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "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"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-seeded-bootstrap-sample-e2f4413a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
