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

# List Experiment Sessions

GET https://host.com/apis/intake/v2/workspaces/{workspace}/experiments/{name}/sessions

Reference: https://docs.nvidia.com/nemo-platform/nemo-platform/documentation/reference/api-reference/experiments/list-experiment-sessions-apis-intake-v-2-workspaces-workspace-experiments-name-sessions-get

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: Nemo Platform API
  version: 1.0.0
paths:
  /apis/intake/v2/workspaces/{workspace}/experiments/{name}/sessions:
    get:
      operationId: >-
        list-experiment-sessions-apis-intake-v-2-workspaces-workspace-experiments-name-sessions-get
      summary: List Experiment Sessions
      tags:
        - subpackage_experiments
      parameters:
        - name: workspace
          in: path
          required: true
          schema:
            type: string
        - name: name
          in: path
          required: true
          schema:
            type: string
        - name: page
          in: query
          description: Page number.
          required: false
          schema:
            type: integer
            default: 1
        - name: page_size
          in: query
          description: Page size.
          required: false
          schema:
            type: integer
            default: 100
        - name: filter
          in: query
          description: Filter sessions by test_case_id and status.
          required: false
          schema:
            $ref: '#/components/schemas/ExperimentSessionFilter'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExperimentSessionResponsesPage'
        '404':
          description: Experiment not found
          content:
            application/json:
              schema:
                description: Any type
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '503':
          description: ClickHouse unavailable
          content:
            application/json:
              schema:
                description: Any type
servers:
  - url: https://host.com
    description: Default
components:
  schemas:
    ExperimentSessionFilter:
      type: object
      properties:
        test_case_id:
          type: string
          description: Filter by producer-supplied test case id.
        status:
          type: string
          description: Filter by root-span status (success, error, cancelled, unknown).
      description: Filter for listing ExperimentSessions.
      title: ExperimentSessionFilter
    SpanStatus:
      type: string
      enum:
        - success
        - error
        - cancelled
        - unknown
      title: SpanStatus
    ExperimentSessionResponse:
      type: object
      properties:
        workspace:
          type: string
        experiment_name:
          type: string
        session_id:
          type: string
        test_case_id:
          type: string
          description: >-
            Producer-supplied test case identifier; null when the producer did
            not set one.
        trace_id:
          type: string
        root_span_id:
          type: string
        started_at:
          type: string
          format: date-time
        ended_at:
          type: string
          format: date-time
        latency_ms:
          type: number
          format: double
        status:
          $ref: '#/components/schemas/SpanStatus'
          description: 'Root-span status: success, error, cancelled, or unknown.'
        input:
          type: string
          description: Root-span input text (the query).
        input_tokens:
          type: integer
          description: Sum of input tokens across this session's spans.
        output_tokens:
          type: integer
          description: Sum of output tokens across this session's spans.
        cached_tokens:
          type: integer
          description: Sum of cached tokens across this session's spans.
        cost_total_usd:
          type: number
          format: double
          description: Sum of cost across this session's spans.
        evaluator_scores:
          type: object
          additionalProperties:
            type: number
            format: double
          description: >-
            Per-evaluator session-mean score. Includes NUMERIC and BOOLEAN
            evaluator results only; text/categorical results are omitted.
      required:
        - workspace
        - experiment_name
        - session_id
        - trace_id
        - root_span_id
        - started_at
        - status
      description: >-
        One ingested session of an Experiment — 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.
      title: ExperimentSessionResponse
    PaginationData:
      type: object
      properties:
        page:
          type: integer
          description: The current page number.
        page_size:
          type: integer
          description: The page size used for the query.
        current_page_size:
          type: integer
          description: The size for the current page.
        total_pages:
          type: integer
          description: The total number of pages.
        total_results:
          type: integer
          description: The total number of results.
      required:
        - page
        - page_size
        - current_page_size
        - total_pages
        - total_results
      title: PaginationData
    ExperimentSessionResponsesPage:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/ExperimentSessionResponse'
        pagination:
          $ref: '#/components/schemas/PaginationData'
          description: Pagination information.
        sort:
          type: string
          description: The field on which the results are sorted.
        filter:
          type: object
          additionalProperties:
            description: Any type
          description: Filtering information.
      required:
        - data
      title: ExperimentSessionResponsesPage
    ValidationErrorLocItems:
      oneOf:
        - type: string
        - type: integer
      title: ValidationErrorLocItems
    ValidationError:
      type: object
      properties:
        loc:
          type: array
          items:
            $ref: '#/components/schemas/ValidationErrorLocItems'
        msg:
          type: string
        type:
          type: string
        input:
          description: Any type
        ctx:
          type: object
          additionalProperties:
            description: Any type
      required:
        - loc
        - msg
        - type
      title: ValidationError
    HTTPValidationError:
      type: object
      properties:
        detail:
          type: array
          items:
            $ref: '#/components/schemas/ValidationError'
      title: HTTPValidationError

```

## Examples



**Request**

```json
{}
```

**Response**

```json
{
  "data": [
    {
      "workspace": "nemo-research",
      "experiment_name": "text-generation-accuracy",
      "session_id": "sess-8f3a2b7c",
      "trace_id": "trace-4d2f9e7a",
      "root_span_id": "span-9c8b7a6d",
      "started_at": "2024-01-15T09:30:00Z",
      "status": "success",
      "test_case_id": "tc-20240115-01",
      "ended_at": "2024-01-15T09:30:02Z",
      "latency_ms": 2100.5,
      "input": "Generate a summary of the latest research on AI ethics.",
      "input_tokens": 45,
      "output_tokens": 120,
      "cached_tokens": 0,
      "cost_total_usd": 0.023,
      "evaluator_scores": {
        "accuracy": 0.92,
        "relevance": 0.88
      }
    }
  ],
  "pagination": {
    "page": 1,
    "page_size": 10,
    "current_page_size": 1,
    "total_pages": 1,
    "total_results": 1
  },
  "sort": "started_at",
  "filter": {}
}
```

**SDK Code**

```python
import requests

url = "https://host.com/apis/intake/v2/workspaces/workspace/experiments/name/sessions"

payload = {}
headers = {"Content-Type": "application/json"}

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

print(response.json())
```

```javascript
const url = 'https://host.com/apis/intake/v2/workspaces/workspace/experiments/name/sessions';
const options = {method: 'GET', headers: {'Content-Type': 'application/json'}, body: '{}'};

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://host.com/apis/intake/v2/workspaces/workspace/experiments/name/sessions"

	payload := strings.NewReader("{}")

	req, _ := http.NewRequest("GET", 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://host.com/apis/intake/v2/workspaces/workspace/experiments/name/sessions")

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

request = Net::HTTP::Get.new(url)
request["Content-Type"] = 'application/json'
request.body = "{}"

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://host.com/apis/intake/v2/workspaces/workspace/experiments/name/sessions")
  .header("Content-Type", "application/json")
  .body("{}")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://host.com/apis/intake/v2/workspaces/workspace/experiments/name/sessions', [
  'body' => '{}',
  'headers' => [
    'Content-Type' => 'application/json',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://host.com/apis/intake/v2/workspaces/workspace/experiments/name/sessions");
var request = new RestRequest(Method.GET);
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Content-Type": "application/json"]
let parameters = [] as [String : Any]

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

let request = NSMutableURLRequest(url: NSURL(string: "https://host.com/apis/intake/v2/workspaces/workspace/experiments/name/sessions")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
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()
```