---
title: "Create Bug Route"
method: POST
path: "/api/v1/bugs"
tags: ["bugs"]
---

# Create Bug Route

`POST /api/v1/bugs`

## Headers

- `authorization` string, nullable — Bearer <token>

## Request body

- BugCreate
  - `customer_id` string, uuid, nullable
  - `source_channel` string, required
  - `excerpt` string, required
  - `title` string, required
  - `severity` string

## Response `201`

Successful Response

- EnvelopeBugResponse
  - `data` BugResponse, required
    - `id` string, uuid, required
    - `workspace_id` string, uuid, required
    - `customer_id` string, uuid, nullable
    - `source_channel` string, required
    - `excerpt` string, required
    - `title` string, required
    - `severity` string, required
    - `status` string, required
    - `linear_ticket_id` string, nullable
    - `affected_count` integer
    - `similar_count` integer
    - `reporter_name` string
    - `confidence` number, nullable
    - `detected_at` string, date-time, required
    - `triaged_at` string, date-time, nullable
    - `created_at` string, date-time, required
  - `meta` Meta
    - `request_id` string
    - `timestamp` string, date-time
    - `total` integer, nullable
    - `truncated` boolean, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/minro/apis/minro-cs-platform.md) · [All operations](https://skmtc.dev/minro/apis/minro-cs-platform/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/minro/minro-cs-platform/revisions/eb854265cf29/schema)
