{"uid":"cap_KGVqo5jSQIhrbzGEhnqS2","slug":"creator-desk-array-unique-utility-a57bf81e","name":"Creator Desk Array Unique Utility","description":"Machine-callable x402-paid utilities for autonomous agents.","url":"https://creator-desk-x402-isolated.onrender.com/v1/utility/array-unique?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{},"options":{"type":"object"}}},"responseSchema":{"type":"json","example":{"result":"example","operation":"array_unique"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uqvLgyFWtjJSt__XO_bIH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Removes duplicate elements from an array, returning only unique values via a micropayment-gated API call.","exampleAgentPrompt":"Take this array [1, 2, 2, 3, 3, 4] and remove all the duplicate values so I get back only the unique elements.","exampleUseCases":[{"title":"Deduplicate customer ID list","prompt":"I have this list of customer IDs from multiple data sources and there are tons of duplicates — can you run it through the unique filter so I only have one entry per customer? Here's the array: [101, 202, 101, 303, 202, 404]."},{"title":"Clean up tag arrays for publishing","prompt":"Before I publish these blog posts, I need to deduplicate the tags array for each one — can you strip out any repeated tag values from this list: ['javascript', 'node', 'javascript', 'api', 'node', 'web']?"},{"title":"Unique values for data pipeline normalization","prompt":"In my data pipeline, I'm getting repeated entries in event arrays — can you filter this array down to unique values only: ['click', 'scroll', 'click', 'hover', 'scroll', 'click']?"}],"resultDescription":"Returns a JSON object with a 'result' field containing the deduplicated array (only unique values retained) and an 'operation' field confirming 'array_unique'. The response confirms what transformation was performed and delivers the cleaned array.","failureModes":["Non-array input passed as value may return an error or unexpected result","Malformed JSON body results in a 400-level parse error","Payment not provided or insufficient USDC triggers a 402 Payment Required response","Options object with unsupported keys may be silently ignored or cause a validation error","Empty array input may return an empty result array"],"whenToPreferThis":"Choose this endpoint when you need a quick, stateless, pay-per-use array deduplication operation without standing up your own infrastructure. Particularly useful for AI agents operating autonomously that need lightweight utility computations on-demand with micropayment billing via x402 protocol.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:40:51.297Z","isFirstParty":false,"canonicalSlug":"creator-desk-array-unique-utility-a57bf81e"}