API ReferenceSDKsPython SDK

Python SDK

Official Python SDK for data science and backend integrations. It is well suited to notebooks, scheduled scripts and backend services that need to read or drive Mimasa AI resources.

Installation

pip install mimasa-sdk

Quick Start

Create a client with mimasa.Client(api_key=...) or an OAuth access token, then call resource methods such as client.workflows.list() or client.reports.generate(...). The client talks to https://api.mimasa.ai/v1 and returns plain Python objects, automatically paging through list results when you iterate a collection. Retries with backoff are applied automatically for 429 and 5xx responses, so scripts do not need to implement that logic themselves.

API Reference

Each resource — workflows, dashboards, charts, data_sources and reports — is available as an attribute on the client and exposes list, get, create, update and resource-specific methods such as execute or download that map directly onto the REST endpoints. Methods raise a MimasaApiError carrying the response's stable error code and message on failure, which lets calling code branch on the code rather than parsing free-text messages.