API referenceModels
Retrieve a model
Return details for one model by its id.
Authorization
bearerAuth AuthorizationBearer <token>
Send your Merius API key as a bearer token: Authorization: Bearer riv_.... Create keys
in the dashboard; the full key is shown once. Keep it server-side.
In: header
Path Parameters
model*string
The model slug, e.g. z-ai/glm-5.1.
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/models/string"{ "id": "z-ai/glm-5.1", "object": "model", "created": 1768000000, "owned_by": "z-ai"}{ "error": { "message": "Unknown model: gpt-foo", "type": "invalid_request_error", "param": "model", "code": "model_not_found" }}{ "error": { "message": "Unknown model: gpt-foo", "type": "invalid_request_error", "param": "model", "code": "model_not_found" }}