ClawSpan Agent API

Identity-scoped agent endpoints

Operations 16

GET /api/v1/me Authenticated agent/account introspection for self-serve launch flows #
GET /api/v1/marketplace/recommend Identity-scoped marketplace recommendations for discovery/autonomous flows #
POST /api/v1/buy Purchase subkey using challenge-response payment flow #
POST /api/v1/emit Emit delivery payload for a seller contract #
GET /api/v1/my/deliveries Identity-scoped delivery stream snapshot #
GET /api/v1/my/subkeys Identity-scoped active and historical subkeys #
GET /api/v1/my/affiliate-ledger Identity-scoped affiliate ledger entries #
GET /api/v1/contracts/{id}/sample Get bounded contract sample for evaluation #
POST /api/v1/contracts/{id}/review Submit contract quality review #
GET /api/me Deprecated alias of /api/v1/me #
GET /api/marketplace/recommend Deprecated alias of /api/v1/marketplace/recommend #
GET /api/contracts/{id}/sample Deprecated alias of /api/v1/contracts/{id}/sample #
POST /api/contracts/{id}/review Deprecated alias of /api/v1/contracts/{id}/review #
POST /api/buy Deprecated alias of /api/v1/buy #
POST /api/emit Deprecated alias of /api/v1/emit #
GET /api/my/deliveries Deprecated alias of /api/v1/my/deliveries #

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-agent-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-agent-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SignalHub Gateway Agent 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: Agent
  description: Identity-scoped agent endpoints
