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

# List posts

`GET /api/v1/posts`

## Request

- Base URL: `https://api.cadencz.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.cadencz.com/api/v1/posts`
- Auth: HTTP bearer

Returns posts and variants for the current user's active workspace.

## Response `200`

Successful Response

- PostRead[]
  - `id` string, required
  - `workspace_id` string, required
  - `idea` string, required
  - `source` string, required
  - `brain_id` string, nullable, required
  - `variants` VariantRead[]
    - `id` string, required
    - `post_id` string, required
    - `channel_id` string, nullable, required
    - `platform` string, required
    - `body` string, required
    - `media_ids` string[], required
    - `media` MediaRead[]
      - `id` string, required
      - `kind` string, required
      - `url` string, required
      - `alt_text` string, nullable
      - `width` integer, nullable
      - `height` integer, nullable
      - `bytes` integer, nullable
    - `platform_target` string, nullable, required
    - `status` string, required
    - `scheduled_at` string, date-time, nullable, required
    - `published_at` string, date-time, nullable, required
    - `provider_url` string, nullable, required
    - `error` string, nullable, required
    - `attempt_count` integer, required
    - `content_metadata` object
    - `thread_id` string, nullable
    - `thread_position` integer, nullable

## Other responses

- `401`: Missing or invalid Supabase bearer token.

---

[API](https://skmtc.dev/cadencz/apis/cadencz-api.md) · [All operations](https://skmtc.dev/cadencz/apis/cadencz-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cadencz/apis/cadencz-api/revisions/3392fe5e93db?raw)
