Fly.io
Machines

Get Machine Memory

View as Markdown

Get current memory limit and available capacity for a machine

GET
/apps/{app_name}/machines/{machine_id}/memory

Get current memory limit and available capacity for a machine

Authorization

bearerAuth
AuthorizationBearer <token>

A Fly.io access token. Create one with fly tokens create.

In: header

Path Parameters

app_name*string

Fly App Name

machine_id*string

Machine ID

Response Body

application/json

curl -X GET "https://example.com/apps/string/machines/string/memory"
{  "available_mb": 0,  "limit_mb": 0}