Endpoints
Chat Completion
Generate conversational AI responses based on text input, providing responses in text format.
POST
/
chat
/
completion
Engage with users through dynamic conversational AI capabilities. This endpoint processes user inputs, either in text or audio form, and returns context-aware responses in the specified format (text or audio). It enhances user interaction by providing timely and relevant information within conversational flows.
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
prompt
string
Text prompt for conversation initiation.
input_type
enum<string>
default: textType of input provided: 'text'.
Available options:
text
response_type
enum<string>
default: textDesired format for the response: 'text'.
Available options:
text
Response
200 - application/json
response
string
The conversational reply as text.