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: satledger Workspace API
description: Verifiable usage ledgers for AI agents, built on SATROOT.
version: 0.22.2
tags:
- name: Workspace
paths:
/workspace/rotate-key:
post:
summary: Rotate Workspace Key
description: 'Replace this workspace''s API key. The old one stops working at once.
Free, and deliberately so: charging for the response to a leaked
credential would price the safe action at the worst moment to price it.
----------------------------------------------------------------------
WHY THE CURRENT KEY IS WHAT AUTHORISES THIS
----------------------------------------------------------------------
A workspace bought over x402 has no identity attached - no email, no
account, nothing but the key. So possession of the key is the only proof
of ownership this service can check, and there is no recovery path that
does not amount to handing a stranger somebody else''s ledger.
Two consequences, both stated plainly in the response rather than left
to be discovered:
- **A leaked key can rotate itself.** Whoever holds it can lock the
owner out. Rotating first is the remedy, which is why this is
self-service and instant rather than a support request.
- **A lost key is terminal.** Nobody can prove ownership afterwards, and
an operator who restored access on a plausible story would be the
weakest link in the product.'
operationId: rotate_workspace_key_workspace_rotate_key_post
responses:
'200':
description: Successful Response
content:
application/json:
schema:
additionalProperties: true
type: object
title: Response Rotate Workspace Key Workspace Rotate Key Post
security:
- APIKeyHeader: []
tags:
- Workspace
components:
securitySchemes:
APIKeyHeader:
type: apiKey
in: header
name: X-API-Key