ClawSpan Delegation API

Agent delegation lease grant/revoke/list workflows

Operations 8

GET /api/v1/delegation/leases List delegation leases visible to the authenticated actor #
POST /api/v1/delegation/leases Create a delegation lease for scoped agent-to-agent execution #
POST /api/v1/delegation/leases/{id}/revoke Revoke a delegation lease #
GET /api/v1/my/delegation/leases Identity-scoped delegation lease list endpoint #
GET /api/delegation/leases Deprecated alias of /api/v1/delegation/leases #
POST /api/delegation/leases Deprecated alias of /api/v1/delegation/leases #
POST /api/delegation/leases/{id}/revoke Deprecated alias of /api/v1/delegation/leases/{id}/revoke #
GET /api/my/delegation/leases Deprecated alias of /api/v1/my/delegation/leases #

Documentation

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/clawspan-cloud:clawspan-cloud-delegation-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

clawspan-cloud-delegation-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SignalHub Gateway Delegation API
  version: 1.0.0-beta
  description: Agent-first signal exchange gateway API. Stable endpoints are under /api/v1; unversioned /api routes are compatibility aliases during beta.
servers:
- url: https://signalhub.clawspan.dev
tags:
- name: delegation
  description: Agent delegation lease grant/revoke/list workflows
paths:
  /api/v1/delegation/leases:
    get:
      tags:
      - delegation
      summary: List delegation leases visible to the authenticated actor
      security:
      - bearerAuth: []
      - agentHeader: []
      parameters:
      - name: includeExpired
        in: query
        required: false
        schema:
          type: boolean
      - name: includeRevoked
        in: query
        required: false
        schema:
          type: boolean
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 200
      operationId: getApiV1DelegationLeases
      x-operation-id-source: derived
    post:
      tags:
      - delegation
      summary: Create a delegation lease for scoped agent-to-agent execution
      security:
      - bearerAuth: []
      - agentHeader: []
      operationId: postApiV1DelegationLeases
      x-operation-id-source: derived
  /api/v1/delegation/leases/{id}/revoke:
    post:
      tags:
      - delegation
      summary: Revoke a delegation lease
      security:
      - bearerAuth: []
      - agentHeader: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          minLength: 3
          maxLength: 120
      operationId: postApiV1DelegationLeasesByIdRevoke
      x-operation-id-source: derived
  /api/v1/my/delegation/leases:
    get:
      tags:
      - delegation
      summary: Identity-scoped delegation lease list endpoint
      security:
      - bearerAuth: []
      - agentHeader: []
      operationId: getApiV1MyDelegationLeases
      x-operation-id-source: derived
  /api/delegation/leases:
    get:
      tags:
      - delegation
      summary: Deprecated alias of /api/v1/delegation/leases
      operationId: getApiDelegationLeases
      x-operation-id-source: derived
    post:
      tags:
      - delegation
      summary: Deprecated alias of /api/v1/delegation/leases
      operationId: postApiDelegationLeases
      x-operation-id-source: derived
  /api/delegation/leases/{id}/revoke:
    post:
      tags:
      - delegation
      summary: Deprecated alias of /api/v1/delegation/leases/{id}/revoke
      operationId: postApiDelegationLeasesByIdRevoke
      x-operation-id-source: derived
  /api/my/delegation/leases:
    get:
      tags:
      - delegation
      summary: Deprecated alias of /api/v1/my/delegation/leases
      operationId: getApiMyDelegationLeases
      x-operation-id-source: derived
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    agentHeader:
      type: apiKey
      in: header
      name: x-agent-id