GET
/
openai
/
v1
/
models
curl --request GET \
  --url https://api.groq.com/openai/v1/models \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "created": 123,
      "id": "<string>",
      "object": "model",
      "owned_by": "<string>"
    }
  ],
  "object": "list"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

OK

The response is of type object.