Skip to main content
You can test the Mibyan API from Postman without writing an application. You only need a project API key.
Never expose an API key in a screenshot or public Collection. Store it as a secret or sensitive Postman environment variable instead of placing it directly in a saved request.

Quick setup: import the OpenAPI definition

  1. Open Postman and select Import.
  2. Select Link.
  3. Enter:
  1. Select Import to create a Collection with the available endpoints.
  2. Open POST /v1/chat/completions and configure its authorization as described below.

Manual setup

1. Create an environment

Create a Postman environment named Mibyan 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}}
Do not include the word Bearer in the Token field; Postman adds it automatically.

4. Add the header

5. Add the JSON body

Select Body → raw → JSON and paste:
Select Send. A successful response has this shape:
Usage values are illustrative and vary by request and model.

Test the Models endpoint

Create another request:
  • Method: GET
  • URL: {{MIBYAN_BASE_URL}}/models
  • Authorization: the same Bearer Token
The public model mibyan-4.1 should appear in data.

Test streaming

Set stream to true. The response uses Server-Sent Events and ends with:
Start 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.