cURL
curl --request POST \ --url https://api.ecopi.chat/v1/chat/completions \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "internta-v02", "messages": [ { "role": "system", "content": "<string>" } ] }'
{ "choices": [ { "message": { "role": "<string>", "content": "<string>" } } ] }
Creates a completion for the chat message
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response
The response is of type object.
object