Get guard logs
Retrieve individual Guard request logs for your organization.
Returns up to limit logs (default 100, max 1000) ordered by timestamp ascending (oldest first). Only flagged results and message-level results are included in each log entry — unflagged detections are omitted.
Pagination. Use offset to page through results. When has_more is true in the response, increment offset by limit to fetch the next page. For example, to iterate over all logs in a time range with pages of 500: fetch with offset=0, then offset=500, then offset=1000, and so on until has_more is false.
Filtering. Narrow results using any combination of these filters:
-
flagged_only — only requests where the policy action flagged the request.
-
detected_only — only requests where at least one detector fired (includes monitor-mode hits where the policy does not flag).
-
detector_types — only requests that triggered one or more of the listed detector types. See the GetLogsRequest schema for the list of accepted values and their corresponding display names in the AI Guardrails Dashboard.
Authentication. Use a Platform API key from the AI Guardrails Dashboard — not the Guard API key used for inference requests at api.lakera.ai.
Access. This endpoint is available to select organizations. Contact your Check Point representative to request access. Community users may also reach out to support@lakera.ai.
Request
- Base URL: https://platform.lakera.ai/api
- URL: https://platform.lakera.ai/api/v1-beta/logs
- Auth: HTTP bearer
Request body
Response
Guard logs for the requested time range
Changes
No recorded changes to this operation across all 1 revision of this API.