get
https://api.superwise.ai/v1/guardrails/versions
Get all guardrail versions.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Returns guardrail versions. Filter by guardrail_id or by a list of version ids. Set with_deleted to include versions of deleted guardrails, and model_provider_with_deleted to include deleted model providers.
When to use it
Use it to review a guardrail's version history, or to find the version IDs to pass to Run guardrail versions.
Required parameters
This call takes no required parameters.
Optional query parameters: guardrail_id, ids, with_deleted, model_provider_with_deleted.
Response
A successful call returns 200 OK with a JSON array of GuardrailVersionSchema objects, each with its id, guardrail_id, name, and guardrules.
Related: Create a guardrail version, Run guardrail versions, Get a guardrail
401Unauthorized
404Not Found
500Internal Server Error