dots.v2.genAi.agents.byAgent_uuId().deployment_visibility.put()
Generated on 13 Nov 2026
from DoTs version
v1.24.0
Usage
client.v2.genAi.agents.byAgent_uuId(agent_uuId).deployment_visibility.put(body: ApiUpdateAgentDeploymentVisibilityInputPublic, requestConfiguration?: RequestConfiguration<object>): Promise<undefined | ApiUpdateAgentDeploymentVisbilityOutput>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
Path Parameters
agent_uuIdstring requiredExample:
"123e4567-e89b-12d3-a456-426614174000"Unique id
Request Body
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.