Nirmos
Endpoints

List Endpoints

List Endpoints — Nirmos Control Plane REST API.

GET
/v1/endpoints

Authorization

better-auth.session_token<token>

Production cookie uses __Secure- prefix.

In: cookie

Query Parameters

limit?integer
Range1 <= value <= 100
Default50
cursor?string
Length1 <= length <= 128
status?string

Value in

  • "active"
  • "inactive"
  • "deprecated"
promptId?string
Length1 <= length <= 128
search?string
Lengthlength <= 1000
sort?string
Default"updated"

Value in

  • "updated"
  • "created"
  • "name"
  • "version"

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/endpoints"
{  "data": {    "items": [      {        "_count": {},        "contentBlocks": [],        "detectedVariables": [],        "messages": [],        "tags": [],        "segmentIds": [],        "usedBySuiteIds": [],        "evaluatorIds": [],        "caseIds": [],        "versions": [],        "columns": [],        "cases": [],        "branches": [],        "targets": [],        "segments": [],        "labels": []      }    ],    "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"  }}