---
title: "Read customer-visible Assistant message history"
method: GET
path: "/v5/agent/workflows/{workflowId}/timeline"
tags: ["Agent"]
---

# Read customer-visible Assistant message history

`GET /v5/agent/workflows/{workflowId}/timeline`

## Request

- Base URL: `https://api.kadoa.com`
- URL: `https://api.kadoa.com/v5/agent/workflows/{workflowId}/timeline`
- Auth: none declared

Returns user messages, Assistant messages, and clarification questions from the latest Lighthouse/Shelly or Julie customer thread. Internal and operations lanes are never selectable.

## Path parameters

- `workflowId` string, uuid, required

## Query parameters

- `cursor` string
- `limit` integer

## Response `200`

Customer-visible Assistant message history

- AssistantHistoryResponse
  - `data` object, required
    - `workflowId` string, uuid, required
    - `sessionId` string, uuid, required
    - `items` AssistantHistoryItem[], required
      - union
        - AssistantHistoryUserMessage
          - `id` string, required
          - `time` string, date-time, required
          - `kind` 'user_message', required
          - `role` 'user', required
          - `text` string, required
          - `authorId` string
        - AssistantHistoryMessage
          - `id` string, required
          - `time` string, date-time, required
          - `kind` 'assistant_message', required
          - `role` 'assistant', required
          - `text` string, required
          - `links` object[]
            - `url` string, uri, required
        - AssistantHistoryQuestion
          - `id` string, required
          - `time` string, date-time, required
          - `kind` 'question', required
          - `questionId` string, required
          - `questions` AssistantQuestion[], required
            - `question` string, required
            - `header` string, required
            - `options` object[], required
              - …
            - `answerType` 'single' | 'multi' | 'freeform', required
            - `metadata` object
          - `answers` object, nullable, required
          - `status` 'answered' | 'unanswered', required
    - `pagination` object, required
      - `nextCursor` string, nullable, required
      - `hasMore` boolean, required
  - `status` 'success', required

## Other responses

- `400`: Invalid workflow ID, limit, or cursor
- `403`: Authenticated principal cannot read workflows
- `404`: Workflow not found for the authenticated team
- `409`: Workflow has no Assistant session or customer-facing thread
- `502`: Assistant history storage is unavailable

---

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