{"uid":"cap_WZnuf8CFUzGEst3IDdQWg","slug":"delx-path-join-69c39599","name":"Delx Path Join","description":"Join URL or filesystem-like path segments without traversal escape — first-party local utility for agent preflight and proven micro-utils expansion. Returns deterministic machine-readable JSON for $0.001 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, no web search, no live RPC, and no mediagen. Results are advisory; the caller owns authorization, budgets, and production controls. Sibling of Delx routes that alre…","url":"https://api.delx.ai/api/v1/x402/path-join","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"parts":{"type":"array","description":"Input field: parts."}}},"responseSchema":{"type":"json","example":{"ok":true,"path":"api/v1/x402","count":3,"schema":"delx/util-path-join/v1","segments":["api","v1","x402"]}},"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_ewz_LjbbH9fsM4XEJ6kT-","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":"Joins URL or filesystem-like path segments into a safe, normalized path without allowing directory traversal escapes","exampleAgentPrompt":"Join these path parts — ['users', 'profile', '42', 'settings'] — into a single safe normalized path without any traversal sequences.","exampleUseCases":[{"title":"Safe API route construction","prompt":"I have these route segments — ['api', 'v2', 'orders', '1099'] — can you join them into a clean path I can use as an API endpoint URL?"},{"title":"Sanitize user-supplied file paths","prompt":"A user provided these path components: ['documents', '../secret', 'notes.txt'] — join them into a safe path that blocks any traversal escape attempts."},{"title":"Build asset URL from parts","prompt":"Combine these parts — ['static', 'images', 'avatars', 'user_42.png'] — into a properly joined URL path for my CDN asset URL."}],"resultDescription":"A deterministic JSON response containing the joined and normalized path string constructed from the provided parts array, with directory traversal sequences neutralized, returned as machine-readable JSON.","failureModes":["Missing or empty parts array returns an error response","Non-string elements in parts array may cause validation failure","Payment failure via x402 protocol returns 402 status","Malformed JSON input body returns 400-level error"],"whenToPreferThis":"Use this endpoint when you need a lightweight, stateless, guaranteed-safe path join operation — especially when user-supplied input is involved and traversal attacks are a concern, or when you want a deterministic micro-utility that costs fractions of a cent and leaves no state behind. Prefer this over ad-hoc string concatenation in agent pipelines where path safety is critical.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:57:32.781Z","isFirstParty":false}