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.
openapi: 3.2.0
info:
title: Touchstone Cosign 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: Cosign
paths:
/cosign:
post:
operationId: cosign
summary: Counterparty co-signs a commitment (non-repudiation)
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- recorder_id
- seq
- counterparty_pubkey
- counterparty_sig
properties:
recorder_id:
type: string
seq:
type: integer
counterparty_pubkey:
type: string
description: base64 Ed25519 public key
counterparty_sig:
type: string
description: base64 Ed25519 signature over the same signed_content
responses:
'200':
description: Co-signed
content:
application/json:
schema:
type: object
properties:
grade:
type: string
enum:
- verified
- claimed
'409':
description: Already co-signed
tags:
- Cosign
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