Fly.io
Machines

Get Metadata Value

View as Markdown

Get the value of a specific metadata key

GET
/apps/{app_name}/machines/{machine_id}/metadata/{key}

Get the value of a specific metadata key

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

key*string

Metadata Key

Response Body

application/json

application/json

curl -X GET "https://example.com/apps/string/machines/string/metadata/string"
{  "value": "string"}
{  "details": {},  "error": "string",  "status": "unknown"}