POST
/
v4
/
guardrails

Authorizations

x-api-key
string
headerrequired

Headers

x-selected-account-id
string | null

Body

application/json
description
string
required
check_type
enum<string>
required
Available options:
input,
output
policies
object[]
required
guardrail_metadata
object

Guardrail metadata

Response

200 - application/json
id
string
required
account_id
string
required
check_type
enum<string>
required
Available options:
input,
output
created_at
string
required

The date and time when the entity was created in ISO format.

description
string
guardrail_metadata
object
archived_at
string

The date and time when the entity was archived in ISO format.