---
title: "List all cases for the authenticated user"
method: GET
path: "/cases"
tags: ["Cases"]
---

# List all cases for the authenticated user

`GET /cases`

## Request

- Base URL: `https://hoghogh.ai/api/v1`
- URL: `https://hoghogh.ai/api/v1/cases`
- Auth: HTTP bearer

## Query parameters

- `status` 'active' | 'pending' | 'closed' | 'archived'
- `search` string

## Response `200`

List of cases

- Case[]
  - `id` string, uuid
  - `user_id` string, uuid
  - `title` string
  - `client_name` string, nullable
  - `case_number` string, nullable
  - `status` 'active' | 'pending' | 'closed' | 'archived'
  - `case_type` string, nullable
  - `description` string, nullable
  - `next_hearing` string, date-time, nullable
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `401`: Missing or invalid authorization token

---

[API](https://skmtc.dev/hoghogh/apis/chistara-api.md) · [All operations](https://skmtc.dev/hoghogh/apis/chistara-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hoghogh/apis/chistara-api/revisions/457df37a06f7?raw)
