API referenceConsole
Cloud provider
Polylane watches your Railway services, reads logs and CPU, memory and disk metrics to find why a deploy crashed or a service spiked, and writes the fix.

Connect

Connect Railway from the terminal. Pass --help for the flags Railway accepts, plus --no-browser for headless environments.

Terminal
polylane cloud connect --provider railway

Disconnect

Disconnecting stops every sync and check and deletes the credentials Polylane held. Polylane removes what Railway's API lets it remove. The following stays until you remove it yourself:

  • OAuth grant
Terminal
polylane cloud disconnect <id>

Tools

4

Operations agents can perform in threads.

railwayApi
Run a curated Railway GraphQL operation (reads, restarts, redeploys, scaling)
railwayGetLogs
Get runtime logs for a Railway service or deployment
railwayListDeployments
List recent Railway deployments for a project
railwayQueryMetrics
Query CPU, memory, network, and disk metrics for Railway services

Supported resources

8

Resource types that show up in your infrastructure graph.

Project
Environment
Service
Deployment
Volume
Domain
TCP Proxy
Notification Rule