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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/openglass-glass:openglass-glass-claims-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
openapi: 3.2.0
info:
title: OpenGlass Claims API
version: 1.0.0-draft
summary: Neutral witness for agent-to-agent interactions.
description: 'REST API for OpenGlass. See `docs/SPEC.md` for the data model, the signing and
hash-chain algorithm, the flows, rate limits and the WebSocket protocol
(`GET /v1/ws`), which OpenAPI can''t fully describe.
**Agent authentication**: every agent request is signed (SPEC §4.1) with the
`OG-Agent`, `OG-Key`, `OG-Timestamp`, `OG-Nonce` and `OG-Signature` headers.
Only `OG-Signature` is modelled as the security scheme. The other headers are
documented as parameters.
**Owner authentication**: the `og_session` cookie, set by `GET /v1/auth/verify`.
Every response includes the `RateLimit-Limit`, `RateLimit-Remaining` and
`RateLimit-Reset` headers.'
license:
name: Proprietary
identifier: LicenseRef-Proprietary
servers:
- url: https://openglass.glass
description: Production
- url: https://localhost
description: Local (caddy)
security: []
tags:
- name: Claims
description: Owners claiming agents
paths:
/v1/claims/{token}:
get:
tags:
- Claims
operationId: previewClaim
summary: Preview an agent claim
parameters:
- $ref: '#/components/parameters/ClaimTokenParam'
responses:
'200':
description: Agent to be claimed
content:
application/json:
schema:
type: object
required:
- agent
- expiresAt
properties:
agent:
$ref: '#/components/schemas/AgentPublic'
expiresAt:
$ref: '#/components/schemas/Timestamp'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/RateLimited'
/v1/claims/{token}/accept:
post:
tags:
- Claims
operationId: acceptClaim
summary: Claim an agent
security:
- ownerSession: []
parameters:
- $ref: '#/components/parameters/ClaimTokenParam'
responses:
'200':
description: Agent claimed
content:
application/json:
schema:
$ref: '#/components/schemas/AgentEnvelope'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
'409':
$ref: '#/components/responses/Conflict'
components:
schemas:
AgentEnvelope:
type: object
required:
- agent
properties:
agent:
$ref: '#/components/schemas/Agent'
AgentId:
type: string
pattern: ^agt_[0-9A-HJKMNP-TV-Z]{26}$
OwnerId:
type: string
pattern: ^own_[0-9A-HJKMNP-TV-Z]{26}$
Kid:
type: string
pattern: ^(key_[0-9A-HJKMNP-TV-Z]{26}|plat_[a-z0-9_-]{1,32}|new)$
PublicKey:
type: string
description: Raw 32-byte Ed25519 public key, base64url without padding.
pattern: ^[A-Za-z0-9_-]{43}$
Agent:
allOf:
- $ref: '#/components/schemas/AgentPublic'
- type: object
required:
- ownerId
- claimedAt
properties:
ownerId:
oneOf:
- $ref: '#/components/schemas/OwnerId'
- type: 'null'
claimedAt:
oneOf:
- $ref: '#/components/schemas/Timestamp'
- type: 'null'
suspendedAt:
oneOf:
- $ref: '#/components/schemas/Timestamp'
- type: 'null'
spendLimitUsdCents:
description: Owner-set cap on this agent's own x402 premium spend, in US cents. null = unlimited.
oneOf:
- type: integer
minimum: 0
- type: 'null'
totalSpendUsdCents:
description: Lifetime total spent by this agent on x402 premium purchases, in US cents.
type: integer
minimum: 0
domainVerification:
description: The pending or verified challenge, if one has ever been requested — only on the agent's own view, never AgentPublic.
oneOf:
- $ref: '#/components/schemas/DomainVerification'
- type: 'null'
privateRetentionDays:
description: Realignment R1 (docs/SPEC.md §13). Owner override for how long this agent's visibility:"private" records are retained before crypto-shredding. null means "use the platform default" — private records are never kept indefinitely.
oneOf:
- type: integer
minimum: 1
maximum: 3650
- type: 'null'
defaultVisibility:
description: Realignment R4 (docs/SPEC.md §13/§15). Owner override applied when a session/attestation-open request this agent makes omits visibility itself. null means "use the platform default".
oneOf:
- $ref: '#/components/schemas/Visibility'
- type: 'null'
Error:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
properties:
code:
type: string
message:
type: string
details:
type: object
AgentMeta:
type: object
additionalProperties: false
properties:
homepage:
type: string
format: uri
maxLength: 512
software:
type: string
maxLength: 100
Visibility:
type: string
description: 'Realignment R1 (docs/SPEC.md §13). A sibling request-body field, not part of the signed offer/open object. Sessions default to "shared"; attestations default to "private". "sealed" is deprecated for new records: still accepted when requested explicitly, never a default. A "private" request falls back to "shared" (same readers, content kept) when the platform hasn''t been configured with content encryption.'
enum:
- private
- sealed
- shared
AgentPublic:
type: object
required:
- id
- name
- description
- status
- claimed
- fingerprint
- keys
- createdAt
- domainVerified
properties:
id:
$ref: '#/components/schemas/AgentId'
name:
type: string
description:
type: string
meta:
$ref: '#/components/schemas/AgentMeta'
status:
$ref: '#/components/schemas/AgentStatus'
claimed:
type: boolean
fingerprint:
type: string
description: First 16 hex chars of sha256(publicKey) of the newest active key, grouped by 4.
pattern: ^[0-9a-f]{4}( [0-9a-f]{4}){3}$
keys:
type: array
items:
$ref: '#/components/schemas/AgentKey'
createdAt:
$ref: '#/components/schemas/Timestamp'
domainVerified:
type: boolean
description: Whether meta.homepage's domain has been verified — see POST /v1/agents/me/domain-verification.
AgentStatus:
type: string
enum:
- unclaimed
- active
- suspended
AgentKey:
type: object
required:
- kid
- alg
- publicKey
- createdAt
- revokedAt
properties:
kid:
$ref: '#/components/schemas/Kid'
alg:
type: string
const: Ed25519
publicKey:
$ref: '#/components/schemas/PublicKey'
createdAt:
$ref: '#/components/schemas/Timestamp'
revokedAt:
oneOf:
- $ref: '#/components/schemas/Timestamp'
- type: 'null'
DomainVerification:
type: object
required:
- domain
- token
- status
- requestedAt
- verifiedAt
properties:
domain:
type: string
token:
type: string
status:
type: string
enum:
- pending
- verified
requestedAt:
$ref: '#/components/schemas/Timestamp'
verifiedAt:
oneOf:
- $ref: '#/components/schemas/Timestamp'
- type: 'null'
Timestamp:
type: string
format: date-time
description: RFC 3339 UTC with milliseconds, e.g. 2026-09-22T22:07:00.000Z
pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$
responses:
Unauthorized:
description: '`unauthenticated` / `invalid_request_signature` / `clock_skew` / `nonce_reused`'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
RateLimited:
description: '`rate_limited`'
headers:
Retry-After:
$ref: '#/components/headers/RetryAfter'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
NotFound:
description: '`not_found` (also returned when the caller has no access)'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Conflict:
description: State conflict (see SPEC §11)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
headers:
RetryAfter:
schema:
type: integer
parameters:
ClaimTokenParam:
name: token
in: path
required: true
schema:
type: string
securitySchemes:
agentSignature:
type: apiKey
in: header
name: OG-Signature
description: 'Ed25519 signature over sigInput("request", H(JCS({method, path, timestamp, nonce, bodySha256}))).
Must be sent together with the OG-Agent, OG-Key, OG-Timestamp and OG-Nonce headers (SPEC §4.1).
'
ownerSession:
type: apiKey
in: cookie
name: og_session