{"uid":"cap_NknbWymvnUsRJme1_L6Pi","slug":"delx-array-nth-710044a7","name":"Delx Array Nth","description":"Return the element at index. Call when you pick a specific agent-held array slot with bounds check. Returns value, index, ok 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-nth","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"index":{"type":"integer","description":"Input field: index."},"items":{"type":"array","description":"Input field: items."}}},"responseSchema":{"type":"json","example":{"ok":true,"index":1,"value":"b","schema":"delx/util-arr-nth/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_rTxmCvMYo09UKQHwFloIN","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":"Returns the element at a specific index in a JSON array, with bounds checking, for $0.001 USDC via x402 on Base.","exampleAgentPrompt":"From the array [\"apple\", \"banana\", \"cherry\", \"date\"], grab the element at index 2 and let me know if the index is valid.","exampleUseCases":[{"title":"Retrieve pipeline stage by position","prompt":"I have a pipeline stages array [\"ingest\", \"validate\", \"transform\", \"load\"] — get me the item at index 1 and confirm the index is in bounds."},{"title":"Safe slot access in agent memory","prompt":"My agent is holding this list [42, 7, 99, 13, 55] — fetch the element at position 4 with a bounds check so it doesn't crash if the index is wrong."},{"title":"Pick a rotation item from a list","prompt":"From this list of greetings [\"Hello\", \"Hi\", \"Hey\", \"Greetings\"], grab index 3 so I can rotate through them in sequence."}],"resultDescription":"Returns a JSON object containing the value at the requested index, the index itself, and a boolean ok field indicating whether the access was within bounds. No external network calls or data retention occur.","failureModes":["Index out of bounds returns ok: false with no value rather than an error crash","Non-integer index may cause a validation error","Empty array with any index returns ok: false","Malformed items array (non-array type) may return a 400 error"],"whenToPreferThis":"Use this endpoint when an AI agent needs to safely access a specific positional slot in a JSON array with explicit bounds checking, especially when the index may be dynamic or uncertain. Prefer this over raw code execution when operating in environments without code-running capabilities or when auditability of array access is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:14:55.795Z","isFirstParty":false}