Models
The Models API returns the list of models available to the current DGrid API key. Use it to discover accessible model IDs before sending chat, completion, or other model requests.
List Models
Retrieve all models visible to the current API key. The result is permission-aware and scoped to the key's assigned access group.
https://api.dgrid.ai
GET
/v1/modelsResponse Body
| Field | Type | Description |
|---|---|---|
object | string | Always list. |
success | boolean | Whether the request succeeded. |
data | array | List of model objects visible to the current API key. |
data[].id | string | Model ID used in downstream API requests (e.g. openai/gpt-5.4). |
data[].object | string | Always model. |
data[].created | integer | Unix timestamp in seconds. |
data[].owned_by | string | Owner identifier. Default: custom. |
data[].supported_endpoint_types | array | Endpoint types the model supports. |
message | string | Error description when success is false. |
Supported Endpoint Types
| Value | Description |
|---|---|
openai | OpenAI-compatible APIs such as Chat Completions (/v1/chat/completions). |
openai-response | OpenAI Responses API (/v1/responses). |
image-generation | Image generation APIs (/v1/images/generations). |
Behavior Notes
- The returned list reflects the models available to the current API key, not the platform's full global catalog.
- Models are deduplicated by model ID before the response is returned.
- The model list is assembled from the suppliers and models available to the API key's access group.
- If the same model is available through multiple suppliers, it still appears only once in the response.
