Levain LabsLevain Labs
API ReferenceRuntimes

Runtime Connection

Fetch the current connection settings. Sent by levain-runtime.

Fetch the current connection settings. Sent by levain-runtime.

Authenticates with the runtime's own secret as a bearer token, not with a workspace credential. The secret itself is never returned.

GET
/api/v1/runtimes/{runtime_id}/connection

Path Parameters

runtime_id*Runtime Id

Header Parameters

authorization?string|null

Response Body

application/json

application/json

curl -X GET "https://api.levainlabs.com/api/v1/runtimes/string/connection"
{
  "gateway_url": "string",
  "user": "string",
  "reverse_port": 0,
  "forwards": [
    {
      "local_port": 0,
      "remote": "string"
    }
  ],
  "heartbeat_seconds": 0
}