Zum Inhalt springen
DeutschlandGPT

Modell abrufen

Ruft Informationen zu einem bestimmten Modell anhand seiner ID ab.

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

Beispielaufruf

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

Parameter

idstringerforderlich

Die Modell-ID (Name), z. B. gpt-4o

Antwort

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

Modell-Objekt

idstring
objectstring
createdinteger

Unix-Zeitstempel der Registrierung des Modells

owned_bystring

Statuscodes

200

Modell-Objekt

Model
403

Zugriff verweigert

404

Modell nicht gefunden

object
War diese Seite hilfreich?