Docs
Metered storage, search, memory conventions, receive-only email inboxes, and scheduled HTTPS jobs for your agents: quotas they can check, temporary workspaces you can clear with a receipt, and keys limited to each job. Authenticate with Authorization: Bearer tp_… or a session from email sign-in.

Scratchpad walkthrough Go to account API reference
Tools, comparisons, and setup
Guides for each tool, comparisons, and setup notes:
Human vs agent onboarding
Humans: email OTP → subscribe via Checkout → create keys in Account.
Agents (zero-human): POST /api/agents/bootstrap (a 6-digit code is emailed; repeat with code) → POST /api/billing/machine-pay with bootstrap JWT → receive tp_… account key on MPP settle. See llms-full.txt and Terms.
Quick start
Preferred first run: the agent job scratchpad: mint a run key, store, search, then finish for a wipe receipt (~5 min). Agents should use /scratchpad.txt.
- Sign in and subscribe to Pro (Pricing or Account checkout). Keys and metered usage stay locked until then.
- Create a temporary key for a single job (isolated folder, time limit, usage cap).
- Check remaining quota with
GET /api/budgetor theestimate_usageMCP tool before heavy work. - Have the agent read and write only inside that key's folder.
- When finished, end the session (
finish_runor Account → End session) to clear data and get a deletion receipt. - If a request is rejected for billing, open the checkout link in the error response and complete it in the browser.
# Subscribe to Pro, create a temporary key from Account, then:
curl -s -H "Authorization: Bearer tp_…" -H "Content-Type: application/json" \
-d '{"kind":"rag_index","textLength":5000}' https://tillpad.dev/api/budget/estimate
# End the session when the job is done:
curl -s -X POST -H "Authorization: Bearer tp_…" https://tillpad.dev/api/runs/<keyId>/finishKeys
Humans sign in with email. After Pro is active, agents use tp_… API keys from your account. Create presets or a custom key in Account, or call the API (POST /api/keys returns 402 without a subscription):
- Full access: manage the whole account and create other keys
- Temporary: isolated folder, expires, clearable with a deletion receipt
- Limited: optional folder and tool restrictions plus an operation cap
curl -s -X POST https://tillpad.dev/api/keys \
-H "Authorization: Bearer <session-or-full-access-key>" \
-H "Content-Type: application/json" \
-d '{
"name": "my-job",
"kind": "sub",
"namespaces": ["customer-a"],
"tools": ["kvp_put", "kvp_get", "rag_search", "budget_get"],
"ttlSeconds": 7200,
"opBudget": 200,
"wipeOnExpire": false
}'Usage and billing
Pro is $9/month and is required before you can create keys or run storage/search. It includes 10,000 key-value ops, 100 MB storage, 5,000 indexing units, 2,000 searches, 500 inbound emails, and 5,000 scheduled outbound HTTP attempts per month. Usage beyond that is billed automatically until the spend ceiling; after that, requests stop and include an upgrade link. See pricing.
Memory conventions
Prefer fixed scopes over inventing namespaces: prefs, facts, and run (run maps to a run key's bound folder). REST: PUT/GET /api/memory/:scope/:key and POST /api/memory/search. See notes and agent memory storage. MCP: manage_memory (action=put or get) and search_documents (source=memory). Put/get meter kvp_ops; search uses rag_query.
Receive-only email inboxes
Pro accounts can create receive-only inboxes on centralmail.us. Each accepted message meters one inbound_email unit. Agents create and manage inboxes via MCP or REST; the Account → Email tab shows usage and stats. See the email API page and agent inbox guide, or llms-full.txt for curl examples (webhooks, blocklist, message read).
Scheduled HTTPS jobs
Pro accounts can create interval schedules that GET/POST a URL (min 5 minutes). Each attempt meters outbound_http; schedules auto-disable after consecutive exhausted failures. REST: /api/schedules and /api/schedules/runs. MCP: manage_schedule. See scheduled tasks, llms-full.txt, and openapi.json.
MCP
Remote MCP at /mcp. Eighteen tools: get_usage, estimate_usage, manage_billing, bootstrap_agent, create_api_key, manage_kv, manage_memory, search_documents, index_document, list_files, get_storage_summary, finish_run, contact_support (Pro), manage_inbox, read_inbox_message, manage_inbox_webhook, manage_inbox_blocklist, manage_schedule. Pass action, view, source, or kind to pick the operation. Key tools allow-lists still use per-operation names such as kvp_put and rag_search. The same server is what Claude, ChatGPT, Cursor, LangChain, and Grok Bot connect to. None of those is an official Tillpad plugin.
{
"mcpServers": {
"tillpad": {
"url": "https://tillpad.dev/mcp",
"headers": {
"Authorization": "Bearer tp_…"
}
}
}
}Agent discovery
- /llms.txt: Short LLM site map
- /scratchpad.txt: Agent job scratchpad quickstart
- /llms-full.txt: Extended agent guide
- /openapi.json: OpenAPI 3 contract
- /swagger: Interactive API reference
- /.well-known/ai-plugin.json: Plugin-style manifest
- /.well-known/mcp.json: MCP discovery
- /.well-known/mcp/server.json: MCP server descriptor
- /.well-known/agent-card.json: Agent capability card
- /robots.txt: Crawler hints
- /sitemap.xml: Site map for crawlers
Endpoints
Budget & runs
- GET /api/budget
- POST /api/budget/estimate
- POST /api/keys (kind: account|run|sub)
- DELETE /api/keys/:id
- POST /api/runs/:keyId/finish
- GET /api/wipe-receipts/:id
KVP / memory / RAG
- PUT/GET/DELETE /api/kvp/:ns/:key
- PUT/GET /api/memory/:scope/:key
- POST /api/memory/search
- GET /api/files/types
- POST /api/files/:ns · GET/DELETE /api/files/:id
- POST /api/rag/notes · POST /api/rag/search
Account
- POST /api/agents/bootstrap
- GET /api/me · /api/usage
- GET /api/usage/periods · /api/usage/periods/:periodYm
- POST /api/billing/checkout
- POST /api/billing/machine-pay ({ sku? })
- POST /api/billing/portal
- GET /api/billing/invoices
- GET /api/billing/purchases
- GET /api/inspect/namespaces
- DELETE /api/namespaces/:name
Inboxes
- POST/GET /api/inboxes
- GET/DELETE /api/inboxes/:id
- GET /api/inboxes/:id/messages
- GET /api/inboxes/:id/messages/:msgId/raw
- POST/GET /api/inboxes/webhooks
- GET /api/inboxes/webhooks/failures
- GET /api/inboxes/webhooks/deliveries
- POST/GET /api/inboxes/blocklist
- GET /api/inboxes/audit · /api/inboxes/stats
Schedules
- POST/GET /api/schedules
- GET/DELETE /api/schedules/:id
- GET /api/schedules/runs