Prerequisites
Before you begin, you’ll need:A Mavera account with an active subscription
An API key from your Developer Settings
Step 1: Get Your API Key
Go to Developer Settings
Navigate to app.mavera.io/settings/developer
Step 2: Get a Persona ID
Every chat request benefits from a persona. List available personas to find one that fits your use case:id of a persona you want to use.
Step 3: Make Your First Request
Now use the persona in a chat completion:Step 4: Try Mave Agent (Optional)
For comprehensive research with multiple sources, use the Mave agent:Next Steps
Authentication
Learn about API key security and best practices
Rate Limits
Understand rate limiting and how to handle it
Chat Completions
Deep dive into chat completions with personas
API Reference
Explore all available endpoints
SDK Compatibility
Mavera’s Chat API is compatible with OpenAI SDKs. Just change the base URL:| Language | SDK | Base URL Override |
|---|---|---|
| Python | openai | base_url="https://app.mavera.io/api/v1" |
| JavaScript | openai | baseURL: "https://app.mavera.io/api/v1" |
| Go | go-openai | Set BaseURL in config |
| Any | REST | Use https://app.mavera.io/api/v1 directly |
The
persona_id field is Mavera-specific. In Python, pass it via extra_body. In JavaScript/TypeScript, add it directly to the request object.