Guardrails
List key assignments for a guardrail
List all API key assignments for a specific guardrail. Management key required.
get/guardrails/{id}/assignments/keys
Path parameters
idstring uuid required
The unique identifier of the guardrail
Example:550e8400-e29b-41d4-a716-446655440000
The unique identifier of the guardrail
Query parameters
offsetinteger nullable
Number of records to skip for pagination
Number of records to skip for pagination
limitinteger
Maximum number of records to return (max 100)
Example:50
Maximum number of records to return (max 100)
Response
List of key assignments
Example response
{
"data": [
{
"assigned_by": "user_abc123",
"created_at": "2025-08-24T10:30:00Z",
"guardrail_id": "550e8400-e29b-41d4-a716-446655440001",
"id": "550e8400-e29b-41d4-a716-446655440000",
"key_hash": "c56454edb818d6b14bc0d61c46025f1450b0f4012d12304ab40aacb519fcbc93",
"key_label": "prod-key",
"key_name": "Production Key"
}
],
"total_count": 1
}