Skip to content

Commit 3c0c758

Browse files
feat(api): api update
1 parent 505faac commit 3c0c758

2 files changed

Lines changed: 9 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-815dce43cbb14e41f094bdbca84682c0b379dcfd02b7e8800f9d8b45c00a76fd.yml
3-
openapi_spec_hash: ab7d073e793fe5a556e64d39963aea93
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/moderation-api%2Fmoderation-api-a4934bf1e7f1348c021b48224f7a7110a6e41838253dda4fbcc720dd2d2ed6b7.yml
3+
openapi_spec_hash: 537542216811907b1d4ebf23a54dc669
44
config_hash: 6b825a08e19dfb747c5dc1766502b789

‎src/moderation_api/types/content_submit_response.py‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,13 @@ class Content(BaseModel):
141141
] = None
142142
"""The modified content, if any."""
143143

144+
transcript: Optional[str] = None
145+
"""The transcribed text from audio content.
146+
147+
Only present when audio moderation is used and transcript inclusion is enabled
148+
on the channel.
149+
"""
150+
144151

145152
class Evaluation(BaseModel):
146153
"""The evaluation of the content after running the channel policies."""

0 commit comments

Comments
 (0)