> ## Documentation Index
> Fetch the complete documentation index at: https://docs.atomscale.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get RHEED Stream Latency

> Retrieve the real-time latency of a RHEED stream

Returns the real-time latency of a RHEED stream in seconds. Returns `null` if the stream is not active or has no results yet.

<ParamField path="data_id" type="string" required>
  The data entry UUID for the streaming session
</ParamField>

## Response

The latency in seconds as a number, or `null` if the stream is not active or has no results yet.

<RequestExample>
  ```python Python theme={null}
  import requests

  response = requests.get(
      "https://api.atomscale.ai/rheed/stream/d290f1ee-6c54-4b01-90e6-d701748f0851/latency",
      headers={"X-API-KEY": "YOUR_API_KEY"}
  )
  latency = response.json()
  ```

  ```bash cURL theme={null}
  curl "https://api.atomscale.ai/rheed/stream/d290f1ee-6c54-4b01-90e6-d701748f0851/latency" \
    -H "X-API-KEY: YOUR_API_KEY"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  0.85
  ```
</ResponseExample>
