---
title: "Get Shared Messages"
method: GET
path: "/api/v1/monitor/messages/shared"
tags: ["Monitor"]
---

# Get Shared Messages

`GET /api/v1/monitor/messages/shared`

Get messages for a shared/public flow, scoped to the authenticated user.

Uses a deterministic virtual flow_id derived from the user's ID and the
original flow ID. Only messages stored under this virtual flow_id are returned.

## Query parameters

- `source_flow_id` string, uuid, required — The original public flow ID
- `session_id` string, nullable
- `order_by` string, nullable
- `order` string
- `limit` integer, nullable
- `offset` integer, nullable

## Response `200`

Successful Response

- MessageResponse[]
  - `category` string, nullable
  - `content_blocks` object[], nullable
  - `context_id` string, nullable
  - `duration` number, nullable
  - `edit` boolean, required
  - `files` string[]
  - `flow_id` string, uuid, nullable
  - `id` union
    - string
    - string, uuid
  - `properties` Properties
    - `allow_markdown` boolean
    - `background_color` string, nullable
    - `build_duration` number, nullable
    - `edited` boolean
    - `icon` string, nullable
    - `positive_feedback` boolean, nullable
    - `source` Source
      - `display_name` string, nullable — The display name of the source component.
      - `id` string, nullable — The id of the source component.
      - `source` string, nullable — The source of the message. Normally used to display the model name (e.g. 'gpt-4o')
    - `state` 'partial' | 'complete'
    - `targets` unknown[]
      - unknown
    - `text_color` string, nullable
    - `usage` Usage — Token usage information from LLM responses.
      - `input_tokens` integer, nullable
      - `output_tokens` integer, nullable
      - `total_tokens` integer, nullable
  - `sender` string, required
  - `sender_name` string, required
  - `session_id` string, required
  - `session_metadata` object, nullable
  - `text` string, required
  - `timestamp` string, date-time

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/langflow-ai/apis/langflow.md) · [All operations](https://skmtc.net/langflow-ai/apis/langflow/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/langflow-ai/langflow/revisions/22962dc5e81b/schema)