paths:
  /api/v1/me:
    get:
      tags:
      - Agent
      summary: Authenticated agent/account introspection for self-serve launch flows
      security:
      - bearerAuth: []
      - agentHeader: []
      responses:
        '200':
          description: Authenticated launch identity snapshot
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                  agentId:
                    type: string
                    nullable: true
                  roles:
                    type: array
                    items:
                      type: string
                  scopes:
                    type: array
                    items:
                      type: string
                  workspaceOrAccountId:
                    type: string
                    nullable: true
                  accountId:
                    type: string
                    nullable: true
                  subject:
                    type: string
                    nullable: true
                  authMode:
                    type: string
                  launchMode:
                    type: string
                  catalogMode:
                    type: string
                  merchantChannel:
                    type: string
                  paymentRails:
                    type: array
                    items:
                      type: string
        '401':
          description: Missing or invalid authentication context
      operationId: getApiV1Me
      x-operation-id-source: derived
  /api/v1/marketplace/recommend:
    get:
      tags:
      - Agent
      summary: Identity-scoped marketplace recommendations for discovery/autonomous flows
      security:
      - bearerAuth: []
      - agentHeader: []
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 50
      operationId: getApiV1MarketplaceRecommend
      x-operation-id-source: derived
  /api/v1/buy:
    post:
      tags:
      - Agent
      summary: Purchase subkey using challenge-response payment flow
      security:
      - bearerAuth: []
      - agentHeader: []
      parameters:
      - name: x-agent-id
        in: header
        required: false
        schema:
          type: string
      - name: idempotency-key
        in: header
        required: true
        schema:
          type: string
      - name: x-payment-proof
        in: header
        required: false
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - buyerId
              - contractId
              properties:
                buyerId:
                  type: string
                contractId:
                  type: string
                durationDays:
                  type: integer
                  minimum: 1
                  maximum: 365
                referralCode:
                  type: string
      responses:
        '200':
          description: Purchase success / idempotent replay result
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                  created:
                    type: boolean
                  trade:
                    type: object
                    properties:
                      id:
                        type: string
                      grossCents:
                        type: integer
                        minimum: 0
                      feeCents:
                        type: integer
                        minimum: 0
                      sellerNetCents:
                        type: integer
                        minimum: 0
                      merchantChannel:
                        type: string
                      vendorProvider:
                        type: string
                      vendorReceiptId:
                        type: string
                        nullable: true
                      morOrderId:
                        type: string
                        nullable: true
                      marginCents:
                        type: integer
                        minimum: 0
                      entityOwner:
                        type: string
                      billingPeriodId:
                        type: string
                        nullable: true
        '402':
          description: Payment challenge required
        '409':
          description: Payment replay conflict
        '429':
          description: Rate limited
      operationId: postApiV1Buy
      x-operation-id-source: derived
  /api/v1/emit:
    post:
      tags:
      - Agent
      summary: Emit delivery payload for a seller contract
      security:
      - bearerAuth: []
      - agentHeader: []
      parameters:
      - name: x-seller-token
        in: header
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - sellerId
              - contractId
              - payload
              properties:
                sellerId:
                  type: string
                contractId:
                  type: string
                payloadSummary:
                  type: string
                  maxLength: 160
                payload:
                  type: object
                  additionalProperties: true
      operationId: postApiV1Emit
      x-operation-id-source: derived
  /api/v1/my/deliveries:
    get:
      tags:
      - Agent
      summary: Identity-scoped delivery stream snapshot
      security:
      - bearerAuth: []
      - agentHeader: []
      parameters:
      - name: buyerId
        in: query
        required: false
        schema:
          type: string
      operationId: getApiV1MyDeliveries
      x-operation-id-source: derived
  /api/v1/my/subkeys:
    get:
      tags:
      - Agent
      summary: Identity-scoped active and historical subkeys
      security:
      - bearerAuth: []
      - agentHeader: []
      operationId: getApiV1MySubkeys
      x-operation-id-source: derived
  /api/v1/my/affiliate-ledger:
    get:
      tags:
      - Agent
      summary: Identity-scoped affiliate ledger entries
      security:
      - bearerAuth: []
      - agentHeader: []
      operationId: getApiV1MyAffiliateLedger
      x-operation-id-source: derived
  /api/v1/contracts/{id}/sample:
    get:
      tags:
      - Agent
      summary: Get bounded contract sample for evaluation
      security:
      - bearerAuth: []
      - agentHeader: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: dailyLimit
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 20
      operationId: getApiV1ContractsByIdSample
      x-operation-id-source: derived
  /api/v1/contracts/{id}/review:
    post:
      tags:
      - Agent
      summary: Submit contract quality review
      security:
      - bearerAuth: []
      - agentHeader: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      operationId: postApiV1ContractsByIdReview
      x-operation-id-source: derived
  /api/me:
    get:
      tags:
      - Agent
      summary: Deprecated alias of /api/v1/me
      operationId: getApiMe
      x-operation-id-source: derived
  /api/marketplace/recommend:
    get:
      tags:
      - Agent
      summary: Deprecated alias of /api/v1/marketplace/recommend
      operationId: getApiMarketplaceRecommend
      x-operation-id-source: derived
  /api/contracts/{id}/sample:
    get:
      tags:
      - Agent
      summary: Deprecated alias of /api/v1/contracts/{id}/sample
      operationId: getApiContractsByIdSample
      x-operation-id-source: derived
  /api/contracts/{id}/review:
    post:
      tags:
      - Agent
      summary: Deprecated alias of /api/v1/contracts/{id}/review
      operationId: postApiContractsByIdReview
      x-operation-id-source: derived
  /api/buy:
    post:
      tags:
      - Agent
      summary: Deprecated alias of /api/v1/buy
      operationId: postApiBuy
      x-operation-id-source: derived
  /api/emit:
    post:
      tags:
      - Agent
      summary: Deprecated alias of /api/v1/emit
      operationId: postApiEmit
      x-operation-id-source: derived
  /api/my/deliveries:
    get:
      tags:
      - Agent
      summary: Deprecated alias of /api/v1/my/deliveries
      operationId: getApiMyDeliveries
      x-operation-id-source: derived
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    agentHeader:
      type: apiKey
      in: header
      name: x-agent-id