The Mutagent client (and its async twin AsyncMutagent) takes options controlling auth, the API
endpoint, and timeouts. With no options it reads MUTAGENT_API_KEY from the environment and targets
the hosted Platform.
Async
Which workspace a call acts in
A workspace API key acts in its own workspace. With an organization API key, send the workspace as
the x-workspace-id header. Set it on an httpx.Client and pass that as http_client:
client.workspaces.list_workspaces() returns the IDs as workspaces[].id_. See
API keys for the two kinds of key.
Mutagent() with MUTAGENT_API_KEY exported is enough for most scripts. Override server_url
only for a non-default endpoint.