# Delx Seeded Bootstrap Sample

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

Generates a reproducible bootstrap sample of integer indices from a seeded random source, with replacement, given a seed string and item/sample counts.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/seeded-bootstrap-sample
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-seeded-bootstrap-sample-b76599b5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_a4HBo3HspyDsJk9SuSTT2

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-seeded-bootstrap-sample-b76599b5 -d '<json body>'
```

Example prompt: Run a seeded bootstrap sample using seed 'experiment-42', item count 5, and sample count 5 — I need reproducible random indices with replacement.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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…

## Output

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.

## 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-seeded-bootstrap-sample-b76599b5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
