---
title: "File Bug Route"
method: POST
path: "/api/v1/bugs/{bug_id}/file"
tags: ["bugs"]
---

# File Bug Route

`POST /api/v1/bugs/{bug_id}/file`

## Path parameters

- `bug_id` string, uuid, required

## Headers

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

## Request body

- BugFileRequest
  - `title` string, nullable
  - `severity` string, nullable
  - `assignee_id` string, nullable

## Response `200`

Successful Response

- EnvelopeBugFileResponse
  - `data` BugFileResponse, required
    - `bug_id` string, uuid, required
    - `linear_ticket_id` string, required
    - `linear_url` string, nullable
  - `meta` Meta
    - `request_id` string
    - `timestamp` string, date-time
    - `total` integer, nullable
    - `truncated` boolean, nullable
    - `reply_total` integer, nullable
    - `metric_total` integer, nullable
    - `people_total` integer, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-12** `c04e0dbaf3c4` — 2 info
  - the `meta` response's property default value changed from `{"request_id":"","timestamp":"2026-09-11T07:11:58.439899"}` to `{"request_id":"","timestamp":"2026-09-11T07:11:59.155802"}` for the status `200`
  - the `timestamp` response's property default value changed from `2026-09-11T07:11:58.439899` to `2026-09-11T07:11:59.155802` for the status `200`
- **2026-09-11** `19ef49320f13` — 2 info
  - the `meta` response's property default value changed from `{"request_id":"","timestamp":"2026-09-10T06:21:42.551944"}` to `{"request_id":"","timestamp":"2026-09-11T07:11:58.439899"}` for the status `200`
  - the `timestamp` response's property default value changed from `2026-09-10T06:21:42.551944` to `2026-09-11T07:11:58.439899` for the status `200`
- **2026-09-10** `f9750f2d4ff5` — 2 info
  - the `meta` response's property default value changed from `{"request_id":"","timestamp":"2026-09-09T19:22:48.989456"}` to `{"request_id":"","timestamp":"2026-09-10T06:21:42.551944"}` for the status `200`
  - the `timestamp` response's property default value changed from `2026-09-09T19:22:48.989456` to `2026-09-10T06:21:42.551944` for the status `200`
- …earlier changes not shown

[Full history](https://skmtc.dev/minro/apis/minro-cs-platform/changes/api/v1/bugs/:bug_id/file/post.md)

---

[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.dev/minro/apis/minro-cs-platform/revisions/c04e0dbaf3c4?raw)
