---
title: "Create Source Alert"
method: POST
path: "/alerts/ingestion"
---

# Create Source Alert

`POST /alerts/ingestion`

## Request

- Base URL: `https://app.runconverge.com/api`
- URL: `https://app.runconverge.com/api/alerts/ingestion`
- Auth: none declared

## Headers

- `Authorization` string, nullable
- `X-User-Id` string, nullable

## Cookies

- `session_id` string, nullable

## Request body

- SourceAlertConfigInput
  - `event_name` string, required
  - `duration` string, duration, required
  - `threshold` integer

## Response `200`

Successful Response

- SourceAlertSchema
  - `id` integer, required
  - `created_at` string, date-time, required
  - `alert_config` SourceAlertConfigOutput, required
    - `event_name` string, required
    - `duration` integer, required
    - `threshold` integer
  - `last_checked_at` string, date-time, nullable, required
  - `is_firing_since` string, date-time, nullable, required
  - `last_sent_at` string, date-time, nullable, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/runconverge/apis/runconverge-api.md) - [All operations](https://skmtc.dev/runconverge/apis/runconverge-api/llms.txt) - [OpenAPI document](https://skmtc.dev/runconverge/apis/runconverge-api/revisions/f723e951cc0b?raw)
