protect
Invoke
POST
/
v1
/
protect
/
invoke
Authorizations
Galileo-API-Key
string
headerrequiredQuery Parameters
scope
string | null
default: Body
application/json
payload
object
requiredPayload to be processed.
prioritized_rulesets
object[]
Rulesets to be applied to the payload.
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: 300Optional 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
text
string
requiredText from the request after processing the rules.
trace_metadata
object
requiredstatus
string
Status of the request after processing the rules.
Was this page helpful?