List the agents enrolled under the authenticated identity.
(&self)
| 451 | |
| 452 | /// List the agents enrolled under the authenticated identity. |
| 453 | pub async fn list_agents(&self) -> Result<Vec<AgentIdentityInfo>, RemoteError> { |
| 454 | self.get("/identities/agents").await |
| 455 | } |
| 456 | |
| 457 | /// Fetch one agent by its identity UUID. |
| 458 | pub async fn get_agent(&self, agent_id: &str) -> Result<AgentIdentityInfo, RemoteError> { |