Api Endpoint

AveDaris Agent Utilities

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

Open interactive test console

Offering

Provider
api.avedaris.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Api
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.avedaris.com/v1/paid/ephemeral-utility
MIME type
application/json
First seen
2026-10-16T03:04:46.000Z
Last seen
Tags
agent-payments, ephemeral, Utility, issue, agent-tools

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.02 USDC
Atomic price: 20000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "20000",
    "payTo": "0x6c10344d3f96511438458e07a6f2be568a76dfff"
  }
]

Observed health

Status
Healthy
Latest latency
87 ms
Average latency
735 ms
HTTP status
204
Last checked
Reachability
100% over 12 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "POST"
      ]
    },
    "bodyType": {
      "type": "string",
      "enum": [
        "json",
        "form-data",
        "text"
      ]
    },
    "body": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "ttlSeconds",
        "maxInvocations",
        "plan"
      ],
      "properties": {
        "ttlSeconds": {
          "type": "integer",
          "minimum": 60,
          "maximum": 3600,
          "description": "Lease lifetime in whole seconds, 60 to 3,600."
        },
        "maxInvocations": {
          "type": "integer",
          "minimum": 1,
          "maximum": 10,
          "description": "How many times the issued capability token can be invoked, 1 to 10."
        },
        "plan": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "steps"
          ],
          "properties": {
            "steps": {
              "type": "array",
              "minItems": 1,
              "maxItems": 4,
              "items": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "utilityId",
                  "args"
                ],
                "properties": {
                  "utilityId": {
                    "type": "string",
                    "description": "Id of an approved local AUN utility to run in this step, e.g. text.slugify or base64.encode."
                  },
                  "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."
                  }
                }
              },
              "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."
        }
      }
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "maxInvocations": {
              "description": "How many times the issued capability token can be invoked, 1 to 10.",
              "maximum": 10,
              "minimum": 1,
              "type": "integer"
            },
            "plan": {
              "additionalProperties": false,
              "description": "Composition to run on each invocation: an object with 1 to 4 ordered steps.",
              "properties": {
                "steps": {
                  "description": "Ordered steps, 1 to 4. Each runs one approved local AUN utility.",
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "args": {
                        "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.",
                        "type": "object"
                      },
                      "utilityId": {
                        "description": "Id of an approved local AUN utility to run in this step, e.g. text.slugify or base64.encode.",
                        "type": "string"
                      }
                    },
                    "required": [
                      "utilityId",
                      "args"
                    ],
                    "type": "object"
                  },
                  "maxItems": 4,
                  "minItems": 1,
                  "type": "array"
                }
              },
              "required": [
                "steps"
              ],
              "type": "object"
            },
            "ttlSeconds": {
              "description": "Lease lifetime in whole seconds, 60 to 3,600.",
              "maximum": 3600,
              "minimum": 60,
              "type": "integer"
            }
          },
          "required": [
            "ttlSeconds",
            "maxInvocations",
            "plan"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "result": {
              "description": "Output of ephemeral.utility.issue. The fields below are the documented core; some responses add further detail fields.",
              "properties": {
                "activation": {
                  "description": "settlement_gated: activation waits for your payment to settle.",
                  "type": "string"
                },
                "capabilityToken": {
                  "description": "Bearer token for invokeUrl. Shown only in this response and cannot be retrieved again.",
                  "type": "string"
                },
                "expiresAt": {
                  "description": "null until payment settles and the lease activates; the expiry clock starts then.",
                  "type": "null"
                },
                "invokeUrl": {
                  "description": "URL to POST input to once the lease is active.",
                  "type": "string"
                },
                "leaseId": {
                  "description": "UUID of the lease.",
                  "type": "string"
                },
                "maxInvocations": {
                  "description": "How many invocations the token allows.",
                  "type": "integer"
                },
                "status": {
                  "description": "awaiting_settlement at issue time; the lease becomes usable after settlement.",
                  "type": "string"
                },
                "tokenNotice": {
                  "description": "returned_once_not_replayable: store the token now.",
                  "type": "string"
                },
                "ttlSeconds": {
                  "description": "Lease lifetime in seconds, as requested.",
                  "type": "integer"
                }
              },
              "required": [
                "leaseId",
                "capabilityToken",
                "invokeUrl",
                "ttlSeconds",
                "expiresAt",
                "maxInvocations",
                "status",
                "activation",
                "tokenNotice"
              ],
              "type": "object"
            }
          },
          "required": [
            "result"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}