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://api.sea-lion.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.sea-lion.ai/guardrails/usage/logs
  • Auth: one of:
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key
    • 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

No recorded changes to this operation across all 98 revisions of this API.