Skip to content

chore(api): document CSAM moderation response fields - #4290

Merged
markstuart-oai merged 1 commit into
mainfrom
castiron/promotions/pr-435
Nov 18, 2026
Merged

markstuart-oai merged 1 commit into
mainfrom
castiron/promotions/pr-435

Conversation

@markstuart-oai

Copy link
Copy Markdown
Contributor

Summary

Documents the two categories returned by the CSAM classifier. The Python client's moderations.create() return type stays the same.

Changes

  • Describe the flags, scores, and input types for likely-csam and likely-csam/gen-ai in the API reference

Castiron-Internal-PR: openai/openai-python-internal#435
Castiron-Source-SHA: a8a79fd47eb4425c12d55b3721ffa4344ec5c58d
Castiron-Public-Base-SHA: 642d6d4
@markstuart-oai
markstuart-oai requested a review from a team as a code owner November 18, 2026 05:29
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-18T05:33:07.448998Z f656b9f Manual request
🔒 Security Review ✅ Completed 2026-11-18T05:33:32.733488Z f656b9f Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@markstuart-oai

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Breezy!

Reviewed commit: f656b9f70a

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: f656b9f70a

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@jbeckwith-oai jbeckwith-oai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved at f656b9f after comprehensive static review and an independent language review. No actionable findings. Only API reference schemas and generation metadata change; no runtime or endpoint signature changes. The 96-line schema addition matches the other four SDK changes; existing moderation request/return signatures remain unchanged.

Hosted check snapshot: {"SUCCESS": 16, "SKIPPED": 9, "IN_PROGRESS": 1}. An earlier Python 3.10 job failed the unchanged Vertex timeout regression (expected one refresh call, observed two): https://github.com/openai/openai-python/actions/runs/44244647386/job/134600640848. The current retry is tracked separately; no causal connection to these schema-only changes was found. Static review only; no candidate code or local tests executed.

@markstuart-oai
markstuart-oai added this pull request to the merge queue Nov 18, 2026
Merged via the queue into main with commit d6b93f3 Nov 18, 2026
36 of 37 checks passed
@markstuart-oai
markstuart-oai deleted the castiron/promotions/pr-435 branch November 18, 2026 06:10
@openai-sdks openai-sdks Bot mentioned this pull request Nov 18, 2026
gh-actions-shared Bot pushed a commit to xf-qubit/openai-python that referenced this pull request Nov 18, 2026
Automated Release PR
---


##
[3.55.1](openai/openai-python@v3.55.0...v3.55.1)
(2026-11-18)


### Chores

* **api:** document CSAM moderation response fields
([openai#4290](openai#4290))
([d6b93f3](openai@d6b93f3))
* **deps-dev:** bump pytest-asyncio from 1.4.1 to 1.4.1.post1
([openai#4274](openai#4274))
([231a92a](openai@231a92a))
* **deps:** bump github/codeql-action/init from 4.39.1 to 4.39.3
([openai#4275](openai#4275))
([f777185](openai@f777185))
* **deps:** bump the python-security group across 1 directory with 2
updates ([openai#4267](openai#4267))
([ed1d6b6](openai@ed1d6b6))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: openai-sdks[bot] <284451331+openai-sdks[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants