Get memory usage
Return total, used, available, and cached RAM for the workspace machine.
API 2.7.0 · Published service contract ↗
Request
Base URL: https://app.sym.so/v1/workspaces/{workspace_id}
Authentication: bearer. Required scope: machine:read.
GET /machine/memory
Return total, used, available, and cached RAM for the workspace machine.
curl --fail-with-body -X GET "https://app.sym.so/v1/workspaces/$WORKSPACE_ID/machine/memory" \
-H "Authorization: Bearer $SYM_WORKSPACE_API_KEY"{
"worker_id": "worker-example-001",
"org_id": "workspace_example",
"memory": {
"total_bytes": 17179869184,
"used_bytes": 7516192768,
"available_bytes": 9663676416,
"cached_bytes": 3221225472,
"used_percent": 43.75,
"updated_at": "2026-08-04T10:30:00Z"
},
"ok": true
}Authorization
{
"type": "bearer",
"scope": "machine:read",
"transport": "Authorization: Bearer <workspace_api_key>"
}Errors
| Status | Description |
|---|---|
| 401 | The workspace API key is missing, invalid, expired, or revoked. |
| 403 | The key lacks the required scope or its owner no longer has permission. |
| 429 | The key exceeded its current rate limit. |
Usage notes
- Available memory follows the operating system's reclaimable-memory calculation rather than simply total minus used.