Nirmos
Evaluations

Get Suite Workspace

Get Suite Workspace — Nirmos Control Plane REST API.

GET
/v1/evaluations/suites/{id}/workspace

Authorization

better-auth.session_token<token>

Production cookie uses __Secure- prefix.

In: cookie

Path Parameters

id*string
Length1 <= length <= 128

Query Parameters

limit?integer
Range1 <= value <= 100
Default50
cursor?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/suites/string/workspace"
{  "data": {    "suite": {      "id": "string",      "_count": {},      "name": "string",      "slug": "string",      "description": "string",      "status": "string",      "version": 0,      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "publishedAt": "2019-08-24T14:15:22Z",      "promptId": "string",      "branchId": "string",      "promptVersionId": "string",      "latestVersionId": "string",      "headVersionId": "string",      "sourceVersionId": "string",      "currentVersionId": "string",      "datasetId": "string",      "datasetVersionId": "string",      "suiteId": "string",      "defaultDatasetVersionId": "string",      "targetVersionId": "string",      "evaluatorVersionId": "string",      "releasePolicyVersionId": "string",      "order": 0,      "contentBlocks": [        null      ],      "text": "string",      "mimeType": "string",      "uri": "string",      "width": 0,      "pinned": "left",      "editable": true,      "protected": true,      "providerId": "string",      "modelId": "string",      "deploymentId": "string",      "weight": 0,      "createdByName": "string",      "detectedVariables": [        null      ],      "type": "string",      "category": "string",      "role": "string",      "key": "string",      "enabled": true,      "isDefault": true,      "revision": 0,      "priority": 0,      "strategy": "string",      "strategyConfig": "string",      "matchExpression": "string",      "fallback": "string",      "config": "string",      "metadata": "string",      "variables": "string",      "inputs": "string",      "outputSchema": "string",      "providerConfig": "string",      "commitMessage": "string",      "messages": [        null      ],      "caseNumber": 0,      "caseCount": 0,      "rowKey": "string",      "values": "string",      "data": "string",      "tags": [        null      ],      "segmentIds": [        null      ],      "sourceType": "string",      "sourceRequestId": "string",      "sourceRequestLogId": "string",      "traceId": "string",      "position": 0,      "dataType": "string",      "required": true,      "changeNote": "string",      "rules": "string",      "criteria": "string",      "critical": true,      "mode": "string",      "usedBySuiteIds": [        null      ],      "evaluatorIds": [        null      ],      "lastRunId": "string",      "initialVersion": {},      "datasetVersion": {},      "case": {},      "caseIds": [        null      ],      "policy": {},      "source": "string",      "environmentId": "string",      "fallbackModelId": "string",      "targetId": "string",      "versions": [        null      ],      "columns": [        null      ],      "cases": [        null      ],      "branches": [        null      ],      "targets": [        null      ],      "segments": [        null      ],      "releasePolicy": {},      "defaultBranch": {},      "selectedBranch": {},      "headVersion": {},      "latestVersion": {},      "editableVersion": {},      "branch": {},      "prompt": {},      "promptVersion": {},      "dataset": {},      "evaluator": {},      "target": {},      "column": {},      "labels": [        null      ],      "rubric": "string",      "model": "string",      "storeExplanation": true,      "scope": "string",      "outputType": "string",      "scoreDirection": "string",      "inputSchema": "string",      "health": "string",      "completed": true,      "deleted": true,      "existing": true,      "count": 0,      "imported": 0,      "versionId": "string",      "branchSlug": "string",      "mergedVersionId": "string"    },    "dataset": {      "id": "string",      "_count": {},      "name": "string",      "slug": "string",      "description": "string",      "status": "string",      "version": 0,      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "publishedAt": "2019-08-24T14:15:22Z",      "promptId": "string",      "branchId": "string",      "promptVersionId": "string",      "latestVersionId": "string",      "headVersionId": "string",      "sourceVersionId": "string",      "currentVersionId": "string",      "datasetId": "string",      "datasetVersionId": "string",      "suiteId": "string",      "defaultDatasetVersionId": "string",      "targetVersionId": "string",      "evaluatorVersionId": "string",      "releasePolicyVersionId": "string",      "order": 0,      "contentBlocks": [        null      ],      "text": "string",      "mimeType": "string",      "uri": "string",      "width": 0,      "pinned": "left",      "editable": true,      "protected": true,      "providerId": "string",      "modelId": "string",      "deploymentId": "string",      "weight": 0,      "createdByName": "string",      "detectedVariables": [        null      ],      "type": "string",      "category": "string",      "role": "string",      "key": "string",      "enabled": true,      "isDefault": true,      "revision": 0,      "priority": 0,      "strategy": "string",      "strategyConfig": "string",      "matchExpression": "string",      "fallback": "string",      "config": "string",      "metadata": "string",      "variables": "string",      "inputs": "string",      "outputSchema": "string",      "providerConfig": "string",      "commitMessage": "string",      "messages": [        null      ],      "caseNumber": 0,      "caseCount": 0,      "rowKey": "string",      "values": "string",      "data": "string",      "tags": [        null      ],      "segmentIds": [        null      ],      "sourceType": "string",      "sourceRequestId": "string",      "sourceRequestLogId": "string",      "traceId": "string",      "position": 0,      "dataType": "string",      "required": true,      "changeNote": "string",      "rules": "string",      "criteria": "string",      "critical": true,      "mode": "string",      "usedBySuiteIds": [        null      ],      "evaluatorIds": [        null      ],      "lastRunId": "string",      "initialVersion": {},      "datasetVersion": {},      "case": {},      "caseIds": [        null      ],      "policy": {},      "source": "string",      "environmentId": "string",      "fallbackModelId": "string",      "targetId": "string",      "versions": [        null      ],      "columns": [        null      ],      "cases": [        null      ],      "branches": [        null      ],      "targets": [        null      ],      "segments": [        null      ],      "releasePolicy": {},      "defaultBranch": {},      "selectedBranch": {},      "headVersion": {},      "latestVersion": {},      "editableVersion": {},      "branch": {},      "prompt": {},      "promptVersion": {},      "dataset": {},      "evaluator": {},      "target": {},      "column": {},      "labels": [        null      ],      "rubric": "string",      "model": "string",      "storeExplanation": true,      "scope": "string",      "outputType": "string",      "scoreDirection": "string",      "inputSchema": "string",      "health": "string",      "completed": true,      "deleted": true,      "existing": true,      "count": 0,      "imported": 0,      "versionId": "string",      "branchSlug": "string",      "mergedVersionId": "string"    },    "evaluators": [      {        "_count": {},        "contentBlocks": [],        "detectedVariables": [],        "messages": [],        "tags": [],        "segmentIds": [],        "usedBySuiteIds": [],        "evaluatorIds": [],        "caseIds": [],        "versions": [],        "columns": [],        "cases": [],        "branches": [],        "targets": [],        "segments": [],        "labels": []      }    ],    "evaluatorsNextCursor": "string",    "runs": [      "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"  }}