Text
Text Chat
Send a chat completion request.
POST
Authorization
Bearer token.
Bearer API_key, can be found in Settings > API Keys.Request Body
The model to use for generation. E.g.,
magma.Array of message objects with
role and content fields.Maximum number of tokens to generate. Default varies by model.
Sampling temperature between 0 and 2. Default:
1.Whether to stream the response via SSE. Default:
false.Nucleus sampling parameter. Default:
1.