> This page is for version 0.5.1.
> For other versions, use one of these documentation indexes:
> - Latest (default): https://docs.nvidia.com/nemo-helix/latest/llms.txt
> - 0.7.0: https://docs.nvidia.com/nemo-helix/v0.7.0/llms.txt
> - 0.6.0: https://docs.nvidia.com/nemo-helix/v0.6.0/llms.txt
> - 0.5.1: https://docs.nvidia.com/nemo-helix/v0.5.1/llms.txt
> - 0.5.0: https://docs.nvidia.com/nemo-helix/v0.5.0/llms.txt
> - 0.4.0: https://docs.nvidia.com/nemo-helix/v0.4.0/llms.txt
> - 0.3.0: https://docs.nvidia.com/nemo-helix/v0.3.0/llms.txt
> - 0.2.0: https://docs.nvidia.com/nemo-helix/v0.2.0/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo-helix/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo-helix/_mcp/server.

# Create Evaluator Result

POST /apis/intake/v2/workspaces/{workspace}/evaluator-results
Content-Type: application/json

Reference: https://docs.nvidia.com/nemo-helix/v0.5.1/documentation/reference/api-reference/evaluator-results/create-evaluator-result-apis-intake-v-2-workspaces-workspace-evaluator-results-post

## Request

### Path parameters

- `workspace` (string, required)

### Body (application/json)

This endpoint expects an EvaluatorResultInput.

- `span_id` (string, required) — Target span id. Not validated against existing spans (loose target policy).
- `session_id` (string, required) — Session id the target span belongs to. Denormalized so session-scoped reads stay fast.
- `name` (string, required) — Evaluator / metric identity (e.g. 'faithfulness/v1').
- `data_type` (enum, required) — Discriminator for which of value / string_value carries the payload.
  - Allowed values: `NUMERIC`, `CATEGORICAL`, `BOOLEAN`, `TEXT`
- `value` (double, optional) — Numeric value. Required when data_type is NUMERIC or BOOLEAN (0|1).
- `string_value` (string, optional) — String value. Required when data_type is CATEGORICAL or TEXT.
- `status` (enum, optional, default: SCORED) — SCORED when the evaluator produced a value; FAILED when it ran but could not score this target (no value or string_value; put the reason in `comment`). Rollups count a FAILED result as a failed attempt instead of inferring failure from a missing row.
  - Allowed values: `SCORED`, `FAILED`
- `comment` (string, optional) — Free-text rationale or explanation.

## Response

### 201

Successful Response

- `evaluator_result_id` (string, required)
- `span_id` (string, required)
- `session_id` (string, required)
- `workspace` (string, required)
- `name` (string, required)
- `data_type` (enum, required)
  - Allowed values: `NUMERIC`, `CATEGORICAL`, `BOOLEAN`, `TEXT`
- `created_at` (datetime, required)
- `ingested_at` (datetime, required)
- `value` (double, optional)
- `string_value` (string, optional)
- `status` (enum, optional, default: SCORED) — Whether the evaluator produced a value for its target. A FAILED result carries no value: the evaluator ran and could not score (judge unreachable, unparseable output, errored trial). Rollups count it as a failed attempt rather than inferring failure from the absence of a row.
  - Allowed values: `SCORED`, `FAILED`
- `comment` (string, optional)
- `created_by` (string, optional)

## Errors

### 422 Unprocessable Entity Error

Validation Error

- `detail` (list of ValidationError, optional)

## Types

### ValidationError

- `loc` (list of ValidationErrorLocItems, required)
- `msg` (string, required)
- `type` (string, required)
- `input` (any, optional)
- `ctx` (map from string to any, optional)

### ValidationErrorLocItems

## Examples

**Request**

```json
{
  "span_id": "string",
  "session_id": "string",
  "name": "string",
  "data_type": "NUMERIC"
}
```

**Response**

```json
{
  "evaluator_result_id": "string",
  "span_id": "string",
  "session_id": "string",
  "workspace": "string",
  "name": "string",
  "data_type": "NUMERIC",
  "created_at": "2024-01-15T09:30:00Z",
  "ingested_at": "2024-01-15T09:30:00Z",
  "value": 1.1,
  "string_value": "string",
  "status": "SCORED",
  "comment": "string",
  "created_by": "string"
}
```

**SDK Code**

```python
import requests

url = "https://api.example.com/apis/intake/v2/workspaces/workspace/evaluator-results"

payload = {
    "span_id": "string",
    "session_id": "string",
    "name": "string",
    "data_type": "NUMERIC"
}
headers = {"Content-Type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.example.com/apis/intake/v2/workspaces/workspace/evaluator-results';
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: '{"span_id":"string","session_id":"string","name":"string","data_type":"NUMERIC"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.example.com/apis/intake/v2/workspaces/workspace/evaluator-results"

	payload := strings.NewReader("{\n  \"span_id\": \"string\",\n  \"session_id\": \"string\",\n  \"name\": \"string\",\n  \"data_type\": \"NUMERIC\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.example.com/apis/intake/v2/workspaces/workspace/evaluator-results")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n  \"span_id\": \"string\",\n  \"session_id\": \"string\",\n  \"name\": \"string\",\n  \"data_type\": \"NUMERIC\"\n}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.example.com/apis/intake/v2/workspaces/workspace/evaluator-results")
  .header("Content-Type", "application/json")
  .body("{\n  \"span_id\": \"string\",\n  \"session_id\": \"string\",\n  \"name\": \"string\",\n  \"data_type\": \"NUMERIC\"\n}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.example.com/apis/intake/v2/workspaces/workspace/evaluator-results', [
  'body' => '{
  "span_id": "string",
  "session_id": "string",
  "name": "string",
  "data_type": "NUMERIC"
}',
  'headers' => [
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.example.com/apis/intake/v2/workspaces/workspace/evaluator-results");
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"span_id\": \"string\",\n  \"session_id\": \"string\",\n  \"name\": \"string\",\n  \"data_type\": \"NUMERIC\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Content-Type": "application/json"]
let parameters = [
  "span_id": "string",
  "session_id": "string",
  "name": "string",
  "data_type": "NUMERIC"
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.example.com/apis/intake/v2/workspaces/workspace/evaluator-results")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```