Skip to content

Commit 2512d89

Browse files
author
deepanshu
committed
Add provider name to payload specification
1 parent f6b67fd commit 2512d89

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

docs/my-website/docs/proxy/logging_spec.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -163,17 +163,18 @@ A literal type with two possible values:
163163

164164
## StandardLoggingGuardrailInformation
165165

166-
| Field | Type | Description |
167-
|-------|------|-------------|
168-
| `guardrail_name` | `Optional[str]` | Guardrail name |
169-
| `guardrail_mode` | `Optional[Union[GuardrailEventHooks, List[GuardrailEventHooks]]]` | Guardrail mode |
170-
| `guardrail_request` | `Optional[dict]` | Guardrail request |
171-
| `guardrail_response` | `Optional[Union[dict, str, List[dict]]]` | Guardrail response |
172-
| `guardrail_status` | `Literal["success", "failure", "blocked"]` | Guardrail execution status: `success` = no violations detected, `blocked` = content blocked/modified due to policy violations, `failure` = technical error or API failure |
173-
| `start_time` | `Optional[float]` | Start time of the guardrail |
174-
| `end_time` | `Optional[float]` | End time of the guardrail |
175-
| `duration` | `Optional[float]` | Duration of the guardrail in seconds |
176-
| `masked_entity_count` | `Optional[Dict[str, int]]` | Count of masked entities |
166+
| Field | Type | Description |
167+
|-----------------------|------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
168+
| `guardrail_name` | `Optional[str]` | Guardrail name |
169+
| `guardrail_provider` | `Optional[str]` | Guardrail provider |
170+
| `guardrail_mode` | `Optional[Union[GuardrailEventHooks, List[GuardrailEventHooks]]]` | Guardrail mode |
171+
| `guardrail_request` | `Optional[dict]` | Guardrail request |
172+
| `guardrail_response` | `Optional[Union[dict, str, List[dict]]]` | Guardrail response |
173+
| `guardrail_status` | `Literal["success", "failure", "blocked"]` | Guardrail execution status: `success` = no violations detected, `blocked` = content blocked/modified due to policy violations, `failure` = technical error or API failure |
174+
| `start_time` | `Optional[float]` | Start time of the guardrail |
175+
| `end_time` | `Optional[float]` | End time of the guardrail |
176+
| `duration` | `Optional[float]` | Duration of the guardrail in seconds |
177+
| `masked_entity_count` | `Optional[Dict[str, int]]` | Count of masked entities |
177178

178179
## StandardLoggingPayloadStatusFields
179180

0 commit comments

Comments
 (0)