Skip to content

Commit bf7013d

Browse files
feat(api): api update
1 parent c3a8d9d commit bf7013d

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

‎.stats.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 27
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/moderation-api%2Fmoderation-api-7270e2afd5e9c57ffcb1b83d5eb8b549a33c471b72ab494f903473a23b3f7115.yml
3-
openapi_spec_hash: cfd11087252e28bc7e7d4f4dbefc51ee
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/moderation-api%2Fmoderation-api-fb621278289bf54b9c00e8cadce0cc9fa89506ec908464fdb99d66620a953f0a.yml
3+
openapi_spec_hash: c2a3e2de6f910fc28c7ccd88bf722e06
44
config_hash: 6b825a08e19dfb747c5dc1766502b789

‎src/moderation_api/types/content_submit_response.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,12 @@ class Evaluation(BaseModel):
157157
A higher score indicates more severe content.
158158
"""
159159

160+
shadow_flagged: Optional[bool] = None
161+
"""
162+
Whether the content would have been flagged by analyze-only policies (flag:
163+
false).
164+
"""
165+
160166
unicode_spoofed: Optional[bool] = None
161167
"""Whether the content was flagged for Unicode spoofing."""
162168

0 commit comments

Comments
 (0)