---
search:
  tags:
    - sandboxes
    - GET
seo:
  description: >-
    The control plane samples every running sandbox at a fixed interval…
    Reference for the GET /v1/sandboxes/{sandbox}/stats endpoint in the pols.so
    API.
sidebar:
  label: A sandbox's current CPU, memory and disk use and its recent history
  badge: GET
title: A sandbox's current CPU, memory and disk use and its recent history
type: openapi-operation
---
The control plane samples every running sandbox at a fixed interval
(`interval_seconds`) and keeps the samples of the last hour in memory;
they start over when the control plane restarts. `current` is
present while the sandbox runs and has a recent sample. A stopped
sandbox keeps the history of its last run until it ages out. Answers
503 when the deployment does not sample resources.

`GET /v1/sandboxes/{sandbox}/stats`
