# Railway integration

> Cloud platform for deploying and managing applications, databases, and infrastructure via a GraphQL API.

- Authentication: apiKey

## Tools (65)

- **Cancel Deployment**: Cancel a deployment that is currently building or deploying.
- **Check Custom Domain Availability**: Check if a custom domain can be added to a Railway service.
- **Check Custom Domain Status**: Check the DNS configuration and certificate status of a custom domain.
- **Commit Staged Changes**: Apply staged variable changes to an environment, triggering deployments for affected services.
- **Connect Service to Repo**: Link an existing service to a GitHub repository for automatic deployments.
- **Create Custom Domain**: Add a custom domain to a service and get DNS records needed for configuration.
- **Create Environment**: Create a new environment in a project, optionally cloning from an existing environment.
- **Create Project**: Create a new Railway project, optionally in a specific workspace.
- **Create Service**: Create a new service in a project from a GitHub repo, Docker image, or as an empty service.
- **Create Service Domain**: Generate a Railway-provided domain (*.up.railway.app) for a service.
- **Create Volume**: Create a persistent volume and attach it to a service at a specific mount path.
- **Create Volume Backup**: Create a point-in-time backup of a volume instance.
- **Delete Domain**: Delete a Railway-provided or custom domain from a service.
- **Delete Environment**: Delete an environment and all its deployments.
- **Delete Project**: Permanently delete a project and all its services, deployments, and environments.
- **Delete Service**: Permanently delete a service and all its deployments.
- **Delete Variable**: Delete a single environment variable from a service.
- **Delete Volume**: Permanently delete a volume and all its data.
- **Delete Volume Backup**: Permanently delete a specific volume backup.
- **Deploy Service**: Trigger a new deployment for a service in a specific environment.
- **Disconnect Service from Repo**: Disconnect a service from its linked GitHub repository.
- **Get Build Logs**: Fetch build-time logs for a deployment.
- **Get Current User**: Retrieve the authenticated user's ID, name, and email address.
- **Get Deployment**: Retrieve a single deployment by ID with status, URL, and rollback/redeploy capability.
- **Get Deployment Logs**: Fetch runtime (application) logs for a deployment.
- **Get Environment**: Retrieve a single environment by ID with its service instances and latest deployments.
- **Get Environment Logs**: Fetch runtime logs from all services in an environment, with optional text filtering.
- **Get Environment Staged Changes**: Retrieve pending variable changes awaiting deployment in an environment.
- **Get HTTP Logs**: Fetch HTTP request logs for a deployment, including method, path, status code, and duration.
- **Get Project**: Retrieve a single project by ID, including its services and environments.
- **Get Project Members**: List all members assigned to a project with their roles and profile info.
- **Get Service**: Retrieve a service by ID, including its name, icon, and project association.
- **Get Service Instance**: Get detailed service configuration for a specific environment, including build/deploy settings and latest deployment.
- **Get Service Instance Limits**: Get the resource limits (vCPUs, memory) for a service instance in a specific environment.
- **Get Variables**: Fetch environment variables for a service in a specific environment.
- **Get Variables for Deployment**: Fetch all environment variables as they would appear during deployment, with all references resolved.
- **Get Volume Instance**: Get detailed information about a volume instance including mount path, size, and state.
- **Get Workspace**: Retrieve workspace details including member list and roles.
- **List Deployments**: List deployments for a service in a specific environment with optional status filtering.
- **List Domains**: List all Railway-provided and custom domains for a service in an environment.
- **List Environments**: List all environments for a project, with optional filtering for ephemeral environments.
- **List Projects**: List all projects for the authenticated user's personal account or a specific workspace.
- **List Regions**: List all available deployment regions.
- **List TCP Proxies**: List TCP proxy configurations for a service, showing public domains and port mappings.
- **List Volume Backups**: List all backups for a volume instance.
- **List Volume Backup Schedules**: List automated backup schedules for a volume instance, including cron expressions and retention policies.
- **Lock Volume Backup**: Lock a volume backup to prevent it from being automatically deleted by retention policies.
- **Redeploy Deployment**: Redeploy an existing deployment, creating a new deployment from the same source.
- **Redeploy Latest Deployment**: Redeploy the latest deployment for a service in a specific environment.
- **Remove Deployment**: Permanently remove a deployment record.
- **Rename Environment**: Update an environment's name.
- **Restart Deployment**: Restart a deployment without rebuilding.
- **Restore Volume Backup**: Restore a volume instance from a previously created backup.
- **Rollback Deployment**: Roll back a service to a previous deployment version.
- **Stop Deployment**: Stop a currently running deployment.
- **Transfer Project**: Move a project to a different workspace.
- **Trigger Environment Deploy**: Trigger a deployment for a service in an environment via the environment triggers deploy mutation.
- **Update Custom Domain**: Update settings for a custom domain, such as the target port.
- **Update Project**: Update a project's name, description, or settings.
- **Update Service**: Update a service's name or icon.
- **Update Service Instance Settings**: Update build/deploy settings for a service in a specific environment (start command, build command, replicas, region, etc.).
- **Update Volume**: Update a volume's properties such as its name.
- **Update Volume Instance**: Update the mount path for a volume instance in a specific environment.
- **Upsert Multiple Variables**: Create or update multiple environment variables at once for a service.
- **Upsert Variable**: Create or update a single environment variable for a service.

## Related prompts

- [Triage Railway resource alerts before paging anyone](https://www.generalinput.com/prompts/triage-railway-resource-alerts-before-paging-anyone.md)
- [Triage Railway deploy failures into Linear tickets](https://www.generalinput.com/prompts/triage-railway-deploy-failures-into-linear-tickets.md)
- [Spin up Railway preview environments for every GitHub PR](https://www.generalinput.com/prompts/spin-up-railway-preview-environments-for-every-github-pr.md)
- [Weekly reliability report in Notion from Railway and Sentry](https://www.generalinput.com/prompts/weekly-reliability-report-in-notion-from-railway-and-sentry.md)
- [Daily Railway deploy digest in Slack with PR context](https://www.generalinput.com/prompts/daily-railway-deploy-digest-in-slack-with-pr-context.md)

Connect Railway in General Input: https://www.generalinput.com/apps/railway