Built by Metorial, the integration platform for agentic AI.
List all environments in a Railway project (e.g., production, staging). Each environment maintains its own variables, domains, and deployment configurations.
List deployments for a service in a specific environment. Returns deployment status, URLs, and timestamps. Use this to check deployment history and current status.
Create a new environment in a Railway project. Optionally clone from an existing environment to copy its configuration and variables.
Rename a persistent storage volume.
Permanently delete an environment from a Railway project. This removes all environment-specific configurations, variables, and domains. This action cannot be undone.
Roll back a service to a previous deployment. The target deployment must support rollback (check canRollback with Get Deployment). Railway creates a new deployment based on the specified one; use List Deployments to follow its progress.
Remove a domain from a Railway service. Works for both Railway-provided domains and custom domains. Use **isCustom** to specify the domain type.
Retrieve detailed information about a Railway service, including its environment-specific configuration (build settings, deploy settings, replicas, etc.) when an environment ID is provided.
Cancel an in-progress deployment. Use this to stop a build or deploy that is currently running.
Create a new Railway project. Optionally assign it to a workspace and set a description.
Update a Railway service's metadata (name, icon) and environment-specific settings (build command, start command, replicas, region, health check, etc.). Provide an environment ID to update environment-specific settings.
Create or update one or more environment variables for a service, or shared variables for an environment when serviceId is omitted. Provide variables as key-value pairs. Existing variables with the same name will be overwritten. Use **replaceAll** to remove all existing variables and set only the provided ones.
List all domains (both Railway-provided and custom) for a service in a specific environment. Includes DNS record status for custom domains.
Permanently delete a Railway project and all its services, environments, and deployments. This action cannot be undone.
Trigger a new deployment for a service in a specific environment. Optionally provide a commit SHA for a connected GitHub service.
List all persistent storage volumes in a Railway project. Provide an environment ID to also list the volume instances in that environment (with mount paths, sizes, and the volume instance IDs used by the volume instance and backup tools).
Create a new persistent storage volume and attach it to a service. Volumes retain data across deployments. Specify a mount path where the volume will be accessible inside the container.
Delete a specific environment variable from a service in a given environment, or a shared environment variable when serviceId is omitted.
Retrieve detailed information about a Railway project including its services and environments.
Add a domain to a Railway service. Creates either a Railway-provided domain (*.up.railway.app) or attaches a custom domain. For custom domains, DNS records will be provided that must be configured with your DNS provider.
Retrieve environment variables for a project and environment. Optionally filter by service to get service-specific variables. Returns the rendered (resolved) variable values.
List all Railway projects accessible to the authenticated user. Optionally filter by workspace (discover workspace IDs with Get Current User). Returns project names, descriptions, and timestamps, with cursor pagination.
Retrieve build or runtime logs for a deployment. Use **logType** to specify whether to get build logs (compilation output) or deploy logs (runtime output).
Permanently delete a Railway service. This removes all deployments and configuration for the service. This action cannot be undone.
Update an existing Railway project's name, description, or settings like public visibility and PR deploy previews.
Get detailed information about an environment including its service instances and their latest deployment status.
Create a new service in a Railway project. Optionally connect it to a GitHub repo or Docker image.
Get detailed information about a specific deployment, including its status, URLs, metadata, and whether it can be redeployed or rolled back.
Permanently delete a persistent storage volume. All data stored on the volume will be lost. This action cannot be undone.
Remove a Railway deployment from deployment history.
Create a backup for a Railway volume instance. Railway returns a workflow ID for the backup job.
List backups for a Railway volume instance.
List Railway deployment regions. Optionally provide a project ID to include project-specific availability.
Check whether a custom domain can be added to Railway.
Update settings for a Railway custom domain, such as the target service port.
Restart a running Railway deployment without rebuilding it.
Retrieve recent logs from all services in a Railway environment.
Create a public TCP proxy for a Railway service instance.
Get details for a Railway volume instance in a specific environment, including mount path, size, and state.
List members of a Railway project and their project roles.
List TCP proxies configured for a Railway service in an environment.
Retrieve HTTP request logs for a Railway deployment, including request path, status, timings, and edge metadata.
Stop a running Railway deployment.
Get DNS verification and certificate status for a Railway custom domain. Find custom domain IDs with Get Domains.
Delete a Railway TCP proxy.
Rename a Railway environment.
Redeploy an existing deployment, rebuilding and redeploying the same source. Returns the new deployment Railway created. The deployment must support redeploys (check canRedeploy with Get Deployment).
Identify the connected Railway credentials. Returns the user profile for account and OAuth tokens, the workspaces the token can access (use these workspace IDs with List Projects and Create Project), and the project and environment for project tokens.