Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.27.0"
".": "1.28.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 27
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/moderation-api/moderation-api-c6993914ad5f9cb983c4b4eb18276af82b53ef3b56fbb7aec82fad2e2a39049a.yml
openapi_spec_hash: b528665c10bbfa79a5de41c338423fdd
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/moderation-api/moderation-api-d45fc18a0aeccdda77cc82d443afc4e011858a155d39f8222e019127cc103b25.yml
openapi_spec_hash: 5b8bb678ea468c4801cf9ccc96b01637
config_hash: 9d144cc6c49d3fd53e5b4472c1e22165
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.28.0 (2026-07-20)

Full Changelog: [v1.27.0...v1.28.0](https://github.com/moderation-api/sdk-python/compare/v1.27.0...v1.28.0)

### Features

* **api:** api update ([77a8686](https://github.com/moderation-api/sdk-python/commit/77a8686c1461002f41c2243b26626d6605fdc1ae))

## 1.27.0 (2026-07-20)

Full Changelog: [v1.26.0...v1.27.0](https://github.com/moderation-api/sdk-python/compare/v1.26.0...v1.27.0)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "moderation_api"
version = "1.27.0"
version = "1.28.0"
description = "The official Python library for the moderation-api API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/moderation_api/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "moderation_api"
__version__ = "1.27.0" # x-release-please-version
__version__ = "1.28.0" # x-release-please-version
14 changes: 7 additions & 7 deletions src/moderation_api/types/content_submit_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,20 +144,20 @@ class Content(BaseModel):
] = None
"""The modified content, if any."""

unicode_cleaned: bool
"""
Whether Unicode spoofing normalization rewrote the content — confusables folded
to their Latin lookalikes, invisible characters and combining-mark abuse
stripped.
"""

transcript: Optional[str] = None
"""The transcribed text from audio content.

Only present when audio moderation is used and transcript inclusion is enabled
on the channel.
"""

unicode_cleaned: Optional[bool] = None
"""
Whether Unicode spoofing normalization rewrote the content — confusables folded
to their Latin lookalikes, invisible characters and combining-mark abuse
stripped.
"""


class Evaluation(BaseModel):
"""The evaluation of the content after running the channel policies."""
Expand Down
Loading