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