Solutions to common issues and frequently asked questions about OpsTrails.
403 FORBIDDEN error. Check your key scope on the API Keys page in the console.success field. If success: false, the error field describes the issue (e.g. missing timezone, invalid field values). See the API Reference for error codes.https://api.opstrails.dev/api/v1/events. A common mistake is to use the console URL or MCP URL instead.2025-01-15T14:30:00) are rejected. Use "NOW" or include a timezone offset.https://api.opstrails.dev/api/mcp/mcp. The double /mcp at the end is correct — the first is the API path prefix, the second is the MCP protocol endpoint.Authorization: Bearer YOUR_API_KEY in the headers. The key must start with ot_.subject: production but your metrics are mapped to a different subject, no match will be found. Check the subject mapping in your analytics integration settings.OPSTRAILS_API_KEY is set in your environment. The key must have READ_WRITE scope. See the CLI documentation.https://api.opstrails.dev from your machine or CI/CD runner. Corporate firewalls may block outbound HTTPS requests.npm update -g @opstrails/cli to ensure you have the latest version.No. OpsTrails records discrete events like deployments, rollbacks, and data loads — not continuous log streams. Think of it as a structured changelog for your infrastructure, not a replacement for tools like Datadog, Splunk, or ELK.
No. MCP access is strictly read-only. AI assistants can query events and metrics but cannot create, modify, or delete events. Event creation requires a separate READ_WRITE API key through the HTTP API, SDK, or CLI.
The total event payload (including all fields) must not exceed 10 KB. The data.description field is limited to 1,000 characters. See Limits & Quotas for full details.
OpsTrails is currently a managed SaaS service only. Self-hosting is not available at this time.
Any MCP-compatible AI assistant can connect to OpsTrails. This includes Claude.ai, Claude Desktop, Claude Code, VS Code with Copilot, Cursor, and GitHub Copilot CLI. See the MCP Overview for setup guides.