---
title: "Stream Pillar Analysis"
method: GET
path: "/api/v1/tbpi/rssd/{rssd}/pillar/{pillar}/analyze/stream"
tags: ["TBPI Analysis"]
---

# Stream Pillar Analysis

`GET /api/v1/tbpi/rssd/{rssd}/pillar/{pillar}/analyze/stream`

## Request

- Base URL: `https://app.perlucem.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://app.perlucem.ai/api/v1/tbpi/rssd/{rssd}/pillar/{pillar}/analyze/stream`
- Auth: none declared

Stream pillar analysis with real-time updates via Server-Sent Events (SSE).

This endpoint provides live streaming of the analysis as it's generated:
- Text appears word-by-word as Claude generates it
- Progress updates for each step
- Synthesis streams the final 8-section report
- Feels instant like Claude desktop

Args:
    rssd: Bank RSSD ID
    pillar: Pillar to analyze (revenue|cost|risk|capital|operations)
    user: Current authenticated user

Returns:
    StreamingResponse with Server-Sent Events (SSE):
    - event: started - Analysis session created
    - event: step_started - Step N beginning
    - event: step_N_chunk - Real-time text chunks from step N
    - event: step_N_complete - Step N finished
    - event: synthesis_started - Final synthesis beginning
    - event: synthesis_chunk - Real-time synthesis text
    - event: complete - Full analysis finished
    - event: error - Error occurred
    - event: heartbeat - Keep-alive ping

## Path parameters

- `rssd` string, required
- `pillar` string, required

## Query parameters

- `token` string, required: JWT access token

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/perlucem/apis/perlucem-ai-backend.md) · [All operations](https://skmtc.dev/perlucem/apis/perlucem-ai-backend/llms.txt) · [OpenAPI document](https://skmtc.dev/perlucem/apis/perlucem-ai-backend/revisions/e1830fb27394?raw)
