Repository navigation
feat: v1.2.0, API changes - #53
Merged
Merged
Conversation
chrisdengso
force-pushed
the
speakeasy/regenerate
branch
from
October 22, 2026 18:02
0c4eb1e to
06cd9c3
Compare
chrisdengso
force-pushed
the
speakeasy/regenerate
branch
from
October 23, 2026 12:19
06cd9c3 to
47ae39a
Compare
chrisdengso
force-pushed
the
speakeasy/regenerate
branch
3 times, most recently
from
October 26, 2026 13:35
3e53fed to
5688423
Compare
chrisdengso
force-pushed
the
speakeasy/regenerate
branch
from
October 26, 2026 14:04
5688423 to
ffd75e6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Generated by sdk-generator from
https://api.moderationapi.com/v1/openapi.json.Generator:
speakeasy-api/openapi-generation@c4798852849780b1c58be7a92fef81beab77e212Run: https://github.com/moderation-api/sdk-generator/actions/runs/40335963202
Merging releases. When the version in this pull request has no release yet, the merge publishes it to the package registry and creates the GitHub release.
The version bump comes from the API spec: breaking changes give a major, other API changes a minor, and code-only changes a patch. To choose the bump yourself, run the workflow with the
bumpinput.API changes since the last release
⚠ Breaking changes
GET /authors: removed the enum valuereportCountfrom thequeryrequest parametersortByGET /queue/{id}: the response propertyqueue/descriptionbecame nullable for the status200GET /queue/{id}: removed the required propertyqueue/filterfrom the response with the200statusGET /queue/{id}/items: addedsubschema #1, subschema #2to thedata/items/contentresponse propertyanyOflist for the response status200GET /queue/{id}/items: the response propertydata/items/authorIdbecame nullable for the status200GET /queue/{id}/items: the response propertydata/items/contentTypebecame nullable for the status200GET /queue/{id}/items: the response propertydata/items/conversationIdbecame nullable for the status200GET /queue/{id}/items: the response propertydata/items/languagebecame nullable for the status200GET /queue/{id}/items: the response propertydata/items/labels/items/flaggedbecame optional for the status200GET /queue/{id}/items: thedata/items/contentresponse's propertytypechanged fromstringtoanyfor status200POST /queue/{id}/items/{itemId}/resolve: removed the request bodyPOST /queue/{id}/items/{itemId}/unresolve: removed the request bodyGET /queue/{id}/stats: the response propertytopReviewers/items/namebecame nullable for the status200GET /queue/{id}/stats: the response propertytopReviewers/items/userIdbecame nullable for the status200GET /queue/{id}/stats: removed the required propertyactionStatsfrom the response with the200statusGET /queue/{id}/stats: removed the required propertyreviewStats/averageTimeToReviewfrom the response with the200statusGET /queue/{id}/stats: removed the required propertytopReviewers/items/averageTimePerReviewfrom the response with the200statusGET /queue/{id}/stats: removed the required propertytopReviewers/items/topActionsfrom the response with the200statusGET /queue/{id}/stats: removed the required propertytrends/flaggedContentTrendsfrom the response with the200statusAPI changes
GET /actions: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400GET /actions: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404POST /actions: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400POST /actions/execute: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400POST /actions/execute: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404POST /actions/{actionId}/execute: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400POST /actions/{actionId}/execute: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404DELETE /actions/{id}: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400DELETE /actions/{id}: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404GET /actions/{id}: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400GET /actions/{id}: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404PUT /actions/{id}: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400PUT /actions/{id}: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404GET /auth: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400GET /auth: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404POST /auth: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400GET /authors: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400GET /authors: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404POST /authors: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400DELETE /authors/{id}: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400DELETE /authors/{id}: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404GET /authors/{id}: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400GET /authors/{id}: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404PUT /authors/{id}: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400PUT /authors/{id}: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404DELETE /channels/{id}: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400DELETE /channels/{id}: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404GET /channels/{id}: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404PUT /channels/{id}: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400PUT /channels/{id}: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404POST /channels/{id}/duplicate: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400POST /channels/{id}/duplicate: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404POST /moderate: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400POST /moderate/image: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400POST /moderate/text: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400POST /projects: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400DELETE /projects/{id}: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404GET /projects/{id}: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404PUT /projects/{id}: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400PUT /projects/{id}: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404POST /projects/{id}/duplicate: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400POST /projects/{id}/duplicate: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404GET /projects/{projectId}/channels: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404POST /projects/{projectId}/channels: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400POST /projects/{projectId}/channels: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404GET /queue/{id}: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400GET /queue/{id}: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404GET /queue/{id}/items: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400GET /queue/{id}/items: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404POST /queue/{id}/items/{itemId}/resolve: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400POST /queue/{id}/items/{itemId}/unresolve: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400GET /queue/{id}/stats: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400GET /queue/{id}/stats: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404POST /webhooks: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400DELETE /webhooks/{id}: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404GET /webhooks/{id}: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404PUT /webhooks/{id}: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400PUT /webhooks/{id}: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404GET /wordlist: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400GET /wordlist: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404GET /wordlist/{id}: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400GET /wordlist/{id}: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404PUT /wordlist/{id}: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400PUT /wordlist/{id}: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404GET /wordlist/{id}/embedding-status: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400GET /wordlist/{id}/embedding-status: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404DELETE /wordlist/{id}/words: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400DELETE /wordlist/{id}/words: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404POST /wordlist/{id}/words: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400POST /wordlist/{id}/words: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404GET /authors: deleted thequeryrequest parametercontentTypesGET /queue/{id}/items: deleted thequeryrequest parametersortDirectionGET /queue/{id}/items: deleted thequeryrequest parametersortField1.1.0GET /analytics/authors: endpoint addedGET /analytics/automation: endpoint addedGET /analytics/channels: endpoint addedGET /analytics/policies: endpoint addedGET /analytics/summary: endpoint addedGET /analytics/volumes: endpoint addedPOST /feedback: endpoint addedPOST /projects/{id}/api-keys: endpoint addedGET /queue: endpoint addedGET /queue/{id}: thequeue/resolvedItemsCountresponse's propertytypewas narrowed fromnumbertointegerfor status200GET /queue/{id}: thequeue/totalItemsCountresponse's propertytypewas narrowed fromnumbertointegerfor status200GET /queue/{id}: thequeue/unresolvedItemsCountresponse's propertytypewas narrowed fromnumbertointegerfor status200GET /queue/{id}: added the required propertyqueue/isDefaultto the response with the200statusGET /queue/{id}/items: added the new optionalqueryrequest parametersortGET /queue/{id}/items: added the optional propertydata/items/labels/items/manualto the response with the200statusGET /queue/{id}/items: added the optional propertydata/items/labels/items/matchesto the response with the200statusGET /queue/{id}/items: added the optional propertydata/items/labels/items/shadow_flaggedto the response with the200statusGET /queue/{id}/items: removed the optional propertydata/items/actionsfrom the response with the200statusGET /queue/{id}/items: the response propertydata/items/authorIdbecame required for the status200GET /queue/{id}/items: the response propertydata/items/contentTypebecame required for the status200GET /queue/{id}/items: the response propertydata/items/conversationIdbecame required for the status200GET /queue/{id}/items: the response propertydata/items/languagebecame required for the status200GET /queue/{id}/items: added the required propertydata/items/contentIdto the response with the200statusGET /queue/{id}/items: added the required propertydata/items/severityto the response with the200statusPOST /queue/{id}/items/resolve: endpoint addedPOST /queue/{id}/items/{itemId}/resolve: removed the optional propertycommentfrom the response with the200statusPOST /queue/{id}/items/{itemId}/unresolve: thestatusresponse property for the response status200was restricted to a list of enum valuesGET /queue/{id}/stats: removed the optional propertytopReviewers/items/accuracyScorefrom the response with the200statusGET /queue/{id}/stats: thereviewStats/totalPendingresponse's propertytypewas narrowed fromnumbertointegerfor status200GET /queue/{id}/stats: thereviewStats/totalReviewedresponse's propertytypewas narrowed fromnumbertointegerfor status200GET /queue/{id}/stats: thetopReviewers/items/reviewCountresponse's propertytypewas narrowed fromnumbertointegerfor status200GET /queue/{id}/stats: thetrends/dailyReviewCounts/items/countresponse's propertytypewas narrowed fromnumbertointegerfor status200POST /wordlist: endpoint addedThe release notes are the new entry in
CHANGELOG.md.