Execution Logs
Every tool execution is recorded with its request, response, latency, and status. Use the logs API to audit usage, debug errors, and build observability into your AI agents.
List Logs #
http
GET /api/logs
Authorization: Bearer <key>
# Query parameters
?page=1&limit=50
&status=error # success | error
&integration=notion # filter by integration
&from=2026-03-01T00:00:00Z
&to=2026-03-14T23:59:59Z
Response:
json
{
"data": [
{
"id": "log_01HZ...",
"tool": "notion_create_page",
"integration": "notion",
"status": "success",
"durationMs": 342,
"createdAt": "2026-03-14T10:22:00Z",
"request": { "tool": "notion_create_page", "input": { ... } },
"response": { "success": true, "result": { ... } }
}
],
"total": 1284,
"page": 1,
"limit": 50
}
Get a Single Log #
http
GET /api/logs/:id
Authorization: Bearer <key>
Retention #
Logs are retained for 90 days on all plans. Export logs via the API before they expire if you need longer retention.
Was this page helpful?