---
title: "List projects"
method: GET
path: "/api/v1/projects"
tags: ["workspace"]
---

# List projects

`GET /api/v1/projects`

## Request

- Base URL: `https://mdtidy.com`
- URL: `https://mdtidy.com/api/v1/projects`
- Auth: HTTP bearer

## Query parameters

- `scope` 'mine' | 'shared' | 'archived'

## Response `200`

Project list.

- object
  - `scope` 'mine' | 'shared' | 'archived', required
  - `items` Project[], required
    - `id` string, uuid, required
    - `type` 'project', required
    - `name` string, required
    - `description` string, nullable, required
    - `file_count` integer, required
    - `folder_count` integer, required
    - `archived` boolean, required
    - `visibility` 'private' | 'public' | 'restricted', required
    - `public_url` string, nullable, required: `https://mdtidy.com/p/{slug}` when public; null otherwise.
    - `shared_by` string, nullable: Owner display name; only on scope=shared items.
    - `created_at` string, required
    - `updated_at` string, required

## Other responses

- `401`: X-API-KEY is malformed, unknown, or revoked.
- `429`: Per-key rate limit (60/min) exceeded.

---

[API](https://skmtc.dev/mdtidy/apis/markdown-tidy-api.md) · [All operations](https://skmtc.dev/mdtidy/apis/markdown-tidy-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mdtidy/apis/markdown-tidy-api/revisions/caeec6fad155?raw)
