---
title: "[Beta] Get Insights Job Configs"
method: GET
path: "/api/v1/sessions/{session_id}/insights/configs"
tags: ["tracer-sessions"]
---

# \[Beta\] Get Insights Job Configs

`GET /api/v1/sessions/{session_id}/insights/configs`

## Request

- Base URL: `https://api.smith.langchain.com`
- URL: `https://api.smith.langchain.com/api/v1/sessions/{session_id}/insights/configs`
- Auth: one of:
  - API key in header `X-API-Key`
  - API key in header `X-Tenant-Id`
  - HTTP bearer

List Insights job configurations for a project.

## Path parameters

- `session_id` string, uuid, required

## Query parameters

- `include_prebuilts` boolean

## Response `200`

Successful Response

- GetClusteringJobConfigsResponse: A collection of Insights job configurations.
  - `configs` ClusteringJobConfigResponse[], required
    - `id` union, required
      - string, uuid
      - string
    - `name` string, required
    - `description` string, nullable
    - `config` SavedRunClusteringJobRequest, required: Saved configuration for an Insights job.
      - `name` string, nullable, required
      - `last_n_hours` integer, nullable
      - `start_time` string, nullable
      - `end_time` string, nullable
      - `hierarchy` integer[], nullable, required
      - `partitions` object, nullable, required
      - `sample` union, required
        - number
        - integer
      - `summary_prompt` string, nullable, required
      - `filter` string, nullable, required
      - `attribute_schemas` object, nullable, required
      - `user_context` object, nullable
      - `model` 'openai' | 'anthropic', required
      - `cluster_model` string, nullable
      - `summary_model` string, nullable
    - `prebuilt` boolean, required
    - `schedule_cron` string, nullable

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-16** `1a8ee9358d81`: 4 breaking
  - the `detail/items/` response's property type changed from `object` to `string` for status `422`
  - removed the required property `detail/items/loc` from the response with the `422` status
  - removed the required property `detail/items/msg` from the response with the `422` status
  - removed the required property `detail/items/type` from the response with the `422` status
- **2026-05-27** `a0acb3a6a101`: 2 breaking, 2 info
  - the response property `configs/items/config/last_n_hours` became optional for the status `200`
  - response property `configs/items/config/last_n_hours` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - added the optional property `configs/items/config/end_time` to the response with the `200` status
  - added the optional property `configs/items/config/start_time` to the response with the `200` status

[Operation history](https://skmtc.dev/langchain-ai/apis/langsmith/changes/api/v1/sessions/:session_id/insights/configs/get.md)

---

[API](https://skmtc.dev/langchain-ai/apis/langsmith.md) - [All operations](https://skmtc.dev/langchain-ai/apis/langsmith/llms.txt) - [OpenAPI document](https://skmtc.dev/langchain-ai/apis/langsmith/revisions/7a01c01f75e8?raw)
