GET
/
guardrails
/
{id}

Path Parameters

id
string
required

The unique identifier of the resource

Response

200 - application/json
created_at
string

The time the resource was created

description
string

The rule description

id
string

The resource identifier

input
object

The input rule

	{
		"name": "deny-select",
		"description": "<optional-description>",
		"input": {
			"rules": [
				{"type": "deny_words_list", "words": ["SELECT"], "pattern_regex": "", "name": "<optional-name>"}
			]
		},
		"output": {
			"rules": [
				{"type": "pattern_match", "words": [], "pattern_regex": "[A-Z0-9]+"}
			]
		}
	}
name
string

Unique name for the rule

output
object

The output rule

	{
		"name": "deny-select",
		"description": "<optional-description>",
		"input": {
			"rules": [
				{"type": "deny_words_list", "words": ["SELECT"], "pattern_regex": "", "name": "<optional-name>"}
			]
		},
		"output": {
			"rules": [
				{"type": "pattern_match", "words": [], "pattern_regex": "[A-Z0-9]+"}
			]
		}
	}
updated_at
string

The time the resource was updated