Chat
Create chat completion
Generate conversational AI responses using the OpenAI-compatible chat completions API
post/chat/completions
Request
- Base URLhttps://ai.megallm.io/v1
- AuthHTTP bearer
Request body
Example request
{
"model": "gpt-4"
}Response
Successful response
Example response
{
"id": "chatcmpl-abc123",
"model": "gpt-4"
}Changes
No recorded changes to this operation across all 1 revision of this API.