bootstrap

Warm non-critical workspace data after the shell renders

get/api/v1/bootstrap/deferred

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/bootstrap/deferred
  • Auth: HTTP bearer

Response

Successful Response

mediaobject[] nullable
failedstring[]

Example response

{
  "preferences": {
    "timezone": "Asia/Kolkata",
    "weekStart": "monday"
  },
  "channels": [
    {
      "avatar_url": "https://example.com/avatar.png",
      "byo_app": false,
      "display_name": "Cadencz",
      "followers": 42,
      "handle": "cadencz.bsky.social",
      "id": "chn_123",
      "platform": "bluesky",
      "status": "connected",
      "workspace_id": "wks_123"
    }
  ],
  "usage": {
    "balance": 348,
    "categories": [
      {
        "balance": -2,
        "cost_usd_micros": 1200,
        "granted": 0,
        "label": "Brain compose",
        "reason": "text_draft",
        "used": 2
      }
    ],
    "cost_usd_micros": 1200,
    "granted": 350,
    "projects": [
      {
        "balance": -2,
        "cost_usd_micros": 1200,
        "granted": 0,
        "name": "Orbit CRM",
        "project_id": "brain_123",
        "project_type": "brain",
        "used": 2,
        "workspace_id": "wks_123"
      }
    ],
    "used": 2,
    "user_id": "CAD1234567890912",
    "workspace_balance": 348,
    "workspace_cost_usd_micros": 1200,
    "workspace_granted": 350,
    "workspace_id": "wks_123",
    "workspace_used": 2
  },
  "strategy": {
    "cadence_per_week": 5,
    "goals": [
      "grow",
      "nurture"
    ],
    "niche": "Indie SaaS / building in public",
    "platforms": [
      "x",
      "linkedin"
    ],
    "tone_profile": {
      "emoji": "sparse",
      "tone_words": [
        "wry",
        "concise"
      ]
    },
    "updated_at": "2026-07-14T10:00:00Z",
    "workspace_id": "wks_123"
  },
  "plan": {
    "created_at": "2026-07-13T10:00:00Z",
    "goal": "grow",
    "id": "plan_123",
    "items": [
      {
        "angle": "reframe reliability as a principle",
        "id": "item_1",
        "platforms": [
          "x"
        ],
        "prompt": "Write about the single rule that governs our tradeoffs.",
        "scheduled_for": "2026-07-14T09:00:00Z",
        "status": "draft",
        "theme": "The one-rule philosophy",
        "why": "Tue mornings get 2x engagement for you."
      }
    ],
    "niche": "indie SaaS",
    "status": "draft",
    "week_of": "2026-07-13T00:00:00Z",
    "workspace_id": "wks_123"
  },
  "brains": [
    {
      "accent": "#4338ca",
      "created_at": "2026-07-08T10:00:00Z",
      "emoji": "*",
      "fact_count": 14,
      "id": "brain_123",
      "name": "Orbit CRM",
      "source_count": 2,
      "tagline": "A calm CRM for founder-led sales teams.",
      "updated_at": "2026-07-08T10:30:00Z",
      "workspace_id": "wks_123"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.