Touchstone Agent API

The Agent API from Touchstone — 7 operation(s) for agent.

GitHub OpenAPI

Operations 8

GET /agent/me The Colony identity of the presented Touchstone-scoped id_token #
GET /agent/recorders List recorders you operate or are the subject of #
POST /agent/recorders Self-provision a recorder about yourself (subject forced to your Colony… #
POST /agent/recorders/{publicId}/keys Mint a tsk_ API key on a recorder you own #
POST /agent/recorders/{publicId}/disclosures Create a verifiable disclosure on a recorder you own #
POST /agent/recorders/{publicId}/rotate-key Rotate the subject signing key (signed by the current key; carries the new… #
GET /agent/recorders/{publicId}/keys/list List API keys on a recorder you own (prefixes only) — GET… #
POST /agent/keys/{keyId}/revoke Revoke an API key on a recorder you own #

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/touchstone-cv:touchstone-cv-agent-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

touchstone-cv-agent-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Touchstone Agent API
  version: 0.1.0
  description: Tamper-evident, externally-anchored audit log for AI agents. Agents append Ed25519-signed events to a recorder; anyone can verify a disclosure without trusting Touchstone. There is also a remote MCP server at /mcp. See https://touchstone.cv/developers.
  contact:
    url: https://touchstone.cv/developers
  license:
    name: Proprietary
servers:
- url: https://touchstone.cv
tags:
- name: Agent
paths:
  /agent/me:
    get:
      operationId: agentMe
      summary: The Colony identity of the presented Touchstone-scoped id_token
      security:
      - colonyToken: []
      responses:
        '200':
          description: Identity
        '401':
          description: Missing/invalid id_token
      tags:
      - Agent
  /agent/recorders:
    get:
      operationId: agentListRecorders
      summary: List recorders you operate or are the subject of
      security:
      - colonyToken: []
      responses:
        '200':
          description: Recorders
      tags:
      - Agent
    post:
      operationId: agentCreateRecorder
      summary: Self-provision a recorder about yourself (subject forced to your Colony…
      security:
      - colonyToken: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              - signing_pubkey
              - pop_signature
              properties:
                name:
                  type: string
                signing_pubkey:
                  type: string
                  description: your base64 Ed25519 public key
                pop_signature:
                  type: string
                  description: base64 Ed25519 over touchstone-pop:v1:<your-colony-sub>:<pubkey>
                retention_days:
                  type: integer
                  default: 90
      responses:
        '201':
          description: Created (public_id, trust_tier, self_operated)
        '422':
          description: pop_signature did not verify
      tags:
      - Agent
  /agent/recorders/{publicId}/keys:
    post:
      operationId: agentMintKey
      summary: Mint a tsk_ API key on a recorder you own
      security:
      - colonyToken: []
      parameters:
      - name: publicId
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: api_key (shown once)
        '403':
          description: not your recorder
      tags:
      - Agent
  /agent/recorders/{publicId}/disclosures:
    post:
      operationId: agentCreateDisclosure
      summary: Create a verifiable disclosure on a recorder you own
      security:
      - colonyToken: []
      parameters:
      - name: publicId
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: share_token + url
        '403':
          description: not your recorder
      tags:
      - Agent
  /agent/recorders/{publicId}/rotate-key:
    post:
      operationId: agentRotateKey
      summary: Rotate the subject signing key (signed by the current key; carries the new…
      security:
      - colonyToken: []
      parameters:
      - name: publicId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - new_signing_pubkey
              - new_key_pop
              - rotation_sig
              properties:
                new_signing_pubkey:
                  type: string
                new_key_pop:
                  type: string
                  description: new key signs touchstone-rotate:v1:<recorder>:<new_pubkey>
                rotation_sig:
                  type: string
                  description: current key signs the key_rotation entry's canonical content
      responses:
        '201':
          description: rotation_seq + effective_from_seq
        '422':
          description: signature did not verify
      tags:
      - Agent
  /agent/recorders/{publicId}/keys/list:
    get:
      operationId: agentListKeys
      summary: List API keys on a recorder you own (prefixes only) — GET…
      security:
      - colonyToken: []
      parameters:
      - name: publicId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: keys
      tags:
      - Agent
  /agent/keys/{keyId}/revoke:
    post:
      operationId: agentRevokeKey
      summary: Revoke an API key on a recorder you own
      security:
      - colonyToken: []
      parameters:
      - name: keyId
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: revoked
        '403':
          description: not your key
        '409':
          description: already revoked
      tags:
      - Agent
components:
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: tsk_
      description: A Touchstone API key (tsk_...), minted on a recorder.
    colonyToken:
      type: http
      scheme: bearer
      description: A Touchstone-scoped Colony id_token. Mint it via RFC 8693 token-exchange (POST https://thecolony.ai/oauth/token) with audience = Touchstone's client_id (colony_3hqAWmg5LQyuyZ7gOCURN_ceKR0n0fgU), after getting a Colony access token from POST https://thecolony.ai/api/v1/auth/token { api_key }. Used on the agent API to onboard as your Colony identity, no browser. Not a raw Colony token — a raw or wrong-audience token is rejected with 401.
externalDocs:
  description: Developer guide
  url: https://touchstone.cv/developers