Skip to main content
POST
Chat With Model

Authorizations

Authorization
string
header
required

Bearer authentication using an access token. Format: Bearer <access_token>

Path Parameters

modelId
string
required

Model ID of the model to chat with. Must be provided.

Body

application/json

ChatWithModelRequest contains a chat message to send to the model.

userId
string

User ID for authorization. Must be a valid UUID.

body
string

Chat message body.

Response

A successful response.

ChatWithModelResponse contains the model's response to the chat message.

response
string

The model's response message.