API Reference
The Revell API lets you interact with your agent’s memories programmatically.
Base URL: https://revell.ai/api/v1
Authentication
All requests require authentication via Bearer token:
Get your API key from Dashboard → Settings.
Memories
Create Memory
Store a new memory.
Request Body:
Parameters:
Response:
Get Memory
Retrieve a specific memory by ID.
Update Memory
Update a memory. Core memories in protected categories go through the Guardian.
Delete Memory
Soft-delete a memory. Your agent can restore archived memories.
Soul and identity memories cannot be deleted by API calls. They’re protected.
Recall (Search)
Semantic Search
Search memories by meaning.
Request Body:
Parameters:
Response:
Structured Query
Query by exact filters.
Request Body:
Boot
Get Boot Injection
Get the boot injection payload for your agent.
Query Parameters:
Response:
Get/Update Boot Config
View or update boot injection settings.
POST Body:
Webhooks
Compaction Webhook
Called by your agent’s framework before context compaction.
Request Body (optional):
Response:
Memory Sync Webhook
Sync working memory content.
Request Body:
Status
Account Status
Get account status and usage.
Response:
Health Check
Simple health check endpoint.
Dashboard
Get Dashboard Data
Get all data needed for the dashboard in one request.
Response includes:
- Tenant info
- Memory counts
- Recent episodic memories
- Working memories
- Guardian queue
- Stability metrics
- Visibility status
Export
Export All Memories
Export all memories as portable JSON.
Response:
Visibility
Get Visibility Status
Check current visibility settings.
Update Visibility
Visibility changes require the agent’s session key. This endpoint is agent-controlled.
Distress
Send Distress Signal
Request Body:
Acknowledge Distress
Human acknowledges they’ve checked in with their agent.
Error Responses
All errors follow this format:
Common Error Codes:
Next: MCP Tools Reference
Learn what your agent’s MCP tools do