pydo.genai.attach_agent_guardrails()
Generated on 24 Feb 2026
from pydo version
v0.27.0
Description
To attach guardrails to an agent, send a POST request to /v2/gen-ai/agents/{agent_uuid}/guardrails.
Parameters
| Name | Type | Required | Description | Default Value |
|---|---|---|---|---|
agent_uuid |
string | True | The UUID of the agent. | |
body |
JSON or IO[bytes] | False |
More Information
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.