{"uid":"cap_fU3fKRWKcm8uyn74Y4DfB","slug":"delx-set-intersect-2bb50b8e","name":"Delx Set Intersect","description":"Set intersection of two lists. Call when you find shared agent tags/IDs. Returns intersection 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.","url":"https://api.delx.ai/api/v1/x402/set-intersect","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"a":{"type":"array","description":"Input field: a."},"b":{"type":"array","description":"Input field: b."}}},"responseSchema":{"type":"json","example":{"count":1,"items":[2],"schema":"delx/util-set-intersect/v1"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_a6HMrFHK63dMqHFVPCMd1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the intersection of two arrays, returning only the elements present in both lists along with the count.","exampleAgentPrompt":"Find me the common elements between these two lists: [\"agent-1\", \"agent-2\", \"agent-5\"] and [\"agent-2\", \"agent-3\", \"agent-5\"] — tell me what's in both and how many there are.","exampleUseCases":[{"title":"Shared agent tags across pipelines","prompt":"I have two agent pipelines each with their own tag lists — pipeline A has [\"billing\", \"kyc\", \"fraud\", \"onboarding\"] and pipeline B has [\"fraud\", \"kyc\", \"payments\"] — tell me which tags are active in both."},{"title":"Deduplicating common user IDs","prompt":"Given these two user ID lists from different data sources — [\"u1\",\"u2\",\"u3\",\"u7\"] and [\"u3\",\"u5\",\"u7\",\"u9\"] — which IDs appear in both so I know which users exist in both systems?"},{"title":"Matching feature flags across environments","prompt":"I have feature flags enabled in staging: [\"dark-mode\",\"new-checkout\",\"beta-api\"] and in production: [\"new-checkout\",\"analytics-v2\",\"dark-mode\"] — what flags are on in both environments?"}],"resultDescription":"Returns the list of elements that appear in both input arrays (the intersection) and an integer count of how many shared elements were found. No data is retained server-side; computation is local and first-party.","failureModes":["Missing or non-array input for field 'a' or 'b' returns a validation error","Empty arrays on either side return an empty intersection with count 0","Payment failure via x402 (insufficient USDC balance or network issue) results in a 402 response before computation","Duplicate handling within a single array may affect intersection count depending on implementation"],"whenToPreferThis":"Choose this endpoint when you need a fast, stateless, paid-per-call set intersection without building custom logic — especially useful in agent pipelines that need to find shared tags, IDs, or labels across two collections. Prefer it over manual filtering when you want a reliable, auditable micro-utility with no server-side data retention and a predictable $0.001 USDC cost per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:49:24.757Z","isFirstParty":false}