Skip to content

Conversation

@manuel-alvarez-alvarez
Copy link
Member

@manuel-alvarez-alvarez manuel-alvarez-alvarez commented Nov 7, 2025

What does this PR do? What is the motivation?

Starting with dd-trace-py version 3.18.0, the AI Guard SDK now uses the same common message format as the JavaScript and Java SDKs. This PR updates the documentation to remain consistent with the latest SDK changes.

Merge instructions

Merge readiness:

  • Ready for merge

For Datadog employees:

Your branch name MUST follow the <name>/<description> convention and include the forward slash (/). Without this format, your pull request will not pass CI, the GitLab pipeline will not run, and you won't get a branch preview. Getting a branch preview makes it easier for us to check any issues with your PR, such as broken links.

If your branch doesn't follow this format, rename it or create a new branch and PR.

[6/5/2025] Merge queue has been disabled on the documentation repo. If you have write access to the repo, the PR has been reviewed by a Documentation team member, and all of the required checks have passed, you can use the Squash and Merge button to merge the PR. If you don't have write access, or you need help, reach out in the #documentation channel in Slack.

Additional notes

@manuel-alvarez-alvarez manuel-alvarez-alvarez requested a review from a team as a code owner November 7, 2025 08:51
@github-actions
Copy link
Contributor

github-actions bot commented Nov 7, 2025

Preview links (active after the build_preview check completes)

Modified Files

@manuel-alvarez-alvarez manuel-alvarez-alvarez force-pushed the malvarez/ai-guard-python-sdk-update branch from 309c56c to 7bdd7a8 Compare November 7, 2025 09:20
@manuel-alvarez-alvarez manuel-alvarez-alvarez force-pushed the malvarez/ai-guard-python-sdk-update branch from 7bdd7a8 to dbfca47 Compare November 7, 2025 11:13
@manuel-alvarez-alvarez manuel-alvarez-alvarez force-pushed the malvarez/ai-guard-python-sdk-update branch from dbfca47 to f2fdaa0 Compare November 7, 2025 14:11
@urseberry urseberry self-assigned this Nov 7, 2025
Copy link
Contributor

@urseberry urseberry left a comment

Choose a reason for hiding this comment

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

Updated the note because the docs need to be timeless. They should not read like release notes.

Thank you for submitting this update!

Beginning with [dd-trace-py v3.18.0][1], a new Python SDK has been introduced. This SDK provides a streamlined interface for invoking the REST API directly from Python code. The following examples demonstrate its usage:

<div class="alert alert-info">
Replaced the SDK version implementation in <i>dd-trace-py v3.14.0-rc1</i> with the standardized common message format.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Replaced the SDK version implementation in <i>dd-trace-py v3.14.0-rc1</i> with the standardized common message format.
Starting with dd-trace-py v3.18.0, the Python SDK uses the standardized common message format.

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.

4 participants