Skip to navigation

Find guardrail models

View as Markdown
Find the workspace's guardrail models, each with its serving run and its latest run

Query parameters

pageintegerOptional>=1Defaults to 1
sizeintegerOptional>=1Defaults to 10
namestringOptional

Filter models by name (partial match, case insensitive)

usable_onlybooleanOptionalDefaults to false
Only the models with a serving run, the ones a rule can use
latest_run_statusenumOptional
Filter models by their latest run's status
Allowed values:
sortingstringOptional

Response

Guardrail model page
contentlist of objectsOptional
pageintegerOptional
sizeintegerOptional
totallongOptional
sortable_bylist of stringsOptional

Errors

403
Forbidden Error
503
Service Unavailable Error