Skip to content
For LLMsView as Markdown·

Railway

Deploy and manage projects, services, and environments on Railway.

DetailValue
CategoryCloud & Infra
Base URLhttps://backboard.railway.app/graphql/v2
AuthenticationBearer Token
Endpoints8
Connector keyrailway

Using Railway in a workflow

  1. Go to Connections and click New Connection.
  2. Pick Railway from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown — the full list is below.

Available endpoints

EndpointSummary
GET /projectsList projects
POST /projectsCreate a project
GET /projects/{projectId}Get project details
GET /projects/{projectId}/servicesList services
POST /projects/{projectId}/servicesCreate a service
GET /projects/{projectId}/deploymentsList deployments
POST /deployments/{deploymentId}/redeployRedeploy
GET /projects/{projectId}/environmentsList environments

Each endpoint is documented in full below. Use the outline on the right to jump to one.

GET /projects

List projects

DetailValue
Operation IDcloud.listProjects
MethodGET
Path/projects

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Railway connection from the Connection dropdown.
  3. In the Operation dropdown, select cloud.listProjects.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Railway API reference.

POST /projects

Create a project

DetailValue
Operation IDcloud.createProject
MethodPOST
Path/projects

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Railway connection from the Connection dropdown.
  3. In the Operation dropdown, select cloud.createProject.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Railway API reference.

GET /projects/{projectId}

Get project details

DetailValue
Operation IDcloud.getProject
MethodGET
Path/projects/{projectId}

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Railway connection from the Connection dropdown.
  3. In the Operation dropdown, select cloud.getProject.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Railway API reference.

GET /projects/{projectId}/services

List services

DetailValue
Operation IDcloud.listServices
MethodGET
Path/projects/{projectId}/services

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Railway connection from the Connection dropdown.
  3. In the Operation dropdown, select cloud.listServices.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Railway API reference.

POST /projects/{projectId}/services

Create a service

DetailValue
Operation IDcloud.createService
MethodPOST
Path/projects/{projectId}/services

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Railway connection from the Connection dropdown.
  3. In the Operation dropdown, select cloud.createService.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Railway API reference.

GET /projects/{projectId}/deployments

List deployments

DetailValue
Operation IDcloud.listDeployments
MethodGET
Path/projects/{projectId}/deployments

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Railway connection from the Connection dropdown.
  3. In the Operation dropdown, select cloud.listDeployments.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Railway API reference.

POST /deployments/{deploymentId}/redeploy

Redeploy

DetailValue
Operation IDcloud.redeployDeployment
MethodPOST
Path/deployments/{deploymentId}/redeploy

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Railway connection from the Connection dropdown.
  3. In the Operation dropdown, select cloud.redeployDeployment.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Railway API reference.

GET /projects/{projectId}/environments

List environments

DetailValue
Operation IDcloud.listEnvironments
MethodGET
Path/projects/{projectId}/environments

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Railway connection from the Connection dropdown.
  3. In the Operation dropdown, select cloud.listEnvironments.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Railway API reference.