---
title: "Plan Chat Completions"
method: POST
path: "/v1/messages"
tags: ["Universal LLM API Management"]
---

# Plan Chat Completions

`POST /v1/messages`

## Request

- Base URL: `https://api.oneinfer.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.oneinfer.ai/v1/messages`
- Auth: HTTP bearer

Generate a chat completion using the specified LLM provider.

Supports two request formats:
1. JSON body (application/json) - for simple requests without file uploads
2. Form data (multipart/form-data) - for requests with file uploads

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/oneinfer/apis/oneinfer-apis.md) · [All operations](https://skmtc.dev/oneinfer/apis/oneinfer-apis/llms.txt) · [OpenAPI document](https://skmtc.dev/oneinfer/apis/oneinfer-apis/revisions/a49f22311a8f?raw)
