Skip to main content
POST
Error

Body

application/json

Filter test input

Filter test input model

input
object
required
config
object
filter_id
integer

FilterID names the saved filter this test belongs to. A guardrail config whose connection holds $SECRET/ or $ENV/ references is only run when its connection block matches that saved filter's, so the test endpoint cannot be used to send a resolved secret to a caller-chosen endpoint.

kind
string
response_filter
boolean
script
string

Response

OK

Filter test output model

error
string
output
object
success
boolean