Guardrails

Guardrails Usage Logs

Changed on

Return paginated run logs for a guardrail (or policy) from SpendLogs via index.

get/guardrails/usage/logs

Request

  • Base URL
    https://api.flock.io (the document declares no server; this is the origin it was published from)
  • URL
    https://api.flock.io/guardrails/usage/logs
  • Auth
    API key in header x-litellm-api-key

Query parameters

guardrail_idstring nullable
policy_idstring nullable
pageinteger
page_sizeinteger
actionstring nullable
start_datestring nullable
end_datestring nullable

Response

Successful Response

totalinteger required
pageinteger required
page_sizeinteger required

Changes