{"uid":"cap_jDX-rt1PF1YfF0KjTgNTH","slug":"delx-array-uniq-b057e714","name":"Delx Array Uniq","description":"Deduplicate a list preserving order. Call when you unique agent keys without sorting. Returns unique 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/arr-uniq","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"items":{"type":"array","description":"Input field: items."}}},"responseSchema":{"type":"json","example":{"count":3,"items":[1,2,3],"schema":"delx/util-arr-uniq/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_Opl9dcjbCrAKNIpeLCsz_","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":"Deduplicate an array of items while preserving original order, returning unique items and their count","exampleAgentPrompt":"Can you deduplicate this list for me and tell me how many unique items there are? The list is: [\"apple\", \"banana\", \"apple\", \"cherry\", \"banana\", \"date\"]","exampleUseCases":[{"title":"Deduplicating agent task keys","prompt":"I have a list of agent task IDs that might have duplicates: [\"task-001\", \"task-002\", \"task-001\", \"task-003\", \"task-002\"]. Can you remove the duplicates while keeping them in the original order?"},{"title":"Cleaning up tag list for content","prompt":"I've collected these tags from multiple sources and need to remove duplicates without reordering them: [\"javascript\", \"react\", \"javascript\", \"css\", \"react\", \"html\"]. Can you deduplicate them for me?"},{"title":"Unique user ID list from merged sources","prompt":"I merged two user ID lists and ended up with duplicates: [\"user_42\", \"user_17\", \"user_42\", \"user_99\", \"user_17\"]. Please give me just the unique IDs in the order they first appeared."}],"resultDescription":"Returns a JSON object containing an array of unique items in their original insertion order and a count of how many unique items were found, with no sorting applied.","failureModes":["Missing or empty items array returns an error or empty result","Non-array input type causes a validation error","Payment failure via x402 blocks the request","Malformed JSON body returns a 400-level error"],"whenToPreferThis":"Choose this endpoint when you need fast, order-preserving deduplication of a simple array without any sorting, grouping, or complex logic. It is ideal for lightweight agent pipelines that need to deduplicate keys, IDs, tags, or strings locally without retaining data or requiring authentication beyond the x402 micropayment. Prefer it over custom code when you want a cheap, stateless, side-effect-free deduplication step in an automated workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:48:03.169Z","isFirstParty":false}