Skip to content
AI Security
Search
K
Main Navigation
App
Appearance
Menu
Return to top
Create guardrail.
​
POST
/backend/v1/scanners
Creates a new guardrail with the specified configuration.
Authorizations
​
HTTPBearer
Type
HTTP (bearer)
Request Body
​
application/json
Schema
JSON
JSON
{
 Â
"config"
:
{
 Â
 Â
"input"
:
""
,
 Â
 Â
"scanContext"
:
"directional"
,
 Â
 Â
"type"
:
"custom"
 Â
}
,
 Â
"direction"
:
"request"
,
 Â
"global"
:
true
,
 Â
"name"
:
"string"
,
 Â
"published"
:
false
,
 Â
"tags"
:
[
 Â
 Â
[
 Â
 Â
]
 Â
]
,
 Â
"vendored"
:
false
,
 Â
"version"
:
{
 Â
 Â
"description"
:
"string"
,
 Â
 Â
"name"
:
"string"
,
 Â
 Â
"published"
:
true
,
 Â
 Â
"push"
:
false
 Â
}
}
Responses
​
200
422
Successful Response
Content-Type
application/json
Schema
JSON
JSON
{
 Â
"id"
:
"string"
}
POST
/backend/v1/scanners
Playground
​
Server
Select a server...
Authorization
HTTPBearer
Body
Try it out
Samples
​
Powered by
VitePress OpenAPI