x402
utility

Deterministic index from seed into [0,length). Call when you need stable A/B assignment without shared RNG state. Returns index, length, ok for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.

post/api/v1/x402/choice-index

Request

  • Base URL: https://api.delx.ai
  • URL: https://api.delx.ai/api/v1/x402/choice-index
  • Auth: none declared

Request body

lengthinteger required

Input field: length.

seedstring required

Input field: seed.

Response

Paid utility result. Downstream tool errors are returned as structured result payloads with HTTP 200 after payment succeeds.

schemastring
indexinteger
lengthinteger
okboolean

Changes

No recorded changes to this operation across all 1 revision of this API.