Access Group Members
add
accessGroupMembers.add
Add a workspace member to an access group
Risk: destructive
input full type
input full type
accessGroup full type
accessGroup full type
user full type
user full type
remove
accessGroupMembers.remove
Remove a member from an access group
Risk: destructive
input full type
input full type
boolean
Access Group Projects
attach
accessGroupProjects.attach
Attach a project to an access group
Risk: write
input full type
input full type
accessGroup full type
accessGroup full type
project full type
project full type
detach
accessGroupProjects.detach
Detach a project from an access group
Risk: write
input full type
input full type
boolean
Access Groups
create
accessGroups.create
Create an access group in a workspace
Risk: write
input full type
input full type
workspace full type
workspace full type
delete
accessGroups.delete
Delete an access group
Risk: destructive · Irreversible
boolean
update
accessGroups.update
Update an access group’s name or role
Risk: write
input full type
input full type
workspace full type
workspace full type
Agent Usage
get
agentUsage.get
Get unified AI usage for a workspace
Risk: read
setLimit
agentUsage.setLimit
Set agent usage limit for a workspace
Risk: destructive
input full type
input full type
boolean
Api Tokens
create
apiTokens.create
Creates a new API token
Risk: destructive
input full type
input full type
string
current
apiTokens.current
Introspect the current API token and its accessible workspaces
Risk: read
workspaces full type
workspaces full type
delete
apiTokens.delete
Deletes an API token
Risk: destructive · Irreversible
boolean
list
apiTokens.list
Gets all API tokens for the authenticated user, one page at a time (first/after)
Risk: read
items full type
items full type
pageInfo full type
pageInfo full type
Audit Logs
eventTypes
auditLogs.eventTypes
Get a list of all audit log event types and their description
Risk: read
object[]
Output full type
Output full type
get
auditLogs.get
Get an audit log by ID
Risk: read
environment full type
environment full type
project full type
project full type
list
auditLogs.list
Gets audit logs for a workspace, one page at a time (first/after)
Risk: read
filter full type
filter full type
items full type
items full type
pageInfo full type
pageInfo full type
Billing
createFreePlanSubscription
billing.createFreePlanSubscription
Create a free plan subscription for a customer
Risk: destructive
boolean
togglePayoutsToCredits
billing.togglePayoutsToCredits
Toggle whether a customer is automatically withdrawing to credits
Risk: destructive
input full type
input full type
boolean
Bot Scope Bindings
list
botScopeBindings.list
Railway agent chat bindings (Slack/Discord scope → workspace) across the caller’s workspaces
Risk: read
object[]
Output full type
Output full type
remove
botScopeBindings.remove
Remove a Railway agent chat binding. Requires admin on the binding’s workspace
Risk: destructive
boolean
Buckets
create
buckets.create
Create a bucket in a project
Risk: destructive
input full type
input full type
project full type
project full type
instanceDetails
buckets.instanceDetails
Get the S3-compatible credentials for a bucket
Risk: read
resetCredentials
buckets.resetCredentials
Reset the credentials for a bucket in an environment
Risk: destructive · Irreversible
s3Credentials
buckets.s3Credentials
Get the S3-compatible credentials for a bucket
Risk: read
object[]
Output full type
Output full type
update
buckets.update
Updates a bucket
Risk: write
input full type
input full type
project full type
project full type
Canvas Views
merge
canvasViews.merge
Merge a canvas layout from one environment into another. Re-computes the merge from current state and applies mutations
Risk: destructive
boolean
mergePreview
canvasViews.mergePreview
Preview a canvas layout merge from one environment to another. Returns the merged state and the mutations needed to reach it
Risk: read
Clearance Tokens
create
clearanceTokens.create
Creates a Railway Authentication token for a project’s protected services and returns it once. Requires a workspace admin and the workspace’s Railway Authentication entitlement
Risk: destructive
input full type
input full type
clearanceToken full type
clearanceToken full type
revoke
clearanceTokens.revoke
Revokes a Railway Authentication token. Requires a workspace admin; works without the entitlement. Revoking a revoked token succeeds
Risk: destructive
boolean
Cloud Agent Checkpoints
create
cloudAgentCheckpoints.create
Checkpoint the agent’s disk. Poll cloudAgentCheckpoint until SUCCEEDED
Risk: destructive
delete
cloudAgentCheckpoints.delete
Delete a checkpoint
Risk: destructive · Irreversible
boolean
get
cloudAgentCheckpoints.get
A cloud agent checkpoint by ID
Risk: read
list
cloudAgentCheckpoints.list
Cloud agent checkpoints in an environment, newest first, one page at a time (first/after)
Risk: read
items full type
items full type
pageInfo full type
pageInfo full type
Cloud Agent Console Sessions
list
cloudAgentConsoleSessions.list
Shell and exec sessions running on a cloud agent’s VM that you can reconnect to. Null if the agent has no running machine, one page at a time (first/after)
Risk: read
items full type
items full type
pageInfo full type
pageInfo full type
Cloud Agents
archive
cloudAgents.archive
Archive a cloud agent, hiding it from lists of unarchived agents. Requires permission to manage the agent
Risk: write
boolean
create
cloudAgents.create
Create a cloud agent
Risk: destructive
input full type
input full type
domains full type
domains full type
project full type
project full type
sessions full type
sessions full type
source full type
source full type
workStatus full type
workStatus full type
createDashboardFeedback
cloudAgents.createDashboardFeedback
Send feedback about the agent dashboard to the Railway team. True once delivered
Risk: write
input full type
input full type
boolean
createFeedback
cloudAgents.createFeedback
Send lightweight agent feedback to Railway. Returns the report ID after delivery
Risk: write
input full type
input full type
string
delete
cloudAgents.delete
Delete a cloud agent
Risk: destructive · Irreversible
boolean
deploy
cloudAgents.deploy
Build the agent’s code inside its own VM and deploy it. Creates the named service (default: the agent’s name) or reuses it. Needs an agent booted with the builder
Risk: destructive
fork
cloudAgents.fork
Duplicate a running cloud agent. With sessionId, the new agent keeps that chat and its history; without it, it starts with no chats
Risk: destructive
domains full type
domains full type
project full type
project full type
sessions full type
sessions full type
source full type
source full type
workStatus full type
workStatus full type
get
cloudAgents.get
A cloud agent by ID, within an environment. Null when the agent belongs to another one, so a caller cannot render an agent it has switched away from
Risk: read
domains full type
domains full type
project full type
project full type
sessions full type
sessions full type
source full type
source full type
workStatus full type
workStatus full type
list
cloudAgents.list
Cloud agents in an environment
Risk: read
object[]
Output full type
Output full type
listMine
cloudAgents.listMine
Cloud agents you own, across every project and environment you can reach. Answers “where are my agents” in one request; cloudAgents needs one call per environment. Machine fields (status, domain, domains) read the last observed state in batched queries, so selecting them across many environments is fine
Risk: read
object[]
Output full type
Output full type
markSeen
cloudAgents.markSeen
Mark the agent’s finished and failed sessions as seen, or only sessionId’s. Requires permission to manage the agent
Risk: write
boolean
renameSession
cloudAgents.renameSession
Set a session’s title, shown over its generated one. An empty title clears it
Risk: write
boolean
sleep
cloudAgents.sleep
Sleep a running cloud agent, keeping its volume. Processes on the machine are terminated; waking re-runs its entrypoint
Risk: write
domains full type
domains full type
project full type
project full type
sessions full type
sessions full type
source full type
source full type
workStatus full type
workStatus full type
unarchive
cloudAgents.unarchive
Restore an archived cloud agent. Requires permission to manage the agent
Risk: write
boolean
wake
cloudAgents.wake
Wake a sleeping cloud agent
Risk: destructive
domains full type
domains full type
project full type
project full type
sessions full type
sessions full type
source full type
source full type
workStatus full type
workStatus full type
Cloud Agent Tasks
cancel
cloudAgentTasks.cancel
Stop a task. Before its prompt is sent it never starts; after, only its own run is aborted. The task ends CANCELLED, with “The task was cancelled” as its error. A finished task is left as is
Risk: write
dispatch
cloudAgentTasks.dispatch
Start a task and return its handle. Creates a fresh agent by default; replyToTaskId continues the original conversation
Risk: destructive
input full type
input full type
get
cloudAgentTasks.get
Read a task turn without waking the VM: the latest on the agent/session, or taskId’s
Risk: read
attachments full type
attachments full type
pendingInteractions full type
pendingInteractions full type
progress full type
progress full type
list
cloudAgentTasks.list
List task records in an environment, newest first. Filter to one agent, or with sessionId to one session’s turns
Risk: read
tasks full type
tasks full type
models
cloudAgentTasks.models
The models a task in this environment can run on, and the default a new conversation starts on
Risk: read
models full type
models full type
recover
cloudAgentTasks.recover
Recover the latest task response from the agent. May wake the VM
Risk: destructive
attachments full type
attachments full type
pendingInteractions full type
pendingInteractions full type
progress full type
progress full type
respond
cloudAgentTasks.respond
Answer a question the task is waiting on. Wakes a sleeping VM to deliver it (the question survives sleep); poll cloudAgentTask for the outcome
Risk: destructive
input full type
input full type
Custom Domains
create
customDomains.create
Creates a new custom domain
Risk: write
input full type
input full type
status full type
status full type
delete
customDomains.delete
Deletes a custom domain
Risk: destructive · Irreversible
boolean
get
customDomains.get
Fetch details for a custom domain
Risk: read
status full type
status full type
isAvailable
customDomains.isAvailable
Checks if a custom domain is available
Risk: read
issueCertificate
customDomains.issueCertificate
Issues a new certificate
Risk: destructive
boolean
update
customDomains.update
Updates a custom domain
Risk: write
boolean
Databases
cancelPitrHaWorkflow
databases.cancelPitrHaWorkflow
Cancels an in-progress PITR enable/disable rollout on an HA database cluster and resets its progress so the UI re-reads from the live cluster. No-ops when nothing is running
Risk: write
boolean
clearPitrHaWorkflowProgress
databases.clearPitrHaWorkflowProgress
Clears the recorded progress of a finished PITR enable/disable rollout so the Backups page starts fresh. A rollout still in progress cannot be cleared
Risk: write
boolean
disablePitrForHaCluster
databases.disablePitrForHaCluster
Disables point-in-time recovery on an HA database cluster with the same rolling rollout as enable. The backup bucket is left intact, so existing backup history is preserved
Risk: write
input full type
input full type
enablePitrForHaCluster
databases.enablePitrForHaCluster
Enables point-in-time recovery on an HA database cluster (Postgres HA, MySQL HA) with a rolling, near-zero-downtime rollout across its members. Safe to retry
Risk: destructive
input full type
input full type
mysqlPitrRestorableWindow
databases.mysqlPitrRestorableWindow
The point-in-time window a MySQL service’s binlog archive can restore to, resolved from the archive bucket: the oldest full backup (floor), the newest shipped binlog (ceiling) and every full backup’s timestamp. archiveConfigured is false when the service carries no complete BINLOG_ARCHIVE_* contract
Risk: read
passwordRotationProgress
databases.passwordRotationProgress
Progress of the HA password rotation running for a cluster, or null when none is
Risk: read
pitrHaClusterReplicationHealth
databases.pitrHaClusterReplicationHealth
Live replication health for an HA database cluster (Postgres HA, MySQL HA). Use it to gate the Enable/Disable PITR buttons so a rollout can’t start while a member is too far behind to rejoin. Returns null when the service isn’t an HA root
Risk: read
members full type
members full type
pitrHaWorkflowProgress
databases.pitrHaWorkflowProgress
One-shot read of the current progress of a PITR enable/disable rollout on an HA database cluster. Use it to rehydrate state on page load, then poll this field for updates. Returns null when no rollout has run recently
Risk: read
members full type
members full type
postgresHaClusterUptime
databases.postgresHaClusterUptime
One Postgres HA cluster’s uptime SLI over the last N days: its row, its windows, its daily rollups. The cluster is named by any of its member services, since an environment can hold more than one. Errors when the service is not part of a Postgres HA cluster
Risk: read
cluster full type
cluster full type
daily full type
daily full type
windows full type
windows full type
resetPassword
databases.resetPassword
Reset database credentials, coordinating all members for an HA cluster. On an HA cluster the rotation keeps running after this returns (rotationInProgress); follow databasePasswordRotationProgress until it reports DONE
Risk: destructive · Irreversible
input full type
input full type
Deployments
approve
deployments.approve
Approves a deployment
Risk: destructive
boolean
buildLogs
deployments.buildLogs
Get the build log lines of a deployment
Risk: read
object[]
Output full type
Output full type
cancel
deployments.cancel
Cancels a deployment
Risk: write
boolean
createInstanceExecution
deployments.createInstanceExecution
Invoke a deployment instance execution
Risk: destructive
input full type
input full type
boolean
events
deployments.events
Get the deployment events for a deployment, one page at a time (first/after)
Risk: read
items full type
items full type
pageInfo full type
pageInfo full type
get
deployments.get
Find a single deployment
Risk: read
creator full type
creator full type
environment full type
environment full type
instances full type
instances full type
service full type
service full type
sockets full type
sockets full type
instanceExecutions
deployments.instanceExecutions
Get the deployment instance executions for a deployment, one page at a time (first/after)
Risk: read
input full type
input full type
items full type
items full type
pageInfo full type
pageInfo full type
list
deployments.list
Get all deployments, one page at a time (first/after)
Risk: read
input full type
input full type
items full type
items full type
pageInfo full type
pageInfo full type
logs
deployments.logs
Get the runtime log lines of a deployment, optionally filtered and between two dates
Risk: read
object[]
Output full type
Output full type
redeploy
deployments.redeploy
Redeploys a deployment
Risk: destructive
creator full type
creator full type
environment full type
environment full type
instances full type
instances full type
service full type
service full type
sockets full type
sockets full type
remove
deployments.remove
Removes a deployment
Risk: destructive
boolean
restart
deployments.restart
Restarts a deployment
Risk: destructive
boolean
rollback
deployments.rollback
Rolls back to a deployment
Risk: destructive
boolean
snapshot
deployments.snapshot
Find a single DeploymentSnapshot
Risk: read
stop
deployments.stop
Stops a deployment
Risk: destructive
boolean
Deployment Triggers
create
deploymentTriggers.create
Creates a deployment trigger
Risk: write
input full type
input full type
delete
deploymentTriggers.delete
Deletes a deployment trigger
Risk: destructive · Irreversible
boolean
list
deploymentTriggers.list
All deployment triggers, one page at a time (first/after)
Risk: read
items full type
items full type
pageInfo full type
pageInfo full type
update
deploymentTriggers.update
Updates a deployment trigger
Risk: write
input full type
input full type
Dns Query Logs
list
dnsQueryLogs.list
Fetch individual DNS query logs for an environment
Risk: read
object[]
Output full type
Output full type
Docker Compose
import
dockerCompose.import
Create services and volumes from docker compose
Risk: destructive
Domains
list
domains.list
All domains for a service instance
Risk: read
customDomains full type
customDomains full type
serviceDomains full type
serviceDomains full type
Egress Gateways
clearAssociations
egressGateways.clearAssociations
Clear all egress gateway associations for a service instance
Risk: destructive
input full type
input full type
boolean
createAssociation
egressGateways.createAssociation
Create a new egress gateway association for a service instance
Risk: destructive
input full type
input full type
object[]
Output full type
Output full type
haMigrationPreview
egressGateways.haMigrationPreview
Preview the HA static egress IPs that would be assigned, without applying them. Set allEnvironments to cover all of the service’s environments
Risk: read
input full type
input full type
environments full type
environments full type
ips full type
ips full type
haPreview
egressGateways.haPreview
Preview HA static egress IPs that would be assigned without persisting
Risk: read
object[]
Output full type
Output full type
legacyPreview
egressGateways.legacyPreview
Preview legacy static egress IP that would be assigned without persisting
Risk: read
object[]
Output full type
Output full type
list
egressGateways.list
All egress gateways assigned to a service instance
Risk: read
object[]
Output full type
Output full type
rollbackFromHa
egressGateways.rollbackFromHa
Switch a service from HA static egress IPs back to a standard static IP. Set allEnvironments to apply to all of the service’s environments
Risk: write
input full type
input full type
object[]
Output full type
Output full type
upgradeToHa
egressGateways.upgradeToHa
Enable HA static egress IPs for a service. Set allEnvironments to apply to all of the service’s environments
Risk: destructive
input full type
input full type
object[]
Output full type
Output full type
Environment Patches
commit
environmentPatches.commit
Commit the provided patch to the environment
Risk: destructive
string
commitStaged
environmentPatches.commitStaged
Commits the staged changes for a single environment
Risk: destructive
string
dismissFailure
environmentPatches.dismissFailure
Acknowledge a FAILED patch so it no longer shows as the environment’s latest failure. The patch is left untouched
Risk: write
boolean
get
environmentPatches.get
Get a single environment patch by ID
Risk: read
appliedBy full type
appliedBy full type
environment full type
environment full type
list
environmentPatches.list
Get the patches for an environment, one page at a time (first/after)
Risk: read
items full type
items full type
pageInfo full type
pageInfo full type
restage
environmentPatches.restage
Copy a FAILED patch’s changes into the environment’s staged patch (creating one if needed). The FAILED patch is left untouched
Risk: write
appliedBy full type
appliedBy full type
environment full type
environment full type
Environments
applyChangeSet
environments.applyChangeSet
Experimental: applies an intent-level RailwayChangeSet and returns operation results
Risk: destructive
input full type
input full type
changes full type
changes full type
changeSetApplyStatus
environments.changeSetApplyStatus
Returns the status or completed result of an asynchronous RailwayChangeSet apply
Risk: read
changes full type
changes full type
create
environments.create
Creates a new environment
Risk: destructive
input full type
input full type
clearanceServiceCounts full type
clearanceServiceCounts full type
meta full type
meta full type
sourceEnvironment full type
sourceEnvironment full type
delete
environments.delete
Deletes an environment
Risk: destructive · Irreversible
boolean
get
environments.get
Find a single environment
Risk: read
clearanceServiceCounts full type
clearanceServiceCounts full type
meta full type
meta full type
sourceEnvironment full type
sourceEnvironment full type
hasLegacyStaticEgress
environments.hasLegacyStaticEgress
Whether any service in the environment is on legacy static egress (not HA). Used to surface the HA migration banner
Risk: read
boolean
history
environments.history
Settled history for an environment (system events + terminal operations), newest first. Cursor-paginated, one page at a time (first/after)
Risk: read
filter full type
filter full type
items full type
items full type
pageInfo full type
pageInfo full type
iacPartialRelease
environments.iacPartialRelease
Release resources from a named IaC partial without deleting, redeploying, or changing them. Omit resources to release the entire partial. Whole-project management is possible once no named partials remain. A later named-partial apply can claim released resources again
Risk: write
iacPartialTransfer
environments.iacPartialTransfer
Transfer resources between named IaC partials without deleting, redeploying, or changing them. Omit resources to transfer the entire source partial. The destination may be a new or existing partial
Risk: destructive · Irreversible
list
environments.list
Gets all environments for a project, one page at a time (first/after)
Risk: read
items full type
items full type
pageInfo full type
pageInfo full type
logs
environments.logs
Fetch logs for a project environment. Build logs are excluded unless a snapshot ID is explicitly provided in the filter
Risk: read
object[]
Output full type
Output full type
overrideBase
environments.overrideBase
Sets the base environment override for a deployment trigger
Risk: write
input full type
input full type
boolean
pendingWork
environments.pendingWork
Pending project-mutating work for an environment. Unions registered OperationSources (patches, standalone deploys) and returns parent rows only — not a stored inbox
Risk: read
object[]
Output full type
Output full type
previewChangeSet
environments.previewChangeSet
Experimental: previews an intent-level RailwayChangeSet without side effects
Risk: read
input full type
input full type
rename
environments.rename
Renames an environment
Risk: write
input full type
input full type
clearanceServiceCounts full type
clearanceServiceCounts full type
meta full type
meta full type
sourceEnvironment full type
sourceEnvironment full type
stageChanges
environments.stageChanges
Sets the staged patch for a single environment
Risk: write
input full type
input full type
appliedBy full type
appliedBy full type
environment full type
environment full type
stagedChanges
environments.stagedChanges
Get the latest staged commit for a single environment
Risk: read
appliedBy full type
appliedBy full type
environment full type
environment full type
triggerDeploys
environments.triggerDeploys
Deploys all connected triggers for an environment
Risk: destructive
input full type
input full type
boolean
unskipService
environments.unskipService
Deploy a service that was skipped when its environment was created, along with its skipped transitive dependencies
Risk: write
boolean
updateClearanceDefault
environments.updateClearanceDefault
Sets whether Railway Authentication protects an environment’s services that have no setting of their own, and pushes it to them. Requires a workspace admin; turning it on also requires the workspace’s Railway Authentication entitlement. Services with edge caching on that it protects have their caching turned off
Risk: write
input full type
input full type
boolean
upsertConfigPlanComment
environments.upsertConfigPlanComment
Posts or updates a railway config plan comment on a GitHub pull request under the Railway app identity. The caller proves it runs in the target repo with a GitHub Actions OIDC token; the comment body is composed server-side from the structured plan
Risk: write
input full type
input full type
Events
list
events.list
Gets the events for a project, one page at a time (first/after)
Risk: read
filter full type
filter full type
items full type
items full type
pageInfo full type
pageInfo full type
Feature Flags
add
featureFlags.add
Add a feature flag for a user
Risk: write
input full type
input full type
boolean
listPlatform
featureFlags.listPlatform
Returns the platform feature flags enabled for the current user
Risk: read
object[]
Output full type
Output full type
remove
featureFlags.remove
Remove a feature flag for a user
Risk: destructive
input full type
input full type
boolean
Function Runtimes
get
functionRuntimes.get
Get information about a specific function runtime
Risk: read
latestVersion full type
latestVersion full type
versions full type
versions full type
list
functionRuntimes.list
List available function runtimes
Risk: read
object[]
Output full type
Output full type
Github
prInfo
github.prInfo
Get info for a GitHub pull request
Risk: read
checks full type
checks full type
prInfoResult
github.prInfoResult
Get info for a GitHub pull request, including fetch errors
Risk: read
prInfo full type
prInfo full type
repoAccessAvailable
github.repoAccessAvailable
Checks if user has access to GitHub repository
Risk: read
repos.branches
github.repos.branches
Get branches for a GitHub repo that the authenticated user has access to
Risk: read
object[]
Output full type
Output full type
repos.deploy
github.repos.deploy
Deploys a GitHub repo
Risk: destructive
input full type
input full type
string
repos.get
github.repos.get
Checks if user has access to GitHub repository
Risk: read
repos.isNameAvailable
github.repos.isNameAvailable
Check if a repo name is available
Risk: read
boolean
repos.list
github.repos.list
Get a list of repos for a user that Railway has access to
Risk: read
object[]
Output full type
Output full type
repos.update
github.repos.update
Updates a GitHub repo through the linked template
Risk: write
input full type
input full type
boolean
sshKeys
github.sshKeys
Gets SSH public keys from the authenticated user’s GitHub account
Risk: read
object[]
Output full type
Output full type
writableScopes
github.writableScopes
Get a list of scopes the user has installed the installation to
Risk: read
string[]
Http Logs
list
httpLogs.list
Fetch HTTP logs for a deployment
Risk: read
object[]
Output full type
Output full type
Http Metrics
duration
httpMetrics.duration
Get HTTP request duration metrics for a service (avg, p50, p90, p95, p99)
Risk: read
samples full type
samples full type
get
httpMetrics.get
Get HTTP request metrics for a service
Risk: read
samples full type
samples full type
groupedByStatus
httpMetrics.groupedByStatus
Get HTTP request metrics for a service, grouped by status code
Risk: read
object[]
Output full type
Output full type
Invite Codes
get
inviteCodes.get
Get an invite code by the code
Risk: read
project full type
project full type
use
inviteCodes.use
Join a project using an invite code
Risk: write
baseEnvironment full type
baseEnvironment full type
clearanceTokens full type
clearanceTokens full type
members full type
members full type
workspace full type
workspace full type
Me
get
me.get
Get the user the token belongs to, with their workspaces
Risk: read
apiTokenRateLimit full type
apiTokenRateLimit full type
profile full type
profile full type
workspaces full type
workspaces full type
Metrics
get
metrics.get
Get metrics for a project, environment, and service
Risk: read
object[]
Output full type
Output full type
Network Flow Logs
list
networkFlowLogs.list
Fetch individual network flow logs for an environment
Risk: read
object[]
Output full type
Output full type
Notification Deliveries
get
notificationDeliveries.get
Gets a notification delivery by ID for the authenticated user
Risk: read
notificationInstance full type
notificationInstance full type
list
notificationDeliveries.list
Gets notification deliveries for the authenticated user, one page at a time (first/after)
Risk: read
filter full type
filter full type
items full type
items full type
pageInfo full type
pageInfo full type
markAsRead
notificationDeliveries.markAsRead
Marks notification deliveries as read
Risk: write
boolean
Notification Rules
create
notificationRules.create
Create a new notification rule
Risk: write
input full type
input full type
channels full type
channels full type
delete
notificationRules.delete
Delete a notification rule
Risk: destructive · Irreversible
boolean
list
notificationRules.list
Get all notification rules for a workspace and project
Risk: read
object[]
Output full type
Output full type
update
notificationRules.update
Update a notification rule
Risk: write
input full type
input full type
channels full type
channels full type
upsertSlackChannel
notificationRules.upsertSlackChannel
Generate a Slack channel for a workspace
Risk: write
boolean
Observability Dashboard Monitors
create
observabilityDashboardMonitors.create
Create an observability monitor for a dashboard item
Risk: write
input full type
input full type
boolean
remove
observabilityDashboardMonitors.remove
Remove an observability monitor from a dashboard item
Risk: destructive
boolean
update
observabilityDashboardMonitors.update
Update an observability monitor for a dashboard item
Risk: write
input full type
input full type
boolean
Observability Dashboards
create
observabilityDashboards.create
Create an observability dashboard
Risk: write
input full type
input full type
boolean
list
observabilityDashboards.list
Get all observability dashboards for an environment, one page at a time (first/after)
Risk: read
items full type
items full type
pageInfo full type
pageInfo full type
reset
observabilityDashboards.reset
Reset an observability dashboard to default dashboard items
Risk: write
boolean
update
observabilityDashboards.update
Update an observability dashboard
Risk: write
input full type
input full type
boolean
Passkeys
list
passkeys.list
Gets all passkeys for the authenticated user, one page at a time (first/after)
Risk: read
items full type
items full type
pageInfo full type
pageInfo full type
Platform
stats
platform.stats
Get public Railway stats
Risk: read
status
platform.status
Get the current status of the platform
Risk: read
incident full type
incident full type
maintenance full type
maintenance full type
Preferences
get
preferences.get
Get the email preferences for a user
Risk: read
update
preferences.update
Update the email preferences for a user
Risk: write
input full type
input full type
Private Network Endpoints
get
privateNetworkEndpoints.get
Get a private network endpoint for a service instance
Risk: read
isNameAvailable
privateNetworkEndpoints.isNameAvailable
Check if an endpoint name is available
Risk: read
boolean
rename
privateNetworkEndpoints.rename
Rename a private network endpoint
Risk: write
boolean
Private Networks
list
privateNetworks.list
List private networks for an environment
Risk: read
object[]
Output full type
Output full type
Project Favorites
list
projectFavorites.list
The authenticated user’s favorited project ids in a workspace, in the order the Favorites row should render them. Defaults to the order they were starred in
Risk: read
string[]
set
projectFavorites.set
Star or unstar a project for the authenticated user. Returns the resulting state
Risk: write
boolean
Project Invitations
accept
projectInvitations.accept
Accept a project invitation using the invite code
Risk: write
create
projectInvitations.create
Create an invitation for a project
Risk: destructive
input full type
input full type
inviter full type
inviter full type
project full type
project full type
createInviteCode
projectInvitations.createInviteCode
Create a 24-hour project invite link, reusing a link created within the last hour
Risk: destructive
project full type
project full type
delete
projectInvitations.delete
Delete an invitation for a project
Risk: destructive · Irreversible
boolean
get
projectInvitations.get
Get a project invitation by code
Risk: read
inviteCode
projectInvitations.inviteCode
Get an invite code for a project for a specifc role
Risk: read
project full type
project full type
list
projectInvitations.list
Get invitations for a project
Risk: read
object[]
Output full type
Output full type
resend
projectInvitations.resend
Resend an invitation for a project
Risk: destructive
inviter full type
inviter full type
project full type
project full type
Project Members
add
projectMembers.add
Add a workspace member to a project with a specific role. The user must already be a member of the project’s workspace
Risk: destructive
input full type
input full type
list
projectMembers.list
Gets users who belong to a project along with their role
Risk: read
object[]
Output full type
Output full type
remove
projectMembers.remove
Remove user from a project
Risk: destructive
input full type
input full type
object[]
Output full type
Output full type
update
projectMembers.update
Change the role for a user within a project
Risk: destructive
input full type
input full type
Projects
addFeatureFlag
projects.addFeatureFlag
Add a feature flag for a project
Risk: write
input full type
input full type
boolean
cancelScheduledDelete
projects.cancelScheduledDelete
Cancel scheduled deletion of a project
Risk: write
boolean
claim
projects.claim
Claims a project
Risk: write
baseEnvironment full type
baseEnvironment full type
clearanceTokens full type
clearanceTokens full type
members full type
members full type
workspace full type
workspace full type
compliance
projects.compliance
Get comprehensive compliance information for a project including 2FA status, member permissions, backup schedules, and compliance agreements. Requires workspace API token with admin access
Risk: read
memberPermissions full type
memberPermissions full type
serviceBackups full type
serviceBackups full type
twoFactorMembers full type
twoFactorMembers full type
confirmTransfer
projects.confirmTransfer
Confirm the transfer of project ownership
Risk: destructive · Irreversible
input full type
input full type
boolean
create
projects.create
Create a project in a workspace (workspaceId), with an optional description and default environment name
Risk: write
input full type
input full type
baseEnvironment full type
baseEnvironment full type
clearanceTokens full type
clearanceTokens full type
members full type
members full type
workspace full type
workspace full type
delete
projects.delete
Permanently delete a project with every environment, service, deployment, volume and variable in it
Risk: destructive · Irreversible
boolean
forceScheduledDelete
projects.forceScheduledDelete
Force delete a scheduled deletion of a project (skips the grace period)
Risk: destructive · Irreversible
boolean
get
projects.get
Get a project by ID
Risk: read
baseEnvironment full type
baseEnvironment full type
clearanceTokens full type
clearanceTokens full type
members full type
members full type
workspace full type
workspace full type
initiateTransfer
projects.initiateTransfer
Initiate the transfer of project ownership
Risk: destructive
input full type
input full type
boolean
leave
projects.leave
Leave project as currently authenticated user
Risk: destructive
boolean
list
projects.list
List the projects the token can see (all workspaces, or one with workspaceId), as a page of nodes
Risk: read
items full type
items full type
pageInfo full type
pageInfo full type
listByIds
projects.listByIds
Fetch multiple projects by id. Skips ids the caller cannot access (does not throw on partial denial). Intended for batched dashboard hydration of a small viewport-sized set of cards
Risk: read
object[]
Output full type
Output full type
removeFeatureFlag
projects.removeFeatureFlag
Remove a feature flag for a project
Risk: destructive
input full type
input full type
boolean
resourceAccess
projects.resourceAccess
Get resource access rules for project-specific actions
Risk: read
customDomain full type
customDomain full type
databaseDeployment full type
databaseDeployment full type
deployment full type
deployment full type
environment full type
environment full type
sandbox full type
sandbox full type
scheduleDelete
projects.scheduleDelete
Deletes a project with a 48 hour grace period
Risk: destructive
boolean
serviceUsage
projects.serviceUsage
Get paginated usage grouped by project and service for a workspace
Risk: read
pageInfo full type
pageInfo full type
usage full type
usage full type
transfer
projects.transfer
Transfer a project to a workspace
Risk: destructive · Irreversible
input full type
input full type
boolean
update
projects.update
Updates a project
Risk: write
input full type
input full type
baseEnvironment full type
baseEnvironment full type
clearanceTokens full type
clearanceTokens full type
members full type
members full type
workspace full type
workspace full type
updateClearanceDefault
projects.updateClearanceDefault
Sets whether environments created from now on start with Railway Authentication protecting services that have no setting of their own. Existing environments are unchanged. Requires a workspace admin; turning it on also requires the workspace’s Railway Authentication entitlement
Risk: write
input full type
input full type
boolean
workspaceMembers
projects.workspaceMembers
Get workspace members for a project with 2FA details
Risk: read
members full type
members full type
Project Tokens
create
projectTokens.create
Create a token for a project that has access to a specific environment
Risk: destructive
input full type
input full type
string
delete
projectTokens.delete
Delete a project token
Risk: destructive · Irreversible
boolean
get
projectTokens.get
Get a single project token by the value in the header
Risk: read
environment full type
environment full type
project full type
project full type
list
projectTokens.list
Get all project tokens for a project, one page at a time (first/after)
Risk: read
items full type
items full type
pageInfo full type
pageInfo full type
Railway Domain Dns Records
create
railwayDomainDnsRecords.create
Create a DNS record for a Railway domain
Risk: write
input full type
input full type
delete
railwayDomainDnsRecords.delete
Delete a DNS record for a Railway domain
Risk: destructive · Irreversible
input full type
input full type
boolean
list
railwayDomainDnsRecords.list
List DNS records for a Railway domain
Risk: read
object[]
Output full type
Output full type
update
railwayDomainDnsRecords.update
Update a DNS record for a Railway domain
Risk: write
input full type
input full type
Railway Domain Email Forwarding Rules
create
railwayDomainEmailForwardingRules.create
Forward an address on this domain to an external inbox
Risk: write
input full type
input full type
delete
railwayDomainEmailForwardingRules.delete
Stop forwarding an address on this domain
Risk: destructive · Irreversible
input full type
input full type
boolean
list
railwayDomainEmailForwardingRules.list
List email forwarding rules for a Railway domain
Risk: read
object[]
Output full type
Output full type
removeAll
railwayDomainEmailForwardingRules.removeAll
Stop forwarding every address on this domain, and remove the mail records that delivered them
Risk: destructive
input full type
input full type
sendTest
railwayDomainEmailForwardingRules.sendTest
Send a message to a forwarded address so the customer can confirm it delivers
Risk: destructive
input full type
input full type
update
railwayDomainEmailForwardingRules.update
Change where a forwarded address delivers
Risk: write
input full type
input full type
Railway Domains
emailForwardingEligibility
railwayDomains.emailForwardingEligibility
Whether email forwarding can be offered on this domain, or why it can’t
Risk: read
string
emailForwardingLimits
railwayDomains.emailForwardingLimits
Caps the forwarding UI surfaces before a rule is rejected server-side. Pass workspaceId for that workspace’s alias allowance; without it the highest plan’s is returned
Risk: read
get
railwayDomains.get
Get a Railway domain by ID
Risk: read
connectedServiceInstances full type
connectedServiceInstances full type
nameservers full type
nameservers full type
getByName
railwayDomains.getByName
Get a Railway domain by its domain name within a workspace
Risk: read
connectedServiceInstances full type
connectedServiceInstances full type
nameservers full type
nameservers full type
list
railwayDomains.list
Get Railway domains for a workspace
Risk: read
object[]
Output full type
Output full type
setNameservers
railwayDomains.setNameservers
Delegate the domain’s authoritative nameservers to an external DNS provider, or reset to Railway defaults by passing an empty list
Risk: destructive
input full type
input full type
update
railwayDomains.update
Update a Railway domain’s settings
Risk: write
input full type
input full type
connectedServiceInstances full type
connectedServiceInstances full type
nameservers full type
nameservers full type
Referral
get
referral.get
Gets the ReferralInfo for the authenticated user
Risk: read
referralStats full type
referralStats full type
update
referral.update
Updates the ReferralInfo for the authenticated user
Risk: write
input full type
input full type
referralStats full type
referralStats full type
Regions
list
regions.list
List available regions
Risk: read
object[]
Output full type
Output full type
Resource Access
get
resourceAccess.get
Get resource access for the current user or workspace
Risk: read
explicitResourceOwner full type
explicitResourceOwner full type
deployment full type
deployment full type
project full type
project full type
Sandbox Checkpoints
create
sandboxCheckpoints.create
Capture a running sandbox’s current disk into a reusable, named checkpoint. Synchronous: the checkpoint is ready when this returns
Risk: write
delete
sandboxCheckpoints.delete
Delete a sandbox checkpoint
Risk: destructive · Irreversible
boolean
list
sandboxCheckpoints.list
List named sandbox checkpoints in an environment
Risk: read
object[]
Output full type
Output full type
rename
sandboxCheckpoints.rename
Rename a sandbox checkpoint
Risk: write
Sandboxes
buildTemplate
sandboxes.buildTemplate
Build a sandbox template into a bootable checkpoint
Risk: destructive
input full type
input full type
create
sandboxes.create
Create a sandbox in an environment
Risk: destructive
input full type
input full type
domains full type
domains full type
destroy
sandboxes.destroy
Destroy a sandbox
Risk: destructive · Irreversible
domains full type
domains full type
get
sandboxes.get
Get a sandbox by id
Risk: read
domains full type
domains full type
heartbeat
sandboxes.heartbeat
Extend a sandbox’s lifetime
Risk: write
domains full type
domains full type
list
sandboxes.list
List sandboxes in an environment, newest first. Passing first/after paginates; omitting them returns the full list, one page at a time (first/after)
Risk: read
items full type
items full type
pageInfo full type
pageInfo full type
templateBuild
sandboxes.templateBuild
Get a template’s build state by id (the recipe content hash). READY once its checkpoint exists; BUILDING/FAILED reflect the build workflow
Risk: read
Sandbox Sessions
list
sandboxSessions.list
Resumable sessions inside a sandbox — interactive shells and one-off exec commands, live or recently exited. Null when the sandbox can’t report them (e.g. its vm-init predates session listing), one page at a time (first/after)
Risk: read
items full type
items full type
pageInfo full type
pageInfo full type
Service Domains
create
serviceDomains.create
Creates a new service domain
Risk: write
input full type
input full type
delete
serviceDomains.delete
Deletes a service domain
Risk: destructive · Irreversible
boolean
isAvailable
serviceDomains.isAvailable
Checks if a service domain is available
Risk: read
update
serviceDomains.update
Updates a service domain
Risk: write
input full type
input full type
boolean
Service Instances
autoDeployStatus
serviceInstances.autoDeployStatus
Returns the auto-deploy status for a service instance, including whether it can be enabled
Risk: read
clearAutoUpdateSnooze
serviceInstances.clearAutoUpdateSnooze
Undo an active auto-update skip for a service instance, applied immediately (no config staging, no redeploy). The recurring maintenance window and update policy are untouched — the next scheduled occurrence fires normally again
Risk: write
boolean
deploy
serviceInstances.deploy
Deploy the service in an environment from its latest source; the deployment runs on usage-billed compute
Risk: destructive
boolean
deployV2
serviceInstances.deployV2
Deploy the service in an environment from its latest source (or a commit) and return the new deployment id; runs on usage-billed compute
Risk: destructive
string
dismissVulnRemediation
serviceInstances.dismissVulnRemediation
Dismiss a pending database security update and cancel its scheduled redeploy
Risk: write
boolean
get
serviceInstances.get
Get a service instance belonging to a service and environment
Risk: read
activeDeployments full type
activeDeployments full type
edgeConfig full type
edgeConfig full type
latestDeployment full type
latestDeployment full type
resolvedFileConfig full type
resolvedFileConfig full type
service full type
service full type
source full type
source full type
isUpdatable
serviceInstances.isUpdatable
Check if the upstream repo for a service has an update available
Risk: read
boolean
limitOverride
serviceInstances.limitOverride
Get the service instance resource limit overrides (null if no overrides set)
Risk: read
any
limits
serviceInstances.limits
Get the merged resource limits for a service instance (includes plan defaults)
Risk: read
any
patchVulnNow
serviceInstances.patchVulnNow
Apply a pending database security update now (backup, then redeploy). Returns the new deployment id
Risk: destructive
string
redeploy
serviceInstances.redeploy
Redeploy a service instance
Risk: destructive
boolean
snoozeAutoUpdate
serviceInstances.snoozeAutoUpdate
Skip the next scheduled auto-update for a service instance. Takes effect immediately, with no staged change and no redeploy. The maintenance window and update policy stay as they are. This only delays the next scheduled update
Risk: write
boolean
update
serviceInstances.update
Update a service instance
Risk: write
input full type
input full type
boolean
updateAutoDeploy
serviceInstances.updateAutoDeploy
Enables or disables auto-deploy for a service instance
Risk: write
input full type
input full type
updateAutoUpdateSchedule
serviceInstances.updateAutoUpdateSchedule
Update the auto-update maintenance window for a service instance, applied immediately (no config staging, no redeploy). Only the schedule changes — the update policy is untouched
Risk: write
schedule full type
schedule full type
boolean
updateClearance
serviceInstances.updateClearance
Sets a service instance’s own Railway Authentication setting: on, off, or none (follow the environment’s default). Requires a workspace admin; ending up on also requires the workspace’s Railway Authentication entitlement and edge caching off
Risk: write
input full type
input full type
boolean
updateLimits
serviceInstances.updateLimits
Update the resource limits for a service instance
Risk: write
input full type
input full type
boolean
Services
acknowledgeTakedown
services.acknowledgeTakedown
Record that a workspace admin confirms subsequent deployments will exclude the content named in this notice, lifting its persistent takedown restriction. any other restriction on the service, and any other outstanding takedown, still applies. It permits a subsequent deployment; it does not restore an earlier one, and it is not Railway verifying the removal
Risk: write
input full type
input full type
acknowledgedBy full type
acknowledgedBy full type
addFeatureFlag
services.addFeatureFlag
Add a feature flag for a service
Risk: write
input full type
input full type
boolean
connect
services.connect
Connect a service to a source
Risk: destructive
input full type
input full type
pendingTakedownAcknowledgment full type
pendingTakedownAcknowledgment full type
project full type
project full type
takedownAcknowledgments full type
takedownAcknowledgments full type
create
services.create
Create a service in a project from an image or a GitHub repo (source); a service with a source deploys right away and uses credits
Risk: destructive
input full type
input full type
pendingTakedownAcknowledgment full type
pendingTakedownAcknowledgment full type
project full type
project full type
takedownAcknowledgments full type
takedownAcknowledgments full type
delete
services.delete
Deletes a service
Risk: destructive · Irreversible
boolean
disableCdn
services.disableCdn
Disables CDN for a service, soft-deleting the edge config
Risk: write
input full type
input full type
boolean
disconnect
services.disconnect
Disconnect a service from a repo
Risk: write
pendingTakedownAcknowledgment full type
pendingTakedownAcknowledgment full type
project full type
project full type
takedownAcknowledgments full type
takedownAcknowledgments full type
enableCdn
services.enableCdn
Enables CDN for a service, creating an edge config and attaching all live domains
Risk: destructive
input full type
input full type
caching full type
caching full type
tracing full type
tracing full type
generateShellToken
services.generateShellToken
Creates a short-lived (5-minute) token for opening a shell, file, or network session to a running deployment
Risk: destructive
input full type
input full type
string
get
services.get
Get a service by ID
Risk: read
pendingTakedownAcknowledgment full type
pendingTakedownAcknowledgment full type
project full type
project full type
takedownAcknowledgments full type
takedownAcknowledgments full type
purgeCache
services.purgeCache
Purges the CDN cache for a service. Bumps the edge config’s purge epoch so every edge node treats prior cached entries as stale on next request. Idempotent; returns true even if CDN is disabled for the service
Risk: write
input full type
input full type
boolean
removeFeatureFlag
services.removeFeatureFlag
Remove a feature flag for a service
Risk: destructive
input full type
input full type
boolean
removeUpstreamUrl
services.removeUpstreamUrl
Remove the upstream URL from all service instances for this service
Risk: destructive
pendingTakedownAcknowledgment full type
pendingTakedownAcknowledgment full type
project full type
project full type
takedownAcknowledgments full type
takedownAcknowledgments full type
setUnderAttackMode
services.setUnderAttackMode
Enables or disables Under Attack Mode for a service. While enabled, the edge serves a browser challenge to unverified visitors of the service’s edge-routed domains; non-browser clients (APIs, webhooks) without a clearance cookie are rejected with a 429. Optionally time-boxed via durationSeconds, after which the mode disarms automatically
Risk: write
input full type
input full type
caching full type
caching full type
tracing full type
tracing full type
update
services.update
Updates a service
Risk: write
input full type
input full type
pendingTakedownAcknowledgment full type
pendingTakedownAcknowledgment full type
project full type
project full type
takedownAcknowledgments full type
takedownAcknowledgments full type
updateEdgeConfig
services.updateEdgeConfig
Updates the edge config (caching settings) for a service
Risk: write
input full type
input full type
caching full type
caching full type
tracing full type
tracing full type
updateEdgeRules
services.updateEdgeRules
Replaces the service’s edge rules (whole-section replace; null clears). Rules are boolean expressions over request attributes plus one action (block/allow/challenge/redirect/cache_override), evaluated at the edge before requests reach the service. The ruleset is validated server-side; invalid rulesets are rejected with per-rule diagnostics and nothing is written. Rules without an id get a server-assigned stable rul_ id
Risk: write
input full type
input full type
caching full type
caching full type
tracing full type
tracing full type
updateKind
services.updateKind
Makes an ordinary service a Website (kind WEBSITE) and redeploys it in every environment where it has a deployment. A Website can’t be made an ordinary service (kind null) yet. Returns false when the service already has that kind
Risk: write
input full type
input full type
boolean
validateEdgeRules
services.validateEdgeRules
Validates an edge ruleset without writing it — returns the same diagnostics updateServiceEdgeRules would reject with (empty list = valid). For live feedback in rule editors
Risk: read
input full type
input full type
object[]
Output full type
Output full type
Sessions
delete
sessions.delete
Deletes a session
Risk: destructive · Irreversible
boolean
list
sessions.list
Gets all sessions for authenticated user, one page at a time (first/after)
Risk: read
items full type
items full type
pageInfo full type
pageInfo full type
Shared Variables
configure
sharedVariables.configure
Configure a shared variable
Risk: write
input full type
input full type
environment full type
environment full type
plugin full type
plugin full type
service full type
service full type
Signals
changes
signals.changes
Recent audit log entries for a signal
Risk: read
object[]
Output full type
Output full type
create
signals.create
Register a new signal for an owner scope
Risk: write
input full type
input full type
delete
signals.delete
Delete a signal and its audit log
Risk: destructive · Irreversible
input full type
input full type
evaluate
signals.evaluate
Evaluate a signal against an evaluation context (pure resolution; does not mutate registry state)
Risk: read
context full type
context full type
get
signals.get
Fetch a single signal by owner scope and name
Risk: read
list
signals.list
List signals registered for an owner scope
Risk: read
object[]
Output full type
Output full type
replace
signals.replace
Replace a signal’s type and default, clearing all rules. Destructive — intended for CLI —force re-type
Risk: write
input full type
input full type
rollback
signals.rollback
Restore a signal to the snapshot captured before a change (reads prevState from the target change row)
Risk: write
input full type
input full type
setDefault
signals.setDefault
Change a signal’s canonical default (production floor)
Risk: write
input full type
input full type
setRule
signals.setRule
Attach or replace a rule on a signal. Matching rules must agree at resolution time or the default is returned
Risk: write
input full type
input full type
unsetRule
signals.unsetRule
Remove a rule from a signal
Risk: write
input full type
input full type
Ssh Public Keys
approveSignup
sshPublicKeys.approveSignup
Approve an SSH signup: register the offered SSH key on the authenticated account so the agent is recognized. When the key owns an anonymous trial box, claims that trial into workspaceId and re-owns the key
Risk: destructive
boolean
create
sshPublicKeys.create
Creates a new SSH public key. When workspaceId is provided (or omitted under a workspace-scoped API token, in which case it defaults to the token’s workspace), the key is owned by the workspace and can be used by anyone authenticating as that workspace via native SSH; requires workspace ADMIN access. Otherwise the key is owned by the authenticated user
Risk: destructive
input full type
input full type
delete
sshPublicKeys.delete
Deletes an SSH public key
Risk: destructive · Irreversible
boolean
list
sshPublicKeys.list
Gets SSH public keys. If workspaceId is provided, returns the keys owned by that workspace (requires workspace MEMBER access). Under a workspace-scoped API token, workspaceId defaults to the token’s workspace when omitted; otherwise returns the authenticated user’s personal keys, one page at a time (first/after)
Risk: read
items full type
items full type
pageInfo full type
pageInfo full type
signupInfo
sshPublicKeys.signupInfo
Details for an SSH signup confirm page: the SSH key fingerprint to verify before binding it to the account, and the trial box it owns if any
Risk: read
claimableWorkspaces full type
claimableWorkspaces full type
origin full type
origin full type
trial full type
trial full type
Tcp Proxies
delete
tcpProxies.delete
Deletes a TCP proxy by id
Risk: destructive · Irreversible
boolean
list
tcpProxies.list
All TCP proxies for a service instance
Risk: read
object[]
Output full type
Output full type
Templates
clone
templates.clone
Duplicates an existing template
Risk: write
input full type
input full type
creator full type
creator full type
guides full type
guides full type
maintainer full type
maintainer full type
publishingAllowance full type
publishingAllowance full type
similarTemplates full type
similarTemplates full type
count
templates.count
Count all published templates
Risk: read
number
delete
templates.delete
Deletes a template
Risk: destructive · Irreversible
input full type
input full type
boolean
deploy
templates.deploy
Deploy a template (by id or code) into a project and environment; the services it creates run on usage-billed compute
Risk: destructive
input full type
input full type
ejectServiceSource
templates.ejectServiceSource
Ejects a service from the template and creates a new repo in the provided org
Risk: write
input full type
input full type
boolean
generate
templates.generate
Generate a template for a project
Risk: write
input full type
input full type
creator full type
creator full type
guides full type
guides full type
maintainer full type
maintainer full type
publishingAllowance full type
publishingAllowance full type
similarTemplates full type
similarTemplates full type
get
templates.get
Get a template by code or ID or GitHub owner and repo
Risk: read
creator full type
creator full type
guides full type
guides full type
maintainer full type
maintainer full type
publishingAllowance full type
publishingAllowance full type
similarTemplates full type
similarTemplates full type
list
templates.list
Get all published templates, one page at a time (first/after)
Risk: read
items full type
items full type
pageInfo full type
pageInfo full type
metrics
templates.metrics
Get the metrics for a template
Risk: read
publish
templates.publish
Publishes a template
Risk: write
input full type
input full type
creator full type
creator full type
guides full type
guides full type
maintainer full type
maintainer full type
publishingAllowance full type
publishingAllowance full type
similarTemplates full type
similarTemplates full type
revert
templates.revert
Reverts an HA cluster to standalone mode using template metadata to derive variables to remove
Risk: write
input full type
input full type
search
templates.search
Search published templates using the backend-ranked template search index, one page at a time (first/after)
Risk: read
items full type
items full type
pageInfo full type
pageInfo full type
sourceForProject
templates.sourceForProject
Get the source template for a project
Risk: read
creator full type
creator full type
guides full type
guides full type
maintainer full type
maintainer full type
publishingAllowance full type
publishingAllowance full type
similarTemplates full type
similarTemplates full type
unpublish
templates.unpublish
Unpublishes a template
Risk: write
boolean
updateVolume
templates.updateVolume
Sets the default size (in MB) for a volume mount in a template’s config. New volumes created when the template is deployed are provisioned at this size, clamped to the deployer’s plan maximum. Pass sizeMB: null to clear the pre-size and fall back to the plan default. Editing a template requires maintainer access
Risk: write
creator full type
creator full type
guides full type
guides full type
maintainer full type
maintainer full type
publishingAllowance full type
publishingAllowance full type
similarTemplates full type
similarTemplates full type
Traces
get
traces.get
The spans of one trace, oldest first. Only spans belonging to the environment are returned
Risk: read
object[]
Output full type
Output full type
list
traces.list
Traces of an environment with at least one span matching the filter, newest first
Risk: read
object[]
Output full type
Output full type
status
traces.status
Span activity per service of an environment within retention; a service absent from the list has produced no spans at all
Risk: read
object[]
Output full type
Output full type
Trusted Domains
create
trustedDomains.create
Create a new trusted domain for this workspace
Risk: write
input full type
input full type
verificationData full type
verificationData full type
delete
trustedDomains.delete
Delete a trusted domain
Risk: destructive · Irreversible
boolean
list
trustedDomains.list
Get all trusted domains for a workspace, one page at a time (first/after)
Risk: read
items full type
items full type
pageInfo full type
pageInfo full type
retriggerVerification
trustedDomains.retriggerVerification
Check the DNS record for a workspace email domain
Risk: write
verificationData full type
verificationData full type
update
trustedDomains.update
Update the automatic joining policy for a workspace email domain
Risk: write
input full type
input full type
verificationData full type
verificationData full type
Two Factor
get
twoFactor.get
Gets the TwoFactorInfo for the authenticated user
Risk: read
Usage
estimated
usage.estimated
Get the estimated total cost of the project at the end of the current billing cycle. If no startDate is provided, the usage for the current billing period of the project owner is returned
Risk: read
object[]
Output full type
Output full type
get
usage.get
Get the usage for a single project or all projects for a user/workspace. If no projectId or workspaceId is provided, the usage for the current user is returned. If no startDate is provided, the usage for the current billing period of the project owner is returned
Risk: read
object[]
Output full type
Output full type
removeLimit
usage.removeLimit
Remove the usage limit for a customer
Risk: destructive
input full type
input full type
boolean
setLimit
usage.setLimit
Set the usage limit for a customer
Risk: destructive
input full type
input full type
boolean
User
agreeToFairUse
user.agreeToFairUse
Agree to the fair use policy for the currently authenticated user
Risk: write
boolean
delete
user.delete
Delete the currently authenticated user
Risk: destructive · Irreversible
boolean
disconnectDiscord
user.disconnectDiscord
Disconnect your Railway account from Discord
Risk: write
boolean
pendingEmailChange
user.pendingEmailChange
The authenticated user’s unconfirmed email change, if there is one
Risk: read
removeProviderAuth
user.removeProviderAuth
Deletes a ProviderAuth
Risk: destructive
boolean
updateTerms
user.updateTerms
Update date of TermsAgreedOn
Risk: write
apiTokenRateLimit full type
apiTokenRateLimit full type
profile full type
profile full type
workspaces full type
workspaces full type
User Profile
get
userProfile.get
Get the public profile for a user
Risk: read
profile full type
profile full type
update
userProfile.update
Updates the profile for the authenticated user
Risk: write
input full type
input full type
boolean
Variables
delete
variables.delete
Deletes a variable
Risk: destructive · Irreversible
input full type
input full type
boolean
forServiceDeployment
variables.forServiceDeployment
All rendered variables that are required for a service deployment
Risk: read
Record<string, string>
list
variables.list
Get the variables of a service in an environment (or the shared ones without serviceId), as a name -> value map
Risk: read
Record<string, string>
upsert
variables.upsert
Create or change one variable; Railway redeploys the service unless skipDeploys is set
Risk: write
input full type
input full type
boolean
upsertMany
variables.upsertMany
Create or change several variables at once (replace: true drops the others); redeploys unless skipDeploys is set
Risk: write
input full type
input full type
boolean
Volume Instance Backups
create
volumeInstanceBackups.create
Create backup of a volume instance
Risk: destructive
delete
volumeInstanceBackups.delete
Deletes volume instance backup
Risk: destructive · Irreversible
list
volumeInstanceBackups.list
List backups of a volume instance
Risk: read
object[]
Output full type
Output full type
lock
volumeInstanceBackups.lock
Removes backup expiration date
Risk: write
boolean
restore
volumeInstanceBackups.restore
Restore a volume instance from a backup
Risk: destructive · Irreversible
Volume Instance Backup Schedules
list
volumeInstanceBackupSchedules.list
List backups schedules of a volume instance
Risk: read
object[]
Output full type
Output full type
update
volumeInstanceBackupSchedules.update
Manage schedule for backups of a volume instance
Risk: write
boolean
Volume Instances
get
volumeInstances.get
Get a single volume instance by id
Risk: read
environment full type
environment full type
service full type
service full type
volume full type
volume full type
pitrRestore
volumeInstances.pitrRestore
Point-in-time restore. Creates a brand-new database service in the project, recovered to the target timestamp from the source service’s backup history. The source service stays online and untouched
Risk: destructive · Irreversible
pitrRestoreEstimate
volumeInstances.pitrRestoreEstimate
Estimated disk space a point-in-time restore to this target needs, and whether it fits your plan’s largest volume. Returns null when no estimate is available
Risk: read
update
volumeInstances.update
Update a volume instance. If no environmentId is provided, all volume instances for the volume will be updated
Risk: write
input full type
input full type
boolean
Volumes
create
volumes.create
Create a persistent volume in a project
Risk: destructive
input full type
input full type
project full type
project full type
delete
volumes.delete
Delete a persistent volume in a project
Risk: destructive · Irreversible
boolean
update
volumes.update
Update a persistent volume in a project
Risk: write
input full type
input full type
project full type
project full type
Webhooks
test
webhooks.test
Test a webhook URL by sending a sample payload. Returns the HTTP status code. Custom headers come from headers, plus the stored headers of notificationRuleId for names not passed
Risk: destructive
headers full type
headers full type
number
Workflows
status
workflows.status
Gets the status of a workflow
Risk: read
Workspace Api Tokens
delete
workspaceApiTokens.delete
Revokes an API token scoped to a workspace. Requires workspace admin access
Risk: destructive · Irreversible
boolean
list
workspaceApiTokens.list
Lists API tokens scoped to a workspace. Requires workspace admin access, one page at a time (first/after)
Risk: read
items full type
items full type
pageInfo full type
pageInfo full type
Workspace Members
changeRole
workspaceMembers.changeRole
Changes a user workspace permissions
Risk: destructive
input full type
input full type
boolean
invite
workspaceMembers.invite
Invite a user by email to a workspace
Risk: destructive
input full type
input full type
boolean
remove
workspaceMembers.remove
Remove a user from a workspace
Risk: destructive
input full type
input full type
boolean
Workspace Policies
addDeploySource
workspacePolicies.addDeploySource
Add a deploy source to a workspace policy allowlist
Risk: write
addedBy full type
addedBy full type
get
workspacePolicies.get
Get the policies for a workspace
Risk: read
removeDeploySource
workspacePolicies.removeDeploySource
Remove a deploy source from a workspace policy allowlist
Risk: destructive
boolean
selectableDeploySources
workspacePolicies.selectableDeploySources
List deploy sources that can be added to a workspace policy
Risk: read
object[]
Output full type
Output full type
updateItem
workspacePolicies.updateItem
Enable or disable a workspace policy. Enterprise workspaces only
Risk: write
input full type
input full type
boolean
Workspaces
complianceAgreements
workspaces.complianceAgreements
Get compliance agreements for a workspace including HIPAA BAA and GDPR DPA status
Risk: read
createInviteCode
workspaces.createInviteCode
Get an invite code for a workspace and role
Risk: destructive
input full type
input full type
string
delete
workspaces.delete
Delete a workspace and all data associated with it
Risk: destructive · Irreversible
boolean
get
workspaces.get
Get the workspace
Risk: read
adoptionHistory full type
adoptionHistory full type
apiTokenRateLimit full type
apiTokenRateLimit full type
customer full type
customer full type
members full type
members full type
partnerProfile full type
partnerProfile full type
referredUsers full type
referredUsers full type
getByCode
workspaces.getByCode
Find a workspace by invite code
Risk: read
adoptionHistory full type
adoptionHistory full type
apiTokenRateLimit full type
apiTokenRateLimit full type
customer full type
customer full type
members full type
members full type
partnerProfile full type
partnerProfile full type
referredUsers full type
referredUsers full type
identityProviders
workspaces.identityProviders
Gets all identity providers of a workspace, one page at a time (first/after)
Risk: read
items full type
items full type
pageInfo full type
pageInfo full type
leave
workspaces.leave
Leave a workspace
Risk: destructive
boolean
listExternal
workspaces.listExternal
Get the workspaces the user doesn’t belong to, but needs access (like when invited to a project)
Risk: read
object[]
Output full type
Output full type
setRestrictProjectVisibilityToGroups
workspaces.setRestrictProjectVisibilityToGroups
Control whether non-admin project visibility is restricted to access groups and direct project permissions
Risk: write
boolean
update
workspaces.update
Update a workspace by id
Risk: write
input full type
input full type
boolean
updateTwoFactorEnforcement
workspaces.updateTwoFactorEnforcement
Enable or disable 2FA enforcement for a workspace
Risk: destructive
boolean
upsertSlackChannel
workspaces.upsertSlackChannel
Generate a Slack channel for a workspace
Risk: write
boolean
usageTotals
workspaces.usageTotals
Workspace-wide SUM of the same UI usage rollup as usage grouped by project. Use this for the usage-page header so it does not wait on per-project rows. Deleted projects that still bill are included when includeDeleted is true
Risk: read
object[]
Output full type
Output full type
useInviteCode
workspaces.useInviteCode
Use an invite code to join a workspace
Risk: write
adoptionHistory full type
adoptionHistory full type
apiTokenRateLimit full type
apiTokenRateLimit full type
customer full type
customer full type
members full type
members full type
partnerProfile full type
partnerProfile full type
referredUsers full type
referredUsers full type
Workspace Templates
list
workspaceTemplates.list
Get all templates for a workspace, one page at a time (first/after)
Risk: read
items full type
items full type
pageInfo full type
pageInfo full type