Skip to main content
GET
/
api
/
sdk
/
guardrail
List all existing guardrails
curl --request GET \
  --url https://api.example.com/api/sdk/guardrail
{
  "guardrails": [
    {
      "type": "<string>",
      "instruction": "<string>",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Response

200 - application/json

Successful Response

guardrails
GuardrailResponse · object[]
required