---
title: "Get Tracing Project Prebuilt Dashboard"
method: POST
path: "/api/v1/sessions/{session_id}/dashboard"
tags: ["tracer-sessions"]
---

# Get Tracing Project Prebuilt Dashboard

`POST /api/v1/sessions/{session_id}/dashboard`

Get a prebuilt dashboard for a tracing project.

## Path parameters

- `session_id` string, uuid, required

## Headers

- `accept` string, nullable

## Request body

- CustomChartsSectionRequest
  - `timezone` string
  - `start_time` string, date-time, nullable
  - `end_time` string, date-time, nullable
  - `stride` TimedeltaInput — Timedelta input.
    - `days` integer
    - `hours` integer
    - `minutes` integer
  - `omit_data` boolean
  - `group_by` RunStatsGroupBy — Group by param for run stats.
    - `attribute` 'name' | 'run_type' | 'tag' | 'metadata', required
    - `path` string, nullable
    - `max_groups` integer

## Response `200`

Successful Response

- CustomChartsSection
  - `title` string, required
  - `description` string, nullable
  - `index` integer, nullable
  - `id` union, required
    - string, uuid
    - string
  - `session_id` string, uuid, nullable
  - `charts` SingleCustomChartResponse[], required
    - `data` CustomChartsDataPoint[], required
      - `series_id` string, required
      - `timestamp` string, date-time, required
      - `value` union, required
        - integer
        - number
        - object
      - `group` string, nullable
    - `id` union, required
      - string, uuid
      - string
    - `title` string, required
    - `description` string, nullable
    - `metadata` object, nullable
    - `index` integer, required
    - `chart_type` 'line' | 'bar', required — Enum for custom chart types.
    - `series` CustomChartSeries[], required
      - `name` string, required
      - `filters` CustomChartSeriesFilters
        - `filter` string, nullable
        - `trace_filter` string, nullable
        - `tree_filter` string, nullable
        - `session` string[], nullable
      - `metric` 'run_count' | 'latency_p50' | 'latency_p99' | 'latency_avg' | 'first_token_p50' | 'first_token_p99' | 'total_tokens' | 'prompt_tokens' | 'completion_tokens' | 'median_tokens' | 'completion_tokens_p50' | 'prompt_tokens_p50' | 'tokens_p99' | 'completion_tokens_p99' | 'prompt_tokens_p99' | 'feedback' | 'feedback_score_avg' | 'feedback_values' | 'total_cost' | 'prompt_cost' | 'completion_cost' | 'error_rate' | 'streaming_rate' | 'cost_p50' | 'cost_p99', required — Metrics you can chart. Feedback metrics are not available for organization-scoped charts.
      - `feedback_key` string, nullable
      - `workspace_id` string, uuid, nullable
      - `project_metric` 'memory_usage' | 'cpu_usage' | 'disk_usage' | 'restart_count' | 'replica_count' | 'worker_count' | 'lg_run_count' | 'responses_per_second' | 'error_responses_per_second' | 'p95_latency' — LGP Metrics you can chart.
      - `id` union, required
        - string, uuid
        - string
      - `group_by` RunStatsGroupBySeriesResponse — Include additional information about where the group_by param was set.
        - `attribute` 'name' | 'run_type' | 'tag' | 'metadata', required
        - `path` string, nullable
        - `max_groups` integer
        - `set_by` 'section' | 'series', nullable
    - `common_filters` CustomChartSeriesFilters
      - `filter` string, nullable
      - `trace_filter` string, nullable
      - `tree_filter` string, nullable
      - `session` string[], nullable
  - `sub_sections` SingleCustomChartSubSectionResponse[], nullable
    - `title` string, required
    - `description` string, nullable
    - `index` integer, required
    - `id` union, required
      - string, uuid
      - string
    - `charts` SingleCustomChartResponse[], required
      - `data` CustomChartsDataPoint[], required
        - `series_id` string, required
        - `timestamp` string, date-time, required
        - `value` union, required
          - integer
          - number
          - object
        - `group` string, nullable
      - `id` union, required
        - string, uuid
        - string
      - `title` string, required
      - `description` string, nullable
      - `metadata` object, nullable
      - `index` integer, required
      - `chart_type` 'line' | 'bar', required — Enum for custom chart types.
      - `series` CustomChartSeries[], required
        - `name` string, required
        - `filters` CustomChartSeriesFilters
          - `filter` string, nullable
          - `trace_filter` string, nullable
          - `tree_filter` string, nullable
          - `session` string[], nullable
        - `metric` 'run_count' | 'latency_p50' | 'latency_p99' | 'latency_avg' | 'first_token_p50' | 'first_token_p99' | 'total_tokens' | 'prompt_tokens' | 'completion_tokens' | 'median_tokens' | 'completion_tokens_p50' | 'prompt_tokens_p50' | 'tokens_p99' | 'completion_tokens_p99' | 'prompt_tokens_p99' | 'feedback' | 'feedback_score_avg' | 'feedback_values' | 'total_cost' | 'prompt_cost' | 'completion_cost' | 'error_rate' | 'streaming_rate' | 'cost_p50' | 'cost_p99', required — Metrics you can chart. Feedback metrics are not available for organization-scoped charts.
        - `feedback_key` string, nullable
        - `workspace_id` string, uuid, nullable
        - `project_metric` 'memory_usage' | 'cpu_usage' | 'disk_usage' | 'restart_count' | 'replica_count' | 'worker_count' | 'lg_run_count' | 'responses_per_second' | 'error_responses_per_second' | 'p95_latency' — LGP Metrics you can chart.
        - `id` union, required
          - string, uuid
          - string
        - `group_by` RunStatsGroupBySeriesResponse — Include additional information about where the group_by param was set.
          - `attribute` 'name' | 'run_type' | 'tag' | 'metadata', required
          - `path` string, nullable
          - `max_groups` integer
          - `set_by` 'section' | 'series', nullable
      - `common_filters` CustomChartSeriesFilters
        - `filter` string, nullable
        - `trace_filter` string, nullable
        - `tree_filter` string, nullable
        - `session` string[], nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/langchain-ai/apis/langsmith.md) · [All operations](https://skmtc.net/langchain-ai/apis/langsmith/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/langchain-ai/langsmith/versions/a0acb3a6a101/schema)
