Nirmos
Models

Resolve Model Option

Resolve Model Option — Nirmos Control Plane REST API.

GET
/v1/models/resolve

Authorization

better-auth.session_token<token>

Production cookie uses __Secure- prefix.

In: cookie

Query Parameters

value*string
Length1 <= length <= 1000
providerId?string
Lengthlength <= 200

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/models/resolve?value=string"
{  "data": {    "id": "string",    "name": "string",    "slug": "string",    "externalId": "string",    "providerId": "string",    "provider": {      "id": "string",      "name": "string",      "slug": "string",      "logoUrl": "string"    },    "availability": true,    "capabilities": [      "string"    ],    "status": "string",    "lifecycleStatus": "string",    "runtimeHealth": "string",    "contextWindow": 0,    "maxOutputTokens": 0,    "knowledgeSupportedDimensions": [      0    ],    "knowledgeRecommendedDimensions": 0  },  "requestId": "string"}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}