Railway
Railway is a deployment platform for apps and services. Read your projects and deployments and trigger redeploys from your AI workflows.
Connectors
Choose the connector that matches your authentication method. The options below use the names shown in StackAI.
Railway
API token
Railway
Connect to Railway to read projects and deployments and trigger redeploys.
Set up in Railway
Prepare the Railway account or service that the workflow will access. Grant access to the required resources and operations.
API token: Create an account or workspace token in Account Settings, or a project token in Project Settings. Choose the matching token type below.
Set up in StackAI
Open Settings → Connections, add a connection, and select Railway.
Enter the credentials and connection details in the fields below.
Save the connection and check its connection status. Select this saved connection when configuring an action or feature that uses it.
Connection fields
API token
Yes
Create an account or workspace token in Account Settings, or a project token in Project Settings. Choose the matching token type below. Provider instructions.
Token type
Optional / as applicable
Use account, workspace, or project. Project tokens only access their selected project environment.
Workspace ID
Optional / as applicable
Required for workspace tokens. With an account token, enter a workspace ID to list that workspace's projects. Leave empty to list personal projects only.
Verify the connection
Check that the connection is healthy. Then run a read operation against a resource the connected account can access. A successful connection check confirms authentication; it does not guarantee permission for every action.
If access is denied, check the credential or OAuth permissions, the selected account or environment, and access to the specific resource. Update expired credentials or reconnect after permissions change.
Use an action
Add the required Railway action to the workflow.
Select a connection when the action requests one.
Complete the required fields. Use the reference picker when a value comes from another workflow step.
Run the workflow and inspect the action’s output. Check the result before using it in a later step.
Actions
List Projects
List projects in the connection's workspace. Account tokens without a Workspace ID list personal projects only; project tokens return their selected project.
Inputs
Max results
integer
No
Max projects to return (1-500). Minimum: 1. Maximum: 500.
Cursor
string
No
Continue from the next cursor returned by the previous call.
Outputs
Next cursor
string
Pass this cursor to the next call. Null means there are no more results.
Projects
dict_array
One page of projects within the connection's selected scope.
Count
integer
Number of projects returned.
Get Project
Fetch a single Railway project by ID.
Inputs
Project ID
select (string)
Yes
The Railway project ID (a UUID) to fetch. Options load from the selected connection.
Outputs
Project
dict
The requested Railway project.
List Deployments
List deployments for a Railway project.
Inputs
Project ID
select (string)
Yes
The Railway project ID (a UUID) to list deployments for. Options load from the selected connection.
Service ID
select (string)
No
Optional service ID to filter deployments to one service. Options load from the selected connection.
Environment ID
select (string)
No
Optional environment ID to filter deployments to one environment. Options load from the selected connection.
Max results
integer
No
Max deployments to return (1-500). Minimum: 1. Maximum: 500.
Cursor
string
No
Continue from the next cursor returned by the previous call.
Outputs
Next cursor
string
Pass this cursor to the next call. Null means there are no more results.
Deployments
dict_array
Deployments for the project (most recent first).
Count
integer
Number of deployments returned.
Get Deployment
Fetch a single Railway deployment by ID.
Inputs
Deployment ID
string
Yes
The Railway deployment ID (a UUID) to fetch.
Outputs
Deployment
dict
The requested Railway deployment.
Redeploy Deployment
Start a new deployment from an existing deployment. This may incur Railway compute charges.
Inputs
Deployment ID
string
Yes
The Railway deployment ID (a UUID) to redeploy.
Use previous image tag
boolean
No
Reuse the previous image tag instead of the latest (default off). Default: false.
Outputs
Deployment ID
string
The new deployment ID. Use Get Deployment to check its progress.
Status
string
The initial status. The deployment may still be queued or building.
Important behavior
Actions that create, update, send, or delete data can change the connected service. Review their inputs before running them. A retry can repeat an operation; consider this when configuring retries for actions that change data.
The catalog lists the fields and capabilities available in the supplied provider definition. Availability can also depend on your deployment and organization’s Feature Access settings.
Last updated
Was this helpful?

