---
title: "[Beta] Delete Insights Job Config"
method: DELETE
path: "/api/v1/sessions/{session_id}/insights/configs/{config_id}"
tags: ["tracer-sessions"]
---

# \[Beta\] Delete Insights Job Config

`DELETE /api/v1/sessions/{session_id}/insights/configs/{config_id}`

## Request

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

Delete an Insights job configuration for a project.

## Path parameters

- `session_id` string, uuid, required
- `config_id` string, uuid, required

## Response `200`

Successful Response

- DeleteClusteringJobConfigResponse: Confirmation that an Insights job configuration was deleted.
  - `id` string, uuid, required
  - `message` string, required

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

[Operation history](https://skmtc.dev/langchain-ai/apis/langsmith/changes/api/v1/sessions/:session_id/insights/configs/:config_id/delete.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)
