> 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.

# List Evaluation Sessions

GET /apis/intake/v2/workspaces/{workspace}/evaluations/{name}/sessions

Reference: https://docs.nvidia.com/nemo-helix/v0.5.1/documentation/reference/api-reference/experiments/list-evaluation-sessions-apis-intake-v-2-workspaces-workspace-evaluations-name-sessions-get

## Request

### Path parameters

- `workspace` (string, required)
- `name` (string, required)

### Query parameters

- `page` (integer, optional, default: 1) — Page number.
- `page_size` (integer, optional, default: 100) — Page size.
- `mode` (enum, optional, default: detailed) — Response mode. summary omits root-span input and output; preview includes both truncated to 300 characters; detailed returns full root-span payloads.
  - Allowed values: `summary`, `preview`, `detailed`
- `sort` (string, optional) — Comma-separated list of fields to sort by, applied in order (the first field dominates); prefix a field with '-' for descending — e.g. '-cost_total_usd,latency_ms'. Fields: test_case_name, started_at, ended_at, latency_ms, status, cost_total_usd, tokens. When omitted, sessions are ordered by started_at ascending.
- `filter` (EvaluationSessionFilter, optional) — Filter sessions by test_case_name and status.

## Response

### 200

Successful Response

- `data` (list of EvaluationSessionResponse, required)
- `pagination` (PaginationData, optional) — Pagination information.
- `sort` (string, optional) — The field on which the results are sorted.
- `filter` (map from string to any, optional) — Filtering information.

## Errors

### 400 Bad Request Error

Invalid filter value, unsupported sort field, or empty sort

- `any`

### 404 Not Found Error

Evaluation not found

- `any`

### 413 Content Too Large Error

Too many sessions to sort by cost or tokens

- `any`

### 422 Unprocessable Entity Error

Validation Error

- `detail` (list of ValidationError, optional)

### 503 Service Unavailable Error

ClickHouse unavailable

- `any`

## Types

### EvaluationSessionFilter

Filter for listing EvaluationSessions.

- `test_case_name` (string, optional) — Filter by test case name.
- `status` (string, optional) — Filter by root-span status (success, error, cancelled, unknown).
- `test_case_id` (string, optional, deprecated) — Deprecated alias for test_case_name. Use test_case_name instead.

### EvaluationSessionResponse

One ingested session of an Evaluation — a single test case execution. Hydrated from ClickHouse at read time by reading root/session membership from ``trace_index`` and joining page-bounded span/evaluator rollups.

- `workspace` (string, required)
- `evaluation_name` (string, required)
- `session_id` (string, required)
- `trace_id` (string, required)
- `root_span_id` (string, required)
- `started_at` (datetime, required)
- `status` (enum, required) — Root-span status: success, error, cancelled, or unknown.
  - Allowed values: `success`, `error`, `cancelled`, `unknown`
- `test_case_name` (string, optional) — Test case name; null when the producer did not set one.
- `ended_at` (datetime, optional)
- `latency_ms` (double, optional)
- `input` (string, optional) — Root-span input text. Omitted in summary mode and truncated to 300 characters in preview mode.
- `output` (string, optional) — Root-span output text. Omitted in summary mode and truncated to 300 characters in preview mode.
- `input_tokens` (integer, optional) — Sum of input tokens across this session's spans.
- `output_tokens` (integer, optional) — Sum of output tokens across this session's spans.
- `cached_tokens` (integer, optional) — Sum of cached tokens across this session's spans.
- `cost_total_usd` (double, optional) — Sum of cost across this session's spans.
- `evaluator_scores` (map from string to double, optional) — Per-evaluator session-mean score. Includes NUMERIC and BOOLEAN evaluator results only; text/categorical results are omitted.
- `failed_evaluators` (list of string, optional) — Evaluators that recorded a FAILED result for this session (ran, produced no value).
- `test_case_id` (string, optional, deprecated) — Deprecated alias for test_case_name. Use test_case_name instead.

### PaginationData

- `page` (integer, required) — The current page number.
- `page_size` (integer, required) — The page size used for the query.
- `current_page_size` (integer, required) — The size for the current page.
- `total_pages` (integer, required) — The total number of pages.
- `total_results` (integer, required) — The total number of results.

### ValidationError

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

### ValidationErrorLocItems

## Examples

**Response**

```json
{
  "data": [
    {
      "workspace": "string",
      "evaluation_name": "string",
      "session_id": "string",
      "trace_id": "string",
      "root_span_id": "string",
      "started_at": "2024-01-15T09:30:00Z",
      "status": "success",
      "test_case_name": "string",
      "ended_at": "2024-01-15T09:30:00Z",
      "latency_ms": 1.1,
      "input": "string",
      "output": "string",
      "input_tokens": 1,
      "output_tokens": 1,
      "cached_tokens": 1,
      "cost_total_usd": 1.1,
      "evaluator_scores": {},
      "failed_evaluators": [
        "string"
      ],
      "test_case_id": "string"
    }
  ],
  "pagination": {
    "page": 1,
    "page_size": 1,
    "current_page_size": 1,
    "total_pages": 1,
    "total_results": 1
  },
  "sort": "string",
  "filter": {}
}
```

**SDK Code**

```python
import requests

url = "https://api.example.com/apis/intake/v2/workspaces/workspace/evaluations/name/sessions"

response = requests.get(url)

print(response.json())
```

```javascript
const url = 'https://api.example.com/apis/intake/v2/workspaces/workspace/evaluations/name/sessions';
const options = {method: 'GET'};

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"
	"net/http"
	"io"
)

func main() {

	url := "https://api.example.com/apis/intake/v2/workspaces/workspace/evaluations/name/sessions"

	req, _ := http.NewRequest("GET", url, nil)

	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/evaluations/name/sessions")

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

request = Net::HTTP::Get.new(url)

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.get("https://api.example.com/apis/intake/v2/workspaces/workspace/evaluations/name/sessions")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.example.com/apis/intake/v2/workspaces/workspace/evaluations/name/sessions');

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

```csharp
using RestSharp;

var client = new RestClient("https://api.example.com/apis/intake/v2/workspaces/workspace/evaluations/name/sessions");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://api.example.com/apis/intake/v2/workspaces/workspace/evaluations/name/sessions")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

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()
```