{
"items": [
[
1,
2
],
[
3
],
4
]
}
Portable intent card · data-quality
JSON Array Flatten One API for agents
JSON Array Flatten One: JSON Array Flatten One flattens exactly one nesting level from a JSON array from bounded caller-supplied values without an external provider. Call JSON Array Flatten One 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 Array Flatten One as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. 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.
Intent to transaction
One command, attributed.
The source header follows this discovery route through challenge, payment and delivery without exposing the buyer or request body.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/json-array-flatten-one -m POST -H 'x-delx-source: intent-card-json-array-flatten-one-api' --max-amount 0.001 -b '{"items":[[1,2],[3],4]}'
{
"intent": "JSON Array Flatten One for an agent workflow",
"tool_name": "util_json_array_flatten_one",
"price_usdc": "0.001",
"machine_url": "https://commerce.delx.ai/intents/json-array-flatten-one-api.json"
}
Portable and inspectable