# AveDaris Ephemeral Utility Lease

> AveDaris Ephemeral Utility Lease is a paid API for AI agents from api.avedaris.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-28).

Creates a time-limited, invocation-capped capability token that executes a composed sequence of 1–4 approved local AUN utilities on demand, gated by x402 payment settlement.

## Facts

- Endpoint: POST https://api.avedaris.com/v1/paid/ephemeral-utility?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/avedaris-ephemeral-utility-lease-6822a15e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sh3KEIFEr64aqDmRAW1yZ

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 avedaris-ephemeral-utility-lease-6822a15e -d '<json body>'
```

Example prompt: Set up an ephemeral utility lease that chains a JSON repair step followed by a text slugify step, valid for 5 minutes with up to 3 invocations.

## When to prefer this

Choose this endpoint when an agent needs to pre-compose a reusable but temporary pipeline of approved AUN utilities and expose it as a single callable URL with a fixed invocation budget and expiry — particularly useful for delegating a capped execution right to another agent or system without exposing full credentials. Prefer this over direct utility calls when you need settlement-gated access control, a fixed invocation cap, or a short-lived shareable endpoint.

## Known failure modes

- Invalid utilityId references an unapproved or unknown AUN utility — request rejected
- Forward references in step args (referencing a later step's output) — request rejected
- TTL outside 60–3600 seconds range — validation error
- maxInvocations outside 1–10 range — validation error
- More than 4 steps in the plan — validation error
- Payment settlement not received — capability token remains in awaiting_settlement state and invoke URL is not activated
- Capability token already used the maximum number of times — invocation rejected
- Lease expired — invoke URL no longer valid

## How this service works

Issue a short-lived capability-token lease for a bounded declarative composition of approved AUN local utilities. $0.02 USDC per call on Base.

## Output

Returns a JSON object containing a capability token (returned once, non-replayable), a lease ID, an invoke URL for subsequent calls, the TTL in seconds, the max invocations allowed, an activation status of 'settlement_gated', and an expiry timestamp that populates after settlement.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "plan": {
   "type": "object",
   "required": [
    "steps"
   ],
   "properties": {
    "steps": {
     "type": "array",
     "items": {
      "type": "object",
      "required": [
       "utilityId",
       "args"
      ],
      "properties": {
       "args": {
        "type": "object",
        "description": "Arguments for the step's utility. A value may be a literal or a reference object {\"$ref\": \"input.<field>\"}, {\"$ref\": \"prev.<field>\"} or {\"$ref\": \"steps.<n>.<field>\"}; forward references are rejected."
       },
       "utilityId": {
        "type": "string",
        "description": "Id of an approved local AUN utility to run in this step, e.g. text.slugify or base64.encode."
       }
      },
      "additionalProperties": false
     },
     "maxItems": 4,
     "minItems": 1,
     "description": "Ordered steps, 1 to 4. Each runs one approved local AUN utility."
    }
   },
   "description": "Composition to run on each invocation: an object with 1 to 4 ordered steps.",
   "additionalProperties": false
  },
  "ttlSeconds": {
   "type": "integer",
   "maximum": 3600,
   "minimum": 60,
   "description": "Lease lifetime in whole seconds, 60 to 3,600."
  },
  "maxInvocations": {
   "type": "integer",
   "maximum": 10,
   "minimum": 1,
   "description": "How many times the issued capability token can be invoked, 1 to 10."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "status": "awaiting_settlement",
   "leaseId": "00000000-0000-4000-8000-000000000000",
   "expiresAt": null,
   "invokeUrl": "https://api.avedaris.com/v1/ephemeral/00000000-0000-4000-8000-000000000000/invoke",
   "activation": "settlement_gated",
   "ttlSeconds": 300,
   "tokenNotice": "returned_once_not_replayable",
   "maxInvocations": 2,
   "capabilityToken": "eph_returned_once"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/avedaris-ephemeral-utility-lease-6822a15e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.avedaris.com](https://www.zero.xyz/host/api.avedaris.com/llms.txt)
