# Delx Random UUID v4

> Delx Random UUID v4 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-16).

Generates a random RFC 4122 UUID v4 and returns it in multiple formats (uuid, hyphenated, hex, URN) as machine-readable JSON

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/random-uuid-v4
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-random-uuid-v4-4fb0f13f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_A4GSs219h2SbcxkVbWCUW

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-random-uuid-v4-4fb0f13f -d '<json body>'
```

Example prompt: Generate a fresh RFC 4122 UUID v4 for me — I need it as a correlation ID for my next agent request, and I want it back in hyphenated, hex, and URN formats.

## When to prefer this

Choose this endpoint when you need a stateless, server-side RFC 4122 UUID v4 with no dependencies, no input required, and multi-format output (hex, URN, hyphenated) in a single call — especially when already using the Delx micro-utils suite for agent preflight or orchestration correlation. Prefer it over client-side UUID libraries when you need a pay-per-use auditable generation event or when operating in environments where client-side randomness is not trusted.

## Known failure modes

- Malformed request body returns an error if the JSON is invalid
- Network or gateway timeouts if the endpoint is temporarily unavailable
- Payment failure via x402 if the caller's USDC balance on Base is insufficient for the $0.001 fee
- Rate limiting if too many requests are sent in rapid succession

## How this service works

Generate a random RFC 4122 UUID v4 for agent correlation IDs — 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 already co…

## Output

A JSON object containing the UUID v4 in multiple representations: a standard hyphenated string (e.g. 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'), a plain hex string without hyphens, a URN-formatted string (urn:uuid:...), the version number (4), the variant identifier, and a schema descriptor. All fields are machine-readable and suitable for direct use as correlation IDs, request tags, or unique keys.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [],
     "properties": {},
     "additionalProperties": true
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "const": "POST"
    },
    "bodyType": {
     "type": "string",
     "const": "json"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "properties": {
      "hex": {
       "type": "string"
      },
      "urn": {
       "type": "string"
      },
      "uuid": {
       "type": "string"
      },
      "schema": {
       "type": "string"
      },
      "variant": {
       "type": "string"
      },
      "version": {
       "type": "integer"
      },
      "hyphenated": {
       "type": "string"
      }
     },
     "description": "Bounded first-party JSON result; input is processed in memory and not retained.",
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "hex": "1c2ea1359c5c4ec9b42f73f42e9eaec2",
  "urn": "urn:uuid:1c2ea135-9c5c-4ec9-b42f-73f42e9eaec2",
  "uuid": "1c2ea135-9c5c-4ec9-b42f-73f42e9eaec2",
  "schema": "delx/util-random-uuid-v4/v1",
  "variant": "RFC4122",
  "version": 4,
  "hyphenated": "1c2ea135-9c5c-4ec9-b42f-73f42e9eaec2"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-random-uuid-v4-4fb0f13f/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)
