---
title: "Stream sample events"
method: GET
path: "/samples/{sampleID}/events"
---

# Stream sample events

`GET /samples/{sampleID}/events`

## Request

- Base URL: `https://sandbox.recordedfuture.com/api/v0`
- URL: `https://sandbox.recordedfuture.com/api/v0/samples/{sampleID}/events`
- Auth: API key in header `Authorization`

Stream a sample's current state and real-time updates, auto-closing when analysis reaches terminal status.

## Path parameters

- `sampleID` string, required

## Response `200`

Streaming NDJSON response. The first message contains the full sample state; subsequent messages contain state change events.

## Other responses

- `404`: Sample not found.

---

[API](https://skmtc.dev/recordedfuture/apis/recorded-future-sandbox-api-secopsti.md) - [All operations](https://skmtc.dev/recordedfuture/apis/recorded-future-sandbox-api-secopsti/llms.txt) - [OpenAPI document](https://skmtc.dev/recordedfuture/apis/recorded-future-sandbox-api-secopsti/revisions/39ea918b1dca?raw)
