pydo.genai.update_agent_deployment_visibility()
Generated on 7 Jul 2026
from pydo version
v0.39.0
Usage
client.genai.update_agent_deployment_visibility(
uuid="\"123e4567-e89b-12d3-a456-426614174000\"",
body={
"uuid": "\"12345678-1234-1234-1234-123456789012\"",
"visibility": "VISIBILITY_UNKNOWN",
},
)Description
Check whether an agent is public or private. To update the agent status, send a PUT request to /v2/gen-ai/agents/{uuid}/deployment_visibility.
Parameters
uuidstring requiredUnique id
uuidstring optionalExample:
"12345678-1234-1234-1234-123456789012"Unique id
visibilitystring optional- VISIBILITY_UNKNOWN: The status of the deployment is unknown
- VISIBILITY_DISABLED: The deployment is disabled and will no longer service requests
- VISIBILITY_PLAYGROUND: Deprecated: No longer a valid state
- VISIBILITY_PUBLIC: The deployment is public and will service requests from the public internet
- VISIBILITY_PRIVATE: The deployment is private and will only service requests from other agents, or through API keys
Request Sample
Response Example
More Information
See /v2/gen-ai/agents/{uuid}/deployment_visibility in the API reference for additional detail on responses, headers, parameters, and more.