Before you start
You need:- A Mibyan account.
- A project in Mibyan Platform.
- A project API key. The complete value is shown only once.
- A server-side environment where the key can be stored.
1. Create a project key
Open Platform → API keys, choose the project, and create a key for the environment you need:testkeys are for development and integration checks.livekeys are for production traffic.
2. Configure the client
The canonical API origin ishttps://api.mibyanai.com; SDKs should use https://api.mibyanai.com/v1 as their base URL.
3. Send a request
request_id correlation value.
The same request with the official OpenAI SDKs, pointed at the Mibyan base URL:
How a request travels
Every response carriesx-request-id for support and x-mibyan-api-version (currently 2026-08-11), the stable public boundary version.
4. Verify the integration
Check the following before moving to production:- The request succeeds with the expected project key.
- The response
modelismibyan-4.1. - The request appears under the same project in Usage and Logs.
- Invalid keys return
401and disallowed endpoints return403. - Your server does not log the complete key or prompt content unnecessarily.

