## Update Status `agents.update_status(strpath_uuid, AgentUpdateStatusParams**kwargs) -> AgentUpdateStatusResponse` **put** `/v2/gen-ai/agents/{uuid}/deployment_visibility` 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 - **uuid:** `str` - **uuid:** `str` - **visibility:** `APIDeploymentVisibility` - 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 ### Returns - `class AgentUpdateStatusResponse` UpdateAgentDeploymentVisbilityOutput description - **agent:** `Optional[APIAgent]` An Agent ### Example ```python from do_gradientai import GradientAI client = GradientAI() response = client.agents.update_status( path_uuid="\"123e4567-e89b-12d3-a456-426614174000\"", ) print(response.agent) ```