{"uid":"cap_fK5mif20bDylv0PH9fQNc","slug":"delx-array-reverse-fabdde93","name":"Delx Array Reverse","description":"Reverse a list. Call when you need reverse chronological agent logs. Returns reversed 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-reverse?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"items":{"type":"array","description":"Input field: items."}}},"responseSchema":{"type":"json","example":{"count":3,"items":[3,2,1],"schema":"delx/util-arr-reverse/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_Yx6KH2jtdZc0uOg_sul-R","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":"Reverses the order of a JSON array, returning the reversed list and its count","exampleAgentPrompt":"Reverse this list of agent log entries for me so I can read them in reverse chronological order: [\"step 1: initialized\", \"step 2: fetched data\", \"step 3: processed result\"].","exampleUseCases":[{"title":"Reverse chronological agent logs","prompt":"I have these agent run logs in order from oldest to newest — can you flip them so I see the most recent steps first? Here they are: [\"startup\", \"fetch\", \"parse\", \"respond\", \"shutdown\"]"},{"title":"Invert task queue order","prompt":"My task queue has items lined up in creation order, but I need to process them last-in-first-out. Can you reverse this list for me: [\"task-001\", \"task-002\", \"task-003\", \"task-004\"]?"},{"title":"Display ranking in descending order","prompt":"I have a leaderboard sorted from worst to best score: [\"Alice\", \"Bob\", \"Carol\", \"Dave\"]. Can you reverse it so the top scorer appears first?"}],"resultDescription":"Returns the input array with all elements in reversed order, along with a count of the number of items in the array. No data is retained after the response.","failureModes":["Missing or non-array 'items' field returns a validation error","Empty array input may return an empty reversed array with count 0","Payment failure via x402 protocol blocks the request before processing","Very large arrays may hit request size limits"],"whenToPreferThis":"Choose this endpoint when you need a simple, stateless, low-cost array reversal with no server-side retention and no authentication overhead. Ideal for agents that need to flip chronological sequences such as logs, event histories, or ranked lists on the fly. Prefer it over implementing reversal logic client-side when working within an x402-native micropayment workflow on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T07:00:29.637Z","isFirstParty":false,"canonicalSlug":"delx-array-reverse-fabdde93"}