x402
utility

JSON Size Budget: measures compact UTF-8 JSON size against a byte budget using only bounded caller-supplied values. Call when you need a bounded json size budget result before an agent hands structured data or a batch plan to a downstream tool with a stricter contract. Returns the bounded transformation or validation finding with counts, normalized values, and a versioned result contract for JSON Size Budget as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base or Solana. First-party, stateless, memory-only execution with no paid upstream, live RPC, web search, credentials, custody, signing, media generator, or input retention. Honest limit: Processes bounded caller-supplied data in memory only; it performs no file fetch, database write, code execution, or retention. Advisory output only; the buyer owns authorization, payment policy, and production decisions.

post/api/v1/x402/json-size-budget

Request

  • Base URL: https://api.delx.ai
  • URL: https://api.delx.ai/api/v1/x402/json-size-budget
  • Auth: none declared

Request body

valueobject required

Value supplied to JSON Size Budget; used only for this bounded calculation and processed in memory without retention.

maximum_bytesinteger required

Maximum Bytes supplied to JSON Size Budget; used only for this bounded calculation and processed in memory without retention.

Response

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

schemastring
operationstring
statusstring

Changes

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