Nirmos
Evaluations

Evaluation Selectors

Evaluation Selectors — Nirmos Control Plane REST API.

GET
/v1/evaluations/selectors

Authorization

better-auth.session_token<token>

Production cookie uses __Secure- prefix.

In: cookie

Query Parameters

limit?integer
Range1 <= value <= 100
Default50
resources?string
Match^(datasets|evaluators|prompts|routes|models|policies)(,(datasets|evaluators|prompts|routes|models|policies))*$
datasetsCursor?string
Length1 <= length <= 128
evaluatorsCursor?string
Length1 <= length <= 128
promptsCursor?string
Length1 <= length <= 128
routesCursor?string
Length1 <= length <= 128
modelsCursor?string
Length1 <= length <= 128
policiesCursor?string
Length1 <= length <= 128

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/evaluations/selectors"
{  "data": {    "datasets": [      {        "_count": {},        "contentBlocks": [],        "detectedVariables": [],        "messages": [],        "tags": [],        "segmentIds": [],        "usedBySuiteIds": [],        "evaluatorIds": [],        "caseIds": [],        "versions": [],        "columns": [],        "cases": [],        "branches": [],        "targets": [],        "segments": [],        "labels": []      }    ],    "evaluators": [      {        "_count": {},        "contentBlocks": [],        "detectedVariables": [],        "messages": [],        "tags": [],        "segmentIds": [],        "usedBySuiteIds": [],        "evaluatorIds": [],        "caseIds": [],        "versions": [],        "columns": [],        "cases": [],        "branches": [],        "targets": [],        "segments": [],        "labels": []      }    ],    "prompts": [      {        "_count": {},        "contentBlocks": [],        "detectedVariables": [],        "messages": [],        "tags": [],        "segmentIds": [],        "usedBySuiteIds": [],        "evaluatorIds": [],        "caseIds": [],        "versions": [],        "columns": [],        "cases": [],        "branches": [],        "targets": [],        "segments": [],        "labels": []      }    ],    "routes": [      {        "_count": {},        "contentBlocks": [],        "detectedVariables": [],        "messages": [],        "tags": [],        "segmentIds": [],        "usedBySuiteIds": [],        "evaluatorIds": [],        "caseIds": [],        "versions": [],        "columns": [],        "cases": [],        "branches": [],        "targets": [],        "segments": [],        "labels": []      }    ],    "models": [      {        "provider": {}      }    ],    "policies": [      {        "_count": {},        "contentBlocks": [],        "detectedVariables": [],        "messages": [],        "tags": [],        "segmentIds": [],        "usedBySuiteIds": [],        "evaluatorIds": [],        "caseIds": [],        "versions": [],        "columns": [],        "cases": [],        "branches": [],        "targets": [],        "segments": [],        "labels": []      }    ],    "nextCursors": {      "property1": "string",      "property2": "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"  }}