Cloud provider
Connect your Railway workspace to give agents visibility into your projects, environments, services, and deployments. Agents can track deploy status, watch service resource usage, and correlate Railway activity with the rest of your infrastructure.

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