59 available actions
What your AI agent can do in Railway
Railway is a deployment platform for building and shipping applications with instant deployments, automatic scaling, and managed infrastructure. This page lists every available action. Your agent only receives the actions and permissions required for the role you approve.
Showing all 59 actions.
Common starting points
- Search TemplatesSearch one cursor-controlled page of Railway templates by text, verification state, and category.
- Get Build LogsReturn a bounded, optionally filtered time window of build-phase logs for one Railway deployment.
- Create DomainCreate either a generated railway.app domain or a caller-owned custom domain.
- Create EnvironmentCreate an empty Railway environment or clone an existing environment, with explicit initial-deployment and change-staging behavior.
- Update DomainUpdate the hostname or target port of one generated Railway domain, or update the target port of one custom domain.
- Update ProjectUpdate project settings and configuration on Railway.
Browse all 59 actions by capability
Open a capability to see every supported action and its description.
Find & reviewLook up and review existing recordsView 25 actions
- Get Build LogsReturn a bounded, optionally filtered time window of build-phase logs for one Railway deployment.
- Get DeploymentReturn one deployment's status, timestamps, metadata, and rollback eligibility.
- Get Deployment LogsRetrieve runtime logs for a deployment.
- Get EnvironmentGet details of a specific Railway environment by its ID, including service instances and deployment information.
- Get GitHub PR InfoGet information for a GitHub pull request associated with a Railway service.
- Get HTTP LogsReturn a bounded date-anchor window of HTTP request logs for one deployment, including request, response, timing, and routing fields.
- Get HTTP MetricsReturn either HTTP request counts grouped by status code or p50/p90/p95/p99 response-time series for one Railway service and environment.
- Get Resource MetricsReturn sampled CPU, memory, disk, network, backup, or volume measurements for selected Railway resources and time range.
- Get TemplateReturn a Railway template's ID, name, and serialized configuration required for deterministic deployment.
- Get User Kickback EarningsGet the total kickback earnings for the authenticated Railway user.
- List API TokensRetrieve all API tokens for the authenticated user from Railway.
- List DeploymentsList one page of Railway deployments filtered by project, environment, service, status, or deletion state.
- List DomainsList Railway and custom domains for a service, including IDs, ports, DNS records, certificate state, and custom-domain verification token.
- List Environment PatchesRetrieve all patches for a Railway environment using the GraphQL API.
- List EnvironmentsList one page of project environments with IDs, pull-request metadata, source environment, and staged-change count.
- List GitHub ReposRetrieve a list of GitHub repositories that Railway has access to.
- List GitHub Writable ScopesRetrieve the list of GitHub scopes the user has installed the installation to.
- List Integration AuthsRetrieve all integration auths for the authenticated user from Railway.
- List Notification DeliveriesRetrieve notification deliveries for the authenticated user.
- List ProjectsList one page of projects in an accessible Railway workspace with project and workspace identifiers.
- List ServicesList one page of service IDs and names in a project for service, deployment, logs, metrics, domain, and volume tools.
- List Railway Trusted DomainsFetch all trusted domains for the authenticated Railway workspace.
- List VariablesReturn Railway shared-environment or service variables.
- List VolumesList one page of persistent volume IDs and names in a project for storage configuration and metrics workflows.
- Search TemplatesSearch one cursor-controlled page of Railway templates by text, verification state, and category.
Create & communicateCreate records or send supported messagesView 6 actions
- Create DomainCreate either a generated railway.app domain or a caller-owned custom domain.
- Create EnvironmentCreate an empty Railway environment or clone an existing environment, with explicit initial-deployment and change-staging behavior.
- Create PluginCreates a new plugin in Railway for the specified project.
- Create ProjectCreate a Railway project in an accessible workspace and return its project and default-environment IDs.
- Create ServiceCreate an empty, repository-backed, image-backed, or template-backed service in a Railway project.
- Create VolumeCreate a persistent Railway volume and optionally attach it to one service and environment.
Update & manageChange and manage existing recordsView 8 actions
- Replace VariablesReplace the entire Railway shared-environment or service variable collection with the supplied complete map.
- Update DomainUpdate the hostname or target port of one generated Railway domain, or update the target port of one custom domain.
- Update ProjectUpdate project settings and configuration on Railway.
- Update ServiceUpdate a service's name or icon without changing environment-specific deployment settings.
- Update Service InstanceUpdate build/deploy settings for a service in a specific environment on Railway.
- Update VolumeRename a Railway volume without changing any volume instance.
- Update Volume InstanceUpdate a Railway volume's environment-specific mount path, attached service, or state.
- Upsert VariablesCreate or update a non-empty map of Railway shared-environment or service variables without deleting variables omitted from the submitted map.
Remove & cancelRemove records or cancel supported workView 7 actions
- Cancel DeploymentCancel a Railway deployment that is queued or building, preventing that in-progress deployment from completing.
- Delete DeploymentPermanently delete a completed Railway deployment from deployment history and stop any remaining project usage from it.
- Delete DomainPermanently delete one generated Railway domain or custom domain by ID after explicit confirmation.
- Delete EnvironmentPermanently delete one Railway environment and its deployments.
- Delete VariableDelete a Railway environment variable.
- Delete VolumePermanently delete a persistent volume and all its associated data from Railway.
- Delete workspaceDelete a Railway workspace and all data associated with it.
Other actionsSpecialist and administrative actions.View 13 actions
- Collect Deployment EvidenceCollect a bounded, best-effort Railway deployment evidence bundle from live-validated deployment, snapshot, event, service-instance, log, and metric sources.
- Commit Environment ChangesCommit existing staged changes for a Railway environment, completing a staged STAGE_TEMPLATE or create-environment workflow.
- Configure Buckets and Private NetworkCommit an explicit Railway patch for bucket creation, updates, or deletion and the environment private-network enabled state.
- Deploy ServiceStart a Railway deployment from a service's already connected repository or image source, optionally at a repository commit SHA, and return the deployment ID.
- Deploy TemplateDeploy a complete Railway template configuration into a new project or an existing project environment.
- Disconnect Discord accountDisconnects the authenticated user's Railway account from Discord.
- Redeploy DeploymentCreate a new Railway deployment with the selected deployment's exact code and build/deploy configuration, optionally using its previous image tag.
- Rename EnvironmentRename one environment without changing or deploying its configuration.
- Restart DeploymentRestart a running or crashed Railway deployment by reusing its existing image without rebuilding or creating a deployment from newer source.
- Retry Domain CertificateRead the corrected Railway domainStatus object, then retry custom-domain certificate issuance only when Railway reports certificateRetryable=true.
- Rollback DeploymentRestore a previous Railway deployment's Docker image and custom variables as the active deployment without rebuilding.
- Stage TemplateCreate all resources from a complete Railway template configuration in a new project or an existing project environment, but leave the resulting changes staged.
- Stop DeploymentStop a currently running Railway deployment without deleting the service or its deployment-history record.
Connection record
A connection you can control.
- Sign-in
- Customer-managed key
- Setup
- Use a key you create and control. It is stored securely and limited to the work agreed for the role.
- Boundaries
- Only the approved role and actions.
- Off switch
- Revoke the connection from your account.
FAQ
Before you connect Railway
How does the agent connect to Railway?
With a key you create and control. It is stored securely, permissions are limited to what the agent needs, and you can revoke it at any time.
What can the agent actually do in Railway?
The page above lists the 59 actions currently available through the Railway connection. The role determines which of those actions the agent may use, and write access is only enabled when the workflow needs it.
Is Railway included in my plan?
Connections are priced per tool on top of the base plan. Some are included and some are premium. See pricing for how connection charges work.
How long until Railway is ready?
Timing depends on the sign-in method, permissions and workflow being connected. We confirm the scope and setup plan before enabling the connection.
Bring the workflow together
Ready to put Railway to work?
Start with the responsibility you want off your plate. We’ll map the connection and the boundaries around it.