# Delx Path Join

> Delx Path Join is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Joins URL or filesystem-like path segments into a safe, normalized path without allowing directory traversal escapes

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/path-join
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-path-join-69c39599
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WZnuf8CFUzGEst3IDdQWg

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability delx-path-join-69c39599 -d '<json body>'
```

Example prompt: Join these path parts — ['users', 'profile', '42', 'settings'] — into a single safe normalized path without any traversal sequences.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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…

## Output

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.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "parts": {
   "type": "array",
   "description": "Input field: parts."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "path": "api/v1/x402",
  "count": 3,
  "schema": "delx/util-path-join/v1",
  "segments": [
   "api",
   "v1",
   "x402"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-path-join-69c39599/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
