---
title: "Stream an investigation's transcript turns by sequence cursor"
method: GET
path: "/v1/investigations/{investigationId}/turns"
tags: ["Investigations"]
---

# Stream an investigation's transcript turns by sequence cursor

`GET /v1/investigations/{investigationId}/turns`

## Request

- Base URL: `https://docs.grepr.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.grepr.ai/v1/investigations/{investigationId}/turns`
- Auth: one of:
  - API key in header `GREPR-API-KEY`
  - OpenID Connect (`https://grepr-prod.us.auth0.com/.well-known/openid-configuration`)

Returns journalled turns after the given sequence, oldest first.

## Path parameters

- `investigationId` string, required

## Query parameters

- `afterSeq` integer
- `pageSize` integer

## Response `200`

Turns retrieved successfully

- TranscriptTurnsList
  - `hasMore` boolean
  - `turns` TranscriptTurn[]
    - `messages` TranscriptMessage[]
      - `durationNanos` integer
      - `id` string
      - `role` 'SYSTEM' | 'TRIGGER_SIGNAL' | 'USER' | 'ASSISTANT' | 'TOOL_RESULT' | 'KNOWN_ISSUES'
      - `startedAt` string, date-time
      - `text` string
      - `timestamp` string, date-time
      - `toolCallId` string
      - `toolCalls` TranscriptToolCall[]
        - `argumentsJson` string
        - `id` string
        - `name` string
      - `toolName` string
    - `seq` integer

## Other responses

- `401`: Unauthorized
- `404`: Investigation not found

---

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