---
title: "Test an alert action to determine if configuration is valid"
method: POST
path: "/api/v1/platform/alerts/{session_id}/test"
tags: ["alert_rules"]
---

# Test an alert action to determine if configuration is valid

`POST /api/v1/platform/alerts/{session_id}/test`

## Request

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

Tests an alert action which will fire a notification to all configured recipients if the configuration is valid.

## Path parameters

- `session_id` string, required
- `alert_rule_id` string, required

## Other responses

- `400`: Bad request
- `403`: Forbidden
- `500`: Internal server error
- `503`: Service unavailable

## Changes

- **2026-10-16** `1a8ee9358d81`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/langchain-ai/apis/langsmith/changes/api/v1/platform/alerts/:session_id/test/post.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)
