Satledger Agents API

The Agents API from Satledger — 9 operation(s) for agents.

GitHub OpenAPI

Operations 11

GET /agents List Agents #
POST /agents Create Agent #
GET /agents/{agent_id} Describe Agent #
POST /agents/{agent_id}/grants Grant Credits #
POST /agents/{agent_id}/usage Record Usage #
POST /agents/{agent_id}/actions Record Action #
GET /agents/{agent_id}/actions List Actions #
POST /agents/{agent_id}/anchor Build Anchor #
GET /agents/{agent_id}/anchors List Anchors #
POST /agents/{agent_id}/export Export Bundle #
GET /agents/{agent_id}/export.zip Export Bundle Zip #

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/satledger-org:satledger-org-agents-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

satledger-org-agents-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: satledger Agents API
  description: Verifiable usage ledgers for AI agents, built on SATROOT.
  version: 0.22.2
tags:
- name: Agents
paths:
  /agents:
    get:
      summary: List Agents
      operationId: list_agents_agents_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response List Agents Agents Get
      security:
      - APIKeyHeader: []
      tags:
      - Agents
    post:
      summary: Create Agent
      operationId: create_agent_agents_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAgentRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Create Agent Agents Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - APIKeyHeader: []
      tags:
      - Agents
  /agents/{agent_id}:
    get:
      summary: Describe Agent
      operationId: describe_agent_agents__agent_id__get
      security:
      - APIKeyHeader: []
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
          title: Agent Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Describe Agent Agents  Agent Id  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agents
  /agents/{agent_id}/grants:
    post:
      summary: Grant Credits
      operationId: grant_credits_agents__agent_id__grants_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
          title: Agent Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AmountRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Grant Credits Agents  Agent Id  Grants Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agents
  /agents/{agent_id}/usage:
    post:
      summary: Record Usage
      description: 'Burn credits from the agent''s account.


        The bare "insufficient balance" this used to return is the most

        misleading answer this service can give. It is the first thing a new

        customer does after buying, and it tells someone who has just paid that

        they are out of money. The real cause is almost always that

        `initial_credits` at agent creation mints supply to the workspace

        issuer and does not credit the agent, so the agent''s own balance is

        zero until `grants` moves units across. The name promises otherwise.


        Five workspaces were bought and none ever recorded an event.'
      operationId: record_usage_agents__agent_id__usage_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
          title: Agent Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AmountRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Record Usage Agents  Agent Id  Usage Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agents
  /agents/{agent_id}/actions:
    post:
      summary: Record Action
      operationId: record_action_agents__agent_id__actions_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
          title: Agent Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ActionRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Record Action Agents  Agent Id  Actions Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agents
    get:
      summary: List Actions
      operationId: list_actions_agents__agent_id__actions_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
          title: Agent Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response List Actions Agents  Agent Id  Actions Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agents
  /agents/{agent_id}/anchor:
    post:
      summary: Build Anchor
      operationId: build_anchor_agents__agent_id__anchor_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
          title: Agent Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Build Anchor Agents  Agent Id  Anchor Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agents
  /agents/{agent_id}/anchors:
    get:
      summary: List Anchors
      operationId: list_anchors_agents__agent_id__anchors_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
          title: Agent Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response List Anchors Agents  Agent Id  Anchors Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agents
  /agents/{agent_id}/export:
    post:
      summary: Export Bundle
      description: 'Export and verify.


        `expect_action_head` and `expect_action_count` are the completeness

        defence, and they only mean anything if they come from **your** retained

        state - a head you kept from a previous export, not one this response

        gave you. Round 8 found the defence had no API parameter at all, so

        `completeness_checked` was always false in the shipped product.'
      operationId: export_bundle_agents__agent_id__export_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
          title: Agent Id
      - name: expect_action_head
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Expect Action Head
      - name: expect_action_count
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Expect Action Count
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Export Bundle Agents  Agent Id  Export Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agents
  /agents/{agent_id}/export.zip:
    get:
      summary: Export Bundle Zip
      operationId: export_bundle_zip_agents__agent_id__export_zip_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
          title: Agent Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Agents
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AmountRequest:
      properties:
        amount:
          type: integer
          exclusiveMinimum: 0.0
          title: Amount
      type: object
      required:
      - amount
      title: AmountRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    ActionRequest:
      properties:
        kind:
          type: string
          maxLength: 80
          minLength: 1
          title: Kind
        detail:
          additionalProperties: true
          type: object
          title: Detail
      type: object
      required:
      - kind
      title: ActionRequest
    CreateAgentRequest:
      properties:
        agent_id:
          type: string
          pattern: ^[a-z0-9][a-z0-9_-]{0,63}$
          title: Agent Id
        display_name:
          type: string
          maxLength: 120
          minLength: 1
          title: Display Name
        initial_credits:
          type: integer
          exclusiveMinimum: 0.0
          title: Initial Credits
      type: object
      required:
      - agent_id
      - display_name
      - initial_credits
      title: CreateAgentRequest
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key