Quick setup: import the OpenAPI definition
- Open Postman and select Import.
- Select Link.
- Enter:
- Select Import to create a Collection with the available endpoints.
- Open
POST /v1/chat/completionsand configure its authorization as described below.
Manual setup
1. Create an environment
Create a Postman environment namedMibyan with these variables:
Save and select the environment.
2. Create the request
- Method:
POST - URL:
3. Configure authorization
Open Authorization and select:- Type:
Bearer Token - Token:
{{MIBYAN_API_KEY}}
Bearer in the Token field; Postman adds it automatically.
4. Add the header
5. Add the JSON body
Select Body → raw → JSON and paste:Test the Models endpoint
Create another request:- Method:
GET - URL:
{{MIBYAN_BASE_URL}}/models - Authorization: the same Bearer Token
mibyan-4.1 should appear in data.
Test streaming
Setstream to true. The response uses Server-Sent Events and ends with:
stream: false to verify the URL, key, and JSON. Some Postman versions may display streamed events together in the response viewer instead of rendering each event immediately.
Troubleshooting
Every response includes an
x-request-id header. Keep it when contacting support, but never send your API key.