Guardrails

Register Guardrail

Register a guardrail for onboarding (team submission).

Accepts a guardrail config in the Generic Guardrail API format. The submission is stored with status pending_review until an admin approves it.

post/guardrails/register

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/register
  • 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

Request body

guardrail_namestring required
litellm_paramsobject required
guardrail_infoobject nullable

Response

Successful Response

guardrail_idstring required
guardrail_namestring required
statusstring required
submitted_atstring date-time nullable

Changes

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