guardrails

Guardrails Usage Detail

Changed on

Return single guardrail usage metrics and time series.

get/guardrails/usage/detail/{guardrail_id}

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/detail/{guardrail_id}
  • Auth: API key in header x-litellm-api-key

Path parameters

guardrail_idstring required

Query parameters

start_datestring nullable
end_datestring nullable

Response

Successful Response

avgLatencynumber nullable required
avgScorenumber nullable required
costnumber nullable required
cost_by_keyobject required
cost_by_teamobject required
cost_by_unitobject required
descriptionstring nullable required
failRatenumber required
guardrail_idstring required
guardrail_namestring required
providerstring required
requestsEvaluatedinteger required
statusstring required
trendstring required
typestring required
untracked_usage_unitsobject required
untracked_usage_units_by_keyobject required
untracked_usage_units_by_teamobject required
usage_unitsobject required
usage_units_by_keyobject required
usage_units_by_teamobject required

Changes

    • info

      api tag guardrails added

    • info

      api tag Guardrails removed

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property // to the response with the status

    • info

      added the required property // to the response with the status

    • info

      added the required property // to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status