curl --location 'https://api.portkey.ai/v1/configs/pc-pii-re-7f1051/versions' \
--header 'x-portkey-api-key: PORTKEY_API_KEY'
{
"object": "list",
"total": 1,
"data": [
{
"id": "daab995b-8d3b-42c5-a490-47217fbf4e0e",
"name": "PII Redaction Guardrail",
"workspace_id": "8610029e-692a-4df6-9052-3fa3eff69911",
"slug": "pc-pii-re-7f1051",
"organisation_id": "472d2804-d054-4226-b4ae-9d4e2e61e69e",
"is_default": 0,
"status": "active",
"owner_id": "c4c7996d-be62-429d-b787-5d48fe94da86",
"updated_by": "c4c7996d-be62-429d-b787-5d48fe94da86",
"created_at": "2025-10-17T19:11:47.000Z",
"last_updated_at": "2025-10-17T19:11:47.000Z",
"config": "{\"input_guardrails\":[\"pg-patron-1d0224\"]}",
"format": "json",
"type": "ORG_CONFIG",
"version_id": "8c1a4fbf-26d9-49df-82ca-ab772ba397d2",
"object": "config"
}
]
}
curl --location 'https://api.portkey.ai/v1/configs/pc-pii-re-7f1051/versions' \
--header 'x-portkey-api-key: PORTKEY_API_KEY'
{
"object": "list",
"total": 1,
"data": [
{
"id": "daab995b-8d3b-42c5-a490-47217fbf4e0e",
"name": "PII Redaction Guardrail",
"workspace_id": "8610029e-692a-4df6-9052-3fa3eff69911",
"slug": "pc-pii-re-7f1051",
"organisation_id": "472d2804-d054-4226-b4ae-9d4e2e61e69e",
"is_default": 0,
"status": "active",
"owner_id": "c4c7996d-be62-429d-b787-5d48fe94da86",
"updated_by": "c4c7996d-be62-429d-b787-5d48fe94da86",
"created_at": "2025-10-17T19:11:47.000Z",
"last_updated_at": "2025-10-17T19:11:47.000Z",
"config": "{\"input_guardrails\":[\"pg-patron-1d0224\"]}",
"format": "json",
"type": "ORG_CONFIG",
"version_id": "8c1a4fbf-26d9-49df-82ca-ab772ba397d2",
"object": "config"
}
]
}
Was this page helpful?