guardrails
List Guardrails
GET
/
api
/
guardrails
List Guardrails
curl --request GET \
--url https://api.aixy-gateway.com/api/guardrails \
--cookie gateway_session=import requests
url = "https://api.aixy-gateway.com/api/guardrails"
headers = {"cookie": "gateway_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'gateway_session='}};
fetch('https://api.aixy-gateway.com/api/guardrails', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "<string>",
"organization_id": "<string>",
"project_id": "<string>",
"scope": "organization",
"name": "<string>",
"description": "<string>",
"detectors": [
"<string>"
],
"protected_email_domains": [
"<string>"
],
"sensitive_data_rules": [
{
"kind": "<string>",
"action": "<string>",
"replacement": "<string>",
"pattern": "<string>"
}
],
"sensitivity": "<string>",
"action": "<string>",
"enabled": true,
"created_at": "<string>",
"updated_at": "<string>",
"object": "guardrail"
}
],
"object": "list"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}⌘I
List Guardrails
curl --request GET \
--url https://api.aixy-gateway.com/api/guardrails \
--cookie gateway_session=import requests
url = "https://api.aixy-gateway.com/api/guardrails"
headers = {"cookie": "gateway_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'gateway_session='}};
fetch('https://api.aixy-gateway.com/api/guardrails', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "<string>",
"organization_id": "<string>",
"project_id": "<string>",
"scope": "organization",
"name": "<string>",
"description": "<string>",
"detectors": [
"<string>"
],
"protected_email_domains": [
"<string>"
],
"sensitive_data_rules": [
{
"kind": "<string>",
"action": "<string>",
"replacement": "<string>",
"pattern": "<string>"
}
],
"sensitivity": "<string>",
"action": "<string>",
"enabled": true,
"created_at": "<string>",
"updated_at": "<string>",
"object": "guardrail"
}
],
"object": "list"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}