Repository navigation
Releases: moderation-api/cli
Releases · moderation-api/cli
Release list
v0.5.0
Full Changelog: v0.4.0...v0.5.0
⚠ 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 the200status
API changes
GET /actions: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404POST /actions/execute: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404POST /actions/{actionId}/execute: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404DELETE /actions/{id}: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404GET /actions/{id}: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404PUT /actions/{id}: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404GET /auth: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404GET /authors: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404DELETE /authors/{id}: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404GET /authors/{id}: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404PUT /authors/{id}: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404DELETE /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 newqueue_item_not_foundenum value to thecoderesponse property for the response status404POST /channels/{id}/duplicate: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404DELETE /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 newqueue_item_not_foundenum value to thecoderesponse property for the response status404POST /projects/{id}/api-keys: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404POST /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 newqueue_item_not_foundenum value to thecoderesponse property for the response status404GET /queue/{id}: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404GET /queue/{id}/items: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404GET /queue/{id}/stats: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404DELETE /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 newqueue_item_not_foundenum value to thecoderesponse property for the response status404GET /wordlist: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404GET /wordlist/{id}: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404PUT /wordlist/{id}: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404GET /wordlist/{id}/embedding-status: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404DELETE /wordlist/{id}/words: added the newqueue_item_not_foundenum value to thecoderesponse property for the response status404POST /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 parametersortField- a breaking change was detected but the version is still
1.1.0 GET /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 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: the `reviewStats/totalReviewe...
v0.4.0
v0.3.3
v0.3.2
v0.3.1
v0.3.0
Full Changelog: v0.2.1...v0.3.0
⚠ Breaking changes
GET /actions: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400POST /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/{actionId}/execute: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400DELETE /actions/{id}: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400GET /actions/{id}: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400PUT /actions/{id}: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400GET /auth: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400POST /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 status400POST /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 status400GET /authors/{id}: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400PUT /authors/{id}: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400DELETE /channels/{id}: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400PUT /channels/{id}: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400POST /channels/{id}/duplicate: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400POST /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 status400PUT /projects/{id}: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400POST /projects/{id}/duplicate: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400POST /projects/{projectId}/channels: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400GET /queue/{id}: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400GET /queue/{id}/items: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400POST /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 status400POST /webhooks: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400PUT /webhooks/{id}: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400GET /wordlist: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400GET /wordlist/{id}: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400PUT /wordlist/{id}: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400GET /wordlist/{id}/embedding-status: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400DELETE /wordlist/{id}/words: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400POST /wordlist/{id}/words: added the newproject_name_ambiguousenum value to thecoderesponse property for the response status400
API changes
- a breaking change was detected but the version is still
1.1.0
v0.2.1
v0.2.0
v0.1.0
modapi 0.1.0
The first release of modapi, the Moderation API command-line interface.
curl -fsSL https://raw.githubusercontent.com/moderation-api/cli/main/scripts/install.sh | bash- Every API endpoint as a command, for example
modapi content submitandmodapi authors list. - Reads your key from
MODAPI_SECRET_KEY, the OS keychain (modapi configure) or--secret-key. - JSON output and
--jqfilters for scripts,--allto fetch every page, and--dry-runto see a request without sending it. - Built for AI coding agents:
--usageand--schemadescribe every command and request body.