Skip to main content
The package is mutagent-sdk; you import it as mutagent. It needs Python 3.10 or newer. Check your version first:
On Python 3.9 or older (the default python3 on macOS is 3.9), pip prints ERROR: No matching distribution found for mutagent-sdk without naming the Python version. Install into a virtual environment with a newer Python instead:
These pages describe mutagent-sdk 0.4.1. Earlier versions use different method, group and type names, so update if a call on these pages is missing:

Make your first call

Set an API key in your environment. See API keys for where to create one.
whoami.py
If the key is not valid, the call raises mutagent.errors.SDKError with status_code 401 and a message that starts [listWorkspaces] HTTP 401. The response body, in the error’s body, says Invalid, expired or revoked API key. Check the key with mutagent auth status, or create a new one.

Next