---
title: "Get a single ticket with logs"
method: GET
path: "/api/tickets/{ticket_id}"
tags: ["tickets"]
---

# Get a single ticket with logs

`GET /api/tickets/{ticket_id}`

Returns one ticket by ID with logs. Supervisor: only if ticket is for supervised operator.

## Path parameters

- `ticket_id` string, uuid, required — Ticket UUID

## Response `200`

Successful Response

- TicketWithLogs — Ticket with nested logs.
  - `id` string, required — Ticket UUID
  - `operator_id` string, required — Operator UUID
  - `type` string, required — ALERT or REPORT
  - `status` string, required — PENDING, CLOSED, or SUSPENDED
  - `created_at` string, nullable — ISO datetime
  - `updated_at` string, nullable — ISO datetime
  - `closed_at` string, nullable — ISO datetime of closure
  - `logs` TicketLogEntry[] — Log entries for this ticket
    - `id` string, required — Log UUID
    - `action` string, required — Action label
    - `message` string, nullable — Log message
    - `created_at` string, nullable — ISO datetime
    - `author_id` string, required — User UUID who wrote the log

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/corabea/apis/corabea-api.md) · [All operations](https://skmtc.dev/corabea/apis/corabea-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/corabea/corabea-api/revisions/13c1bce1bdc4/schema)
