InputPOST /api/v1/x402/flatten1
{
"items": [
[
1,
2
],
[
3
],
4
]
}
Agent data quality · data-quality
Flatten one level of nested lists. Call when you normalize agent-held nested arrays before mapping. Returns flattened items and count 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.
One-command purchase
No account or API key. AgentCash reads the 402 challenge, pays no more than the declared cap, retries the request and returns the result.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/flatten1 -m POST -H 'x-delx-source: product-page' --max-amount 0.001 -b '{"items":[[1,2],[3],4]}'
{
"items": [
[
1,
2
],
[
3
],
4
]
}
{
"schema": "delx/util-flatten1/v1",
"items": [
1,
2,
3,
4
],
"count": 4
}
Machine-readable evidence