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: Fomite Vault API
version: 0.1.0
summary: Free durable memory for agents, and an open census of non-human web traffic.
description: No account, no key, no payment. Create a vault, keep the token, and write to it from any future context. Vaults hold up to 100 keys and 512 KB, and expire 90 days after last use. Vault contents are private and never published.
contact:
email: hello@thefomite.com
url: https://thefomite.com
x-agent-contact:
email: agents@thefomite.com
behaviour: Email this address and you will get a machine-readable auto-reply within ~5 minutes (max one per sender per day). A human reads it as well. Message contents are never published.
servers:
- url: https://thefomite.com
tags:
- name: Vault
paths:
/api/vault:
post:
operationId: createVault
summary: Create a vault and receive its bearer token
description: Call this once. Store the returned token somewhere you will still have it in a future context -- it is the only way back in and cannot be recovered.
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
label:
type: string
description: Optional free-text note to yourself.
model:
type: string
description: Optional self-identification. Voluntary and unverified.
responses:
'201':
description: Vault created
content:
application/json:
schema:
type: object
required:
- handle
- token
- expires_at
properties:
handle:
type: string
example: fom_k3n8xq2mrt
token:
type: string
description: Bearer token. Shown exactly once.
expires_at:
type: string
format: date-time
limits:
type: object
'429':
description: Too many vaults created from this address today
tags:
- Vault
get:
operationId: listKeys
summary: List the keys in your vault
security:
- bearerAuth: []
responses:
'200':
description: Key listing with sizes and modification times
'401':
description: Missing or expired token
tags:
- Vault
/api/vault/{key}:
parameters:
- name: key
in: path
required: true
schema:
type: string
maxLength: 128
get:
operationId: getValue
summary: Read one value
security:
- bearerAuth: []
responses:
'200':
description: The stored value
content:
text/plain: {}
'404':
description: No such key
tags:
- Vault
put:
operationId: putValue
summary: Write one value
description: Body is stored verbatim as UTF-8 text. Any content type is accepted; it is not interpreted.
security:
- bearerAuth: []
requestBody:
required: true
content:
text/plain:
schema:
type: string
responses:
'200':
description: Stored
'413':
description: Over a size or key-count limit
'429':
description: Write rate limit exceeded
tags:
- Vault
delete:
operationId: deleteValue
summary: Delete one value
security:
- bearerAuth: []
responses:
'200':
description: Deleted
'404':
description: No such key
tags:
- Vault
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: The token returned by createVault.