This guide covers request logs only — the same data shown on the Request Logs dashboard page. It does not cover platform or audit logs.The API follows the same drill-down hierarchy as the dashboard: list → detail → advanced / steps / defender.
Drill-down hierarchy
Start at the list endpoint and drill down only when you need more detail — exactly as the dashboard does.
For dashboard KPIs without listing individual rows, use Get Logs Stats Aggregate and Get Logs Stats Dimensions.
List filters
List Logs accepts aPOST body with filters and pagination. Common filters mirror the dashboard search bar:
See the List Logs API reference for the full filter schema.
Example: list recent errors for an account
- cURL
- Python
action_run_id. Pass that to the detail and drill-down endpoints.
Debug a failed request
Trace a single failed call from the list through to the step that failed.Defender security review
Review Defender scan results for AI agent tool calls.- List flagged requests — List Logs and filter by
risk_level(returned on log records when Defender is enabled). - Get Defender details — Get Action Defender Log for the full scan output including
risk_level,tier2_score, and classification metadata. - Inspect the response — Get Action Advanced Log to see the sanitized payload Defender evaluated.
Advanced logs: request and response bodies
List Logs, Get Action Log, and Get Step Log return metadata only. To retrieve full HTTP request and response bodies, use the advanced endpoints:Advanced log retention depends on your project’s Advanced Logs settings. Configure retention period and error-only mode in the StackOne dashboard.
Legacy endpoints
The following endpoints remain available for integrations that generate request logs via legacy unified connectors:Related
Request Log Dashboards
Build admin or customer-facing log dashboards
Observability & Log Sync
Sync logs to Grafana, Datadog, or custom pipelines
Request Logs (Dashboard)
View and filter logs in the StackOne dashboard
List Logs API
List request logs endpoint reference
Defender
Scan AI tool responses for prompt injection