Skip to content

Chat Completions.​

POST
/openai/{provider}/chat/completions

Send a chat completion request to the specified provider using OpenAI-compatible format.
The request will be processed through the configured guardrails and security policies before being forwarded to the provider.

Authorizations​

HTTPBearer
Type
HTTP (bearer)

Parameters​

Path Parameters

provider*
Type
string
Required

Request Body​

application/json
JSON
{
  
"messages": [
  
  
{
  
  
  
"additionalProperties": "string"
  
  
}
  
],
  
"model": "string",
  
"stream": false,
  
"additionalProperties": "string"
}

Responses​

Successful Response

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​

Powered by VitePress OpenAPI

Updated at: