Nirmos
Models

Update Model

Update Model — Nirmos Control Plane REST API.

PATCH
/v1/models/{id}

Authorization

better-auth.session_token<token>

Production cookie uses __Secure- prefix.

In: cookie

Path Parameters

id*string
Length1 <= length <= 128

Request Body

application/json

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/v1/models/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "data": {    "id": "string",    "name": "string",    "slug": "string",    "providerId": "string",    "availability": true,    "scope": "string",    "externalId": "string",    "status": "string",    "lifecycleStatus": "string",    "runtimeHealth": "string",    "contextWindow": 0,    "maxOutputTokens": 0,    "capabilities": "string",    "pricing": "string",    "metadata": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "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"  }}