Get guard logs

Beta
Retrieve individual Guard request logs for your organization. Returns up to `limit` logs (default 100, max 1000) ordered by timestamp descending. Only flagged results and message-level results are included in each log entry — unflagged detections are omitted. **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](mailto:support@lakera.ai).

Authentication

AuthorizationBearer

Bearer authentication using API key. Generate an API key from the AI Guardrails Dashboard. Example: Bearer sk_123…

Request

This endpoint expects an object.
start_timestringRequiredformat: "date-time"

Start of the time range (inclusive)

end_timestringRequiredformat: "date-time"

End of the time range (exclusive). Must be after start_time.

project_idstring or nullOptional
Filter to a single project by ID. Omit to return logs across all projects in your organization.
limitintegerOptional1-1000Defaults to 100
Maximum number of logs to return. Logs are ordered newest first.

Response

Guard logs for the requested time range
logslist of objects

Errors

400
Bad Request Error
403
Forbidden Error
422
Unprocessable Entity Error