---
title: "Get transcript messages and events"
method: GET
path: "/transcripts/{dir}/{id}/messages-events"
tags: ["transcripts"]
---

# Get transcript messages and events

`GET /transcripts/{dir}/{id}/messages-events`

Returns JSON bytes for transcript messages and events. May be compressed (check Content-Encoding or X-Content-Encoding headers). JSON may contain a top-level 'attachments' dict; strings within 'messages' and 'events' may contain 'attachment://<32-char-hex-id>' refs that must be resolved client-side by looking up the ID in the 'attachments' dict. Use X-Accept-Raw-Encoding header to bypass server transcoding and receive bytes in the source compression format (e.g., zstd); client must decompress.

## Path parameters

- `dir` string, required — Transcripts directory (base64url-encoded)
- `id` string, required — Transcript ID

## Headers

- `x-accept-raw-encoding` 'zstd', nullable — Comma-separated list of compression algorithms the client application can decompress in code (e.g., 'zstd'). Use this for algorithms browsers don't natively support. If the source uses a listed algorithm, raw compressed bytes are returned with X-Content-Encoding header (not Content-Encoding, so the browser won't attempt decompression). Otherwise, server transcodes to deflate for automatic browser decompression.

## Response `200`

Successful Response

- MessagesEventsResponse — unresolved $ref

---

[API](https://skmtc.net/meridianlabs-ai/apis/inspect-scout-viewer-api.md) · [All operations](https://skmtc.net/meridianlabs-ai/apis/inspect-scout-viewer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/meridianlabs-ai/inspect-scout-viewer-api/revisions/09cc54e3f328/schema)
