Base URL
/api/. There is no /v1/ prefix.
The base URL defaults to
https://your-instance.minns.ai for local development. Update this to your production URL when deploying.Request format
- All request bodies use JSON (
Content-Type: application/json). - All responses return JSON.
- Timestamps are
u64values representing nanoseconds since Unix epoch. - IDs are unsigned integers:
u64for most identifiers,u128forEventId.
Server-generated fields
The server automatically generates certain fields if you omit them:| Field | Auto-generated | Description |
|---|---|---|
event.id | ✅ Yes | UUID generated if omitted |
event.timestamp | ✅ Yes | Current timestamp generated if omitted |
context.fingerprint | ✅ Yes | Hash computed if set to 0 or omitted |
Null vs. omitted fields
| Scenario | Example | Behavior |
|---|---|---|
| Required | "agent_id": 1 | Must be present with a valid value |
| Server-generated | Omit "id" | Server auto-generates |
| Optional with default | Omit "limit" | Uses default value (usually 10) |
| Optional, nullable | "deadline": null | Can be omitted or explicitly set to null |
| Optional, non-nullable | "causality_chain": [] | Can be omitted (defaults to []) but cannot be null |
Default query limits
| Parameter | Default | Maximum |
|---|---|---|
limit | 10 | 1000 |
| Claims per event | — | 10 |
| Claim confidence threshold | — | 0.7 minimum for storage |
System profiles
| Feature | Free | Normal |
|---|---|---|
| Max graph size | 50,000 nodes | 1,000,000 nodes |
| Memory cache | 1,000 items | 10,000 items |
| Strategy cache | 500 items | 5,000 items |
| Redb cache | 64 MB | 256 MB |
| Louvain analytics | Disabled | Enabled |
Endpoint groups
Events
Ingest events, retrieve event history, and view episodes.
Memory
Query long-term memories by agent or by context.
Strategies
Retrieve and search learned behavioral strategies.
Claims
List, get, and search extracted facts.
Graph
Explore the knowledge graph, analytics, and communities.
System
Health checks and server status.
