Skip to main content

Test KiosAPI with cURL

cURL is the fastest way to verify an API key, model ID, endpoint, and network path before configuring an SDK or desktop client.

Set your API key

On Windows PowerShell, use:

List models

Copy an available id from the response and use it in the next request.

Send a chat request

Replace gpt-5.5 if it is not present in your model list.

Enable streaming

Add "stream": true to the JSON body:

Troubleshooting

  • 401: check the Bearer token and confirm it has not been revoked.
  • 404: check the path and exact model ID.
  • 429: check quota, balance, and rate limits.
  • 5xx: retry with a small request or another available model.
Never paste a real API key into shell history, public issues, or documentation examples.