POST
/
v1
/
protect
/
invoke

Authorizations

Galileo-API-Key
string
headerrequired

Query Parameters

scope
string | null
default:

Body

application/json
prioritized_rulesets
object[]

Rulesets to be applied to the payload.

payload
object
required

Payload to be processed.

project_name
string | null

Project name.

project_id
string | null

Project ID.

stage_name
string | null

Stage name.

stage_id
string | null

Stage ID.

stage_version
integer | null

Stage version to use for the request, if it's a central stage with a previously registered version.

timeout
number
default: 300

Optional timeout for the guardrail execution in seconds. This is not the timeout for the request. If not set, a default timeout of 5 minutes will be used.

metadata
object | null

Optional additional metadata. This will be echoed back in the response.

headers
object | null

Optional additional HTTP headers that should be included in the response.

Response

200 - application/json
status
string

Status of the request after processing the rules.

text
string
required

Text from the request after processing the rules.

trace_metadata
object
required

Was this page helpful?