Skip to content

An open-source, faster Devin alternative

TypeScript

Docs: show the request shape before the response

Igor Zalutski3a85f80bb4b9
diff --git a/docs/sandboxes/usage.mdx b/docs/sandboxes/usage.mdx
index 0bfa26b8..1aa0847f 100644
--- a/docs/sandboxes/usage.mdx
+++ b/docs/sandboxes/usage.mdx
@@ -82,7 +82,17 @@ Everything on the chart — the resize step, the peak, the brief gap —
falls out of `points[]` directly: `allocatedMemoryMb` is the step,
`usedMemoryMbPeak` finds the peak, `uptimeSeconds: 0` marks downtime.
-## Response shape
+## Request
+
+```http
+GET /api/sandboxes/{id}/usage?from=<RFC3339>&to=<RFC3339>
+```
+
+Path takes the sandbox ID. `from` and `to` are optional — default is
+the last hour, max window is **30 days**. Full param reference: the
+[API page](/api-reference/usage/get-sandbox-usage).
+
+## Response
```json
{