Read Application Logs with the Backend API
- Category
- Product
- Published
The GET /v1/logs endpoint is now public, so you can look up Application Logs events from your own code or an AI agent.
Application Logs are now available through the Backend API. Use the GET /v1/logs endpoint to look up specific events and debug issues, either by calling it directly or through an AI agent. It filters on the same event types as the Dashboard.
Limits
The endpoint is rate limited. Requests over the limit return 429 with the code too_many_requests. Viewing logs in the Dashboard doesn't count toward the limit. Results go back as far as your plan's retention period.
Syncing or exporting logs through the Backend API isn't allowed. To send logs continuously to a storage bucket you own, use log drains, available on the Enterprise plan.
Read the documentation to learn more.