---
title: "Set incident severity"
method: POST
path: "/incidents/severity"
tags: ["Incident Actions"]
---

# Set incident severity

`POST /incidents/severity`

## Request

- Base URL: `https://api.spike.sh`
- URL: `https://api.spike.sh/incidents/severity`
- Auth: none declared. Required headers: `x-api-key`, `x-team-id`
- TypeScript: <https://skmtc.dev/spike/apis/spike-sh-api/docs/incidents/severity/post.ts> (a function with typed inputs; its response is checked against the schema)

Set severity for one or more incidents

## Headers

- `x-api-key` string, required
- `x-team-id` string, required

## Request body

- object
  - `ids` string[], required: Array of incident counter IDs
  - `severity` 'sev1' | 'sev2' | 'sev3', required: Severity level

## Response `200`

Severity set successfully

## Other responses

- `401`: Unauthorized

---

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