Zum Inhalt springen
DeutschlandGPT

Get model

Retrieves information about a specific model by its ID.

GEThttps://api.deutschlandgpt.de/v2/models/{id}

Example request

curl https://api.deutschlandgpt.de/v2/models/{id} \
  -X GET \
  -H "Authorization: Bearer $DGPT_API_KEY"

Parameters

idstringrequired

The model ID (name), e.g. gpt-4o

Response

200application/json
{
  "id": "gpt-4o",
  "object": "model",
  "created": 0,
  "owned_by": "dgpt"
}

Model object

idstring
objectstring
createdinteger

Unix timestamp of when the model was registered

owned_bystring

Response codes

200

Model object

Model
403

Forbidden

404

Model not found

object
Was this page helpful?