Endpoint Examples
Chat completion using Groq Endpoint
Sends a request for chat completions. For more details on parameters, visit Groq Cloud.
POST
Request Body
Array of messages to send to the chat model.
Whether to stream the response or not.
200 - Successful chat completion response
The unique identifier for the chat completion request.
The type of the object returned, typically ‘chat.completion’.
The timestamp of when the chat completion was created.
The model used for generating the chat completion.
Fingerprint of the system, if available.
The array of completion choices.
Usage statistics for the request.
400 - Error response
The error message explaining what went wrong.
Was this page helpful?