Zum Inhalt springen
DeutschlandGPT

Get model (Anthropic format)

Retrieves a single model in Anthropic’s model shape. Returns 404 when the model does not exist or the API key has no access to it.

GEThttps://api.deutschlandgpt.de/anthropic/v1/models/{id}

Example request

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

Parameters

idstringrequired

The registry model name.

Response

200application/json
{
  "type": "model",
  "id": "claude-4.5-sonnet",
  "display_name": "string",
  "created_at": "2025-01-01T00:00:00Z"
}

The model.

typestringrequired
idstringrequired

Registry model name — pass this as model in /anthropic/v1/messages.

display_namestringrequired
created_atstring<date-time>required

Response codes

200

The model.

AnthropicModel
401

Missing or invalid API key.

AnthropicError
404

Model not found, or the API key has no access to it.

AnthropicError
Was this page helpful?