Skip to main content

fetch_policy

Function fetch_policy 

Source
pub async fn fetch_policy(
    http: &Client,
    control_plane_url: &str,
    token: &str,
) -> Result<TrafficPolicy, String>
Expand description

The workspace’s AI traffic policy, from Control Plane at control_plane_url with the developer’s own token. Any signed-in person may read it.