Overview
Add Railway to any ModuleX agent or workflow. Manage Railway projects, services, environments, deployments, and environment variables against Railway’s public GraphQL API (backboard.railway.com/graphql/v2).
Authentication
API Token Authentication
Authenticate using your Railway API tokenStep 1
Required Credentials
| Field | Description | Required | Format |
|---|---|---|---|
| Railway API Token | Your Railway API token from account settings | Yes | - |
Available Actions
list_projects — List Railway projects visible to the provided token.
list_projects — List Railway projects visible to the provided token.
get_project — Get a Railway project with its services and environments.
get_project — Get a Railway project with its services and environments.
create_project — Create a Railway project.
create_project — Create a Railway project.
Parameters
account)Response
update_project — Update a Railway project name or description.
update_project — Update a Railway project name or description.
Parameters
account)Response
delete_project — Delete a Railway project.
delete_project — Delete a Railway project.
transfer_project — Transfer a Railway project to another workspace.
transfer_project — Transfer a Railway project to another workspace.
list_project_members — List members for a Railway project.
list_project_members — List members for a Railway project.
create_environment — Create a Railway project environment.
create_environment — Create a Railway project environment.
Parameters
account)Response
delete_environment — Delete a Railway project environment.
delete_environment — Delete a Railway project environment.
create_service — Create a Railway service from a GitHub repo or Docker image.
create_service — Create a Railway service from a GitHub repo or Docker image.
Parameters
account)Response
delete_service — Delete a Railway service and all of its deployments.
delete_service — Delete a Railway service and all of its deployments.
list_deployments — List deployments for a Railway service in an environment.
list_deployments — List deployments for a Railway service in an environment.
Parameters
account)Response
get_deployment — Get details for a single Railway deployment.
get_deployment — Get details for a single Railway deployment.
deploy_service — Trigger a deployment for a Railway service in an environment.
deploy_service — Trigger a deployment for a Railway service in an environment.
Parameters
account)Response
restart_deployment — Restart a running Railway deployment without rebuilding.
restart_deployment — Restart a running Railway deployment without rebuilding.
rollback_deployment — Roll a Railway service back to a previous deployment.
rollback_deployment — Roll a Railway service back to a previous deployment.
get_deployment_logs — Retrieve runtime logs for a Railway deployment.
get_deployment_logs — Retrieve runtime logs for a Railway deployment.
list_variables — List Railway environment variables for a service or shared environment.
list_variables — List Railway environment variables for a service or shared environment.
upsert_variable — Create or update a Railway environment variable.
upsert_variable — Create or update a Railway environment variable.
Parameters
account)Response
delete_variable — Delete a Railway environment variable.
delete_variable — Delete a Railway environment variable.
Parameters
account)Response
Limits & Quotas
- Transport: every action is a single POST to the GraphQL endpoint
https://backboard.railway.com/graphql/v2. - Rate limits: Railway applies request-rate and complexity limits to the public API; see the official API docs for current values.
- Error model: the GraphQL endpoint answers HTTP 200 even for
logical errors, returning them in a top-level
errorsarray. These, along with non-2xx responses and timeouts, are caught and returned assuccess=False+errorrather than raising. Plan for retries on the agent side based on the error string.