Chat Completions
Create a chat completion
Creates a model response for the given conversation. Supports streaming via SSE, tool calling, and multi-modal input (text, images, files).
post/api/{workspaceID}/v1/chat/completions
Request
- Base URLhttps://ai.liara.ir
- URLhttps://ai.liara.ir/api/{workspaceID}/v1/chat/completions
- AuthAPI key in header Authorization
Path parameters
workspaceIDstring required
The workspace ID
Request body
Example request
{
"model": "openai/gpt-5"
}Response
Successful response (non-streaming)
Changes
No recorded changes to this operation across all 4 revisions of this API.