guardrails

Guardrails Usage Logs

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

get/guardrails/usage/logs

Request

  • Base URL: https://docs.litellm.com.cn (the document declares no server; this is the origin it was published from)
  • URL: https://docs.litellm.com.cn/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

pageinteger required
page_sizeinteger required
totalinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.