Skip to content

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.

GET
https://api.dgrid.ai
GET/v1/models
Authorization
Authorization: Bearer <DGRID_API_KEY>
Response
200 · application/json

Response Body

FieldTypeDescription
objectstringAlways list.
successbooleanWhether the request succeeded.
dataarrayList of model objects visible to the current API key.
data[].idstringModel ID used in downstream API requests (e.g. openai/gpt-5.4).
data[].objectstringAlways model.
data[].createdintegerUnix timestamp in seconds.
data[].owned_bystringOwner identifier. Default: custom.
data[].supported_endpoint_typesarrayEndpoint types the model supports.
messagestringError description when success is false.

Supported Endpoint Types

ValueDescription
openaiOpenAI-compatible APIs such as Chat Completions (/v1/chat/completions).
openai-responseOpenAI Responses API (/v1/responses).
image-generationImage 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.