Merius
API referenceModels

List models

Return every model available to your API key, in the OpenAI `/models` shape.

GET
/models

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

Response Body

application/json

application/json

curl -X GET "https://example.com/models"
{  "object": "list",  "data": [    {      "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"  }}