About this endpoint
What it does
Lists the available chat models and returns them in a JSON object.
Response
Returns a JSON object with a data array field and an object string field. Each item in data is an object that may include model metadata such as id, root, object, parent, owned_by, permission, and max_model_len.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| data | Object Array | Yes | Array of model objects. Each item may include id (String), root (String), object (String), parent (nullable), owned_by (String), permission (Object Array), and max_model_len (Integer). The permission array items include id (String) and object (String); additional properties may also be present. |
| object | String | Yes | String identifier for the response object. |