Nirmos
Models

List Model Options

List Model Options — Nirmos Control Plane REST API.

GET
/v1/models/options

Authorization

better-auth.session_token<token>

Production cookie uses __Secure- prefix.

In: cookie

Query Parameters

limit?integer
Range1 <= value <= 100
Default50
cursor?string
Lengthlength <= 4096
search?string
Lengthlength <= 300
providerId?string
Length1 <= length <= 128
capabilities?string
Match^[a-z][a-z0-9_]*(,[a-z][a-z0-9_]*)*$
Lengthlength <= 1600
availableOnly?string
Default"true"

Value in

  • "true"
  • "false"
purpose?string
Default"selection"

Value in

  • "selection"
  • "knowledge"

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/options"
{  "data": {    "items": [      {        "provider": {},        "capabilities": [],        "knowledgeSupportedDimensions": []      }    ],    "nextCursor": "string"  },  "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"  }}