Ingest Logs
Send logs to Recall via the API.Single Log
Request
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
level | string | Yes | Log level: debug, info, warn, error, fatal |
message | string | Yes | Log message |
data | object | No | Structured data |
timestamp | string | No | ISO8601 timestamp (default: now) |
context | object | No | Context metadata |
tags | object | No | Indexed tags |
Response
Bulk Ingest
Send multiple logs in one request:Request
Response
Context Fields
Include request and user context:Tags
Tags are indexed for fast filtering:Rate Limits
- Single log: Standard rate limit
- Bulk: 10 requests/minute, up to 1000 logs per request
Errors
| Code | Description |
|---|---|
invalid_level | Level must be debug/info/warn/error/fatal |
message_too_long | Message exceeds 10KB |
data_too_large | Data object exceeds 100KB |
bulk_too_large | Bulk request exceeds 1000 logs |