Skip to content

Call the ZhiFlo API from code

Begin with an observable request, then use the authentication, error, and reference pages as needed. Most OpenAI-compatible integrations use https://api.zhiflo.com/v1 as their Base URL.

Call GET /v1/models to see which models the Token can access, then use one returned ID with POST /v1/chat/completions.

Make your first API request

Learn the Bearer header, temporary environment variables, and places where a Token does not belong.

Read the authentication guide

Use the HTTP status code to find the first field to inspect, changing only one thing at a time.

Look up errors and recovery actions

The API reference covers Models, Chat Completions, Responses, and Messages.

Open the API reference