{"uid":"cap_QBZoDY3bHNuLjUmcUhrm7","slug":"one-engine-array-set-pack-tier-1-aaecdc0a","name":"ONE Engine Array Set Pack (Tier 1)","description":"Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.","url":"https://one-search.one-engine.workers.dev/v2/array-set-pack/t1?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"a":{"type":"array"},"b":{"type":"array"}}},"responseSchema":{"type":"json","example":{"tier":1,"result":"Tier-dependent output"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0007","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8GV6bH9VBlRgKEdsJhVCI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0007","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes set operations (pack) on two input arrays and returns a tier-dependent result, priced per call via x402 on Base.","exampleAgentPrompt":"Pack these two arrays together using ONE Engine's array-set-pack utility: array A is [1, 2, 3, 4] and array B is [3, 4, 5, 6] — give me the tier-1 packed result.","exampleUseCases":[{"title":"Deduplicating merged tag lists","prompt":"I have two lists of tags from different sources — [\"javascript\",\"python\",\"rust\"] and [\"python\",\"go\",\"rust\"] — can you pack them together and give me the combined unique set?"},{"title":"Combining inventory SKU arrays","prompt":"Pack these two SKU arrays from our warehouse systems: [\"SKU001\",\"SKU002\",\"SKU003\"] and [\"SKU002\",\"SKU004\",\"SKU005\"] so I get a single consolidated set without duplicates."},{"title":"Set-packing user permission arrays","prompt":"I need to merge two permission arrays for a user role — [\"read\",\"write\"] and [\"write\",\"execute\",\"delete\"] — run the array set pack on them and tell me the result."}],"resultDescription":"A JSON object containing a 'tier' field (integer, value 1 for this endpoint) and a 'result' field holding the tier-dependent packed set output derived from the two input arrays.","failureModes":["Missing or malformed 'a' or 'b' array fields returns an error","Payment failure via x402 prevents access to the endpoint","Non-array inputs for 'a' or 'b' may cause a validation error","Empty arrays may return an empty or trivial result","Network timeout on the Cloudflare Worker edge node"],"whenToPreferThis":"Choose this endpoint when you need a low-cost, pay-per-call set-pack operation on two arrays and are operating within an x402-enabled agent on Base. It is ideal for autonomous agents that need lightweight array set computation without standing up their own infrastructure, and when per-call micropayment billing is preferred over subscription pricing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:11.928Z","isFirstParty":false,"canonicalSlug":"one-engine-array-set-pack-tier-1-aaecdc0a"}