API Documentation
Getting Started
The Moonba Mirro API provides programmatic access to production-ready reinforcement learning environments. Our API follows the OpenGym interface standard, making it easy to integrate with existing RL frameworks.
Base URL
https://ORGANIZATION_PREFIX.moonba.ai/v1Authentication
All API requests require an API key. Include your API key in the request header:
Authorization: Bearer YOUR_API_KEYHow to Get an API Key
To get started with the Moonba Mirro API, you'll need an API key.
Contact us to request your API key:
Please include information about your use case and expected usage volume in your request.
API Endpoints
/environmentsCreate a new training environment instance.
/environments/{environment_id}/resetReset the environment to its initial state.
/environments/{environment_id}/stepExecute one step in the environment with the given action.
/environments/{environment_id}Get information about a specific environment instance.
/environmentsList all available environment templates.
/environments/{environment_id}Close and cleanup an environment instance.
Error Codes
| Code | Description |
|---|---|
| 400 | Bad Request - Invalid parameters |
| 401 | Unauthorized - Invalid or missing API key |
| 404 | Not Found - Environment not found |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Internal Server Error - Something went wrong |
Support
Need help? We're here to support you:
Email: support@moonba.ai
Contact: contact@moonba.ai