Evaluation columns reference
Method signatures, parameters, responses and examples for evaluation columns.
Use a configured server-side nirmos client from the quickstart. See the evaluations guide for prerequisites and workflows. Example IDs and configured model names are placeholders; replace them with organization-visible resources before executing. Mutating calls change live resources.
HTTP calls reject with APIError subclasses on unsuccessful HTTP responses and may throw NetworkError, TimeoutError or RequestAbortedError. Signatures describe SDK values after response decoding; they are not raw HTTP envelopes. Backend validation, permissions and feature availability remain authoritative.
Some responses use broad recursive domain DTOs. This page omits their unrelated optional fields and provides endpoint-specific views where verified. Optional permits absence; nullable permits explicit null. Validate IDs before reuse. Tightening exported schemas is separate implementation work.
| Method | Transport |
|---|---|
evaluations.columns.create | Control plane |
evaluations.columns.update | Control plane |
evaluations.columns.duplicate | Control plane |
evaluations.columns.delete | Control plane |
evaluations.columns.create
Create Evaluation Column
Control plane: POST /v1/evaluations/columns.
Credentials: Personal or service API key with the required grants.
Required permission: evaluation:create.
REST endpoint, security and schemas · Related guide
Types: Requests · RequestOptions · Responses
nirmos.evaluations.columns.create(
body: Requests["createEvaluationColumn"],
options?: RequestOptions | undefined
): Promise<Responses["createEvaluationColumn"]>| Parameter | Required | Type / default |
|---|---|---|
body | Yes | Requests["createEvaluationColumn"] |
options | No | RequestOptions | undefined |
Request fields
Choose one of these source-defined alternatives; requirements apply within each alternative.
Alternative 1
| Field | Required | Type |
|---|---|---|
suiteId | Yes | string |
key | Yes | string |
name | Yes | string |
description | No | string | undefined |
category | Yes | "target" |
enabled | No | boolean | undefined |
config | No | Requests["createEvaluationColumn"]["config"] |
target | Yes | Requests["createEvaluationColumn"]["target"] |
targetVersionId | No | undefined |
evaluatorVersionId | No | undefined |
Alternative 2
| Field | Required | Type |
|---|---|---|
suiteId | Yes | string |
key | Yes | string |
name | Yes | string |
description | No | string | undefined |
category | Yes | "target" |
enabled | No | boolean | undefined |
config | No | Requests["createEvaluationColumn"]["config"] |
target | No | undefined |
targetVersionId | Yes | string |
evaluatorVersionId | No | undefined |
Alternative 3
| Field | Required | Type |
|---|---|---|
suiteId | Yes | string |
key | Yes | string |
name | Yes | string |
description | No | string | undefined |
category | Yes | "evaluator" |
enabled | No | boolean | undefined |
config | No | Requests["createEvaluationColumn"]["config"] |
target | No | undefined |
targetVersionId | No | undefined |
evaluatorVersionId | Yes | string |
Alternative 4
| Field | Required | Type |
|---|---|---|
suiteId | Yes | string |
key | Yes | string |
name | Yes | string |
description | No | string | undefined |
category | Yes | "transform" | "system_metric" |
enabled | No | boolean | undefined |
config | No | Requests["createEvaluationColumn"]["config"] |
target | No | undefined |
targetVersionId | No | undefined |
evaluatorVersionId | No | undefined |
Returns: Responses["createEvaluationColumn"].
Response by column category
Creating a new target returns { target: { id }, targetVersion: { id, version, columns }, column: { id } }.
Use targetVersion.id to pin execution; target.id is the logical identity.
Creating an evaluator/transform/system column (or attaching an existing target
version) returns { id, key, position }. Check the variant before reading its
fields. The two-case workflow demonstrates both.
Behavior: Target inputMapping uses destination input names to dataset source strings, e.g. user_message: dataset.question. Evaluator config.inputMapping instead uses canonical source objects for actual/expected. See the complete two-case evaluation workflow and configuration contracts.
Example
const result = await nirmos.evaluations.columns.create({
"suiteId": "suite-id",
"key": "candidate",
"name": "Candidate",
"category": "target",
"enabled": true,
"target": {
"type": "model",
"name": "Candidate model",
"modelId": "model-id",
"providerId": "provider-id",
"inputMapping": {
"user_message": "dataset.question"
}
},
"config": {
"role": "candidate",
"dataType": "output"
}
});evaluations.columns.update
Update Evaluation Column
Control plane: PATCH /v1/evaluations/columns/:id.
Credentials: Personal or service API key with the required grants.
Required permission: evaluation:update.
REST endpoint, security and schemas · Related guide
Types: Requests · RequestOptions · Responses
nirmos.evaluations.columns.update(
id: string,
body: Requests["updateEvaluationColumn"],
options?: RequestOptions | undefined
): Promise<Responses["updateEvaluationColumn"]>| Parameter | Required | Type / default |
|---|---|---|
id | Yes | string |
body | Yes | Requests["updateEvaluationColumn"] |
options | No | RequestOptions | undefined |
Request fields
| Field | Required | Type |
|---|---|---|
name | No | string | undefined |
description | No | string | undefined |
category | No | "target" | "evaluator" | "transform" | "system_metric" | undefined |
enabled | No | boolean | undefined |
config | No | Requests["updateEvaluationColumn"]["config"] |
targetVersionId | No | string | undefined |
evaluatorVersionId | No | string | undefined |
target | No | Requests["updateEvaluationColumn"]["target"] |
Returns: Responses["updateEvaluationColumn"].
Use the linked feature workflow for this response. Unrelated optional fields in the broad SDK declaration are not endpoint guarantees.
Example
const result = await nirmos.evaluations.columns.update("column-id", {
"config": {
"inputMapping": {
"actual": {
"source": "target",
"path": "output"
},
"expected": {
"source": "dataset",
"key": "expected"
}
}
}
});evaluations.columns.duplicate
Duplicate Evaluation Column Action
Control plane: POST /v1/evaluations/columns/:id/duplicate.
Credentials: Personal or service API key with the required grants.
Required permission: evaluation:create.
REST endpoint, security and schemas · Related guide
Types: RequestOptions · Responses
nirmos.evaluations.columns.duplicate(
id: string,
options?: RequestOptions | undefined
): Promise<Responses["duplicateEvaluationColumnAction"]>| Parameter | Required | Type / default |
|---|---|---|
id | Yes | string |
options | No | RequestOptions | undefined |
Returns: Responses["duplicateEvaluationColumnAction"].
Use the linked feature workflow for this response. Unrelated optional fields in the broad SDK declaration are not endpoint guarantees.
Example
const result = await nirmos.evaluations.columns.duplicate("resource-id");evaluations.columns.delete
Delete Evaluation Column Action
Control plane: DELETE /v1/evaluations/columns/:id.
Credentials: Personal or service API key with the required grants.
Required permission: evaluation:delete.
REST endpoint, security and schemas · Related guide
Types: RequestOptions · Responses
nirmos.evaluations.columns.delete(
id: string,
options?: RequestOptions | undefined
): Promise<Responses["deleteEvaluationColumnAction"]>| Parameter | Required | Type / default |
|---|---|---|
id | Yes | string |
options | No | RequestOptions | undefined |
Returns: Responses["deleteEvaluationColumnAction"].
Use the linked feature workflow for this response. Unrelated optional fields in the broad SDK declaration are not endpoint guarantees.
Example
const result = await nirmos.evaluations.columns.delete("resource-id");