Skip to main content
New to Corsair? See API access, authentication, and error handling.

Access Group Members

add

accessGroupMembers.add Add a workspace member to an access group Risk: destructive
Input
Output

remove

accessGroupMembers.remove Remove a member from an access group Risk: destructive
Input
Output: boolean

Access Group Projects

attach

accessGroupProjects.attach Attach a project to an access group Risk: write
Input
Output

detach

accessGroupProjects.detach Detach a project from an access group Risk: write
Input
Output: boolean

Access Groups

create

accessGroups.create Create an access group in a workspace Risk: write
Input
Output

delete

accessGroups.delete Delete an access group Risk: destructive · Irreversible
Input Output: boolean

update

accessGroups.update Update an access group’s name or role Risk: write
Input
Output

Agent Usage

get

agentUsage.get Get unified AI usage for a workspace Risk: read
Input Output

setLimit

agentUsage.setLimit Set agent usage limit for a workspace Risk: destructive
Input
Output: boolean

Api Tokens

create

apiTokens.create Creates a new API token Risk: destructive
Input
Output: string

current

apiTokens.current Introspect the current API token and its accessible workspaces Risk: read
Input: empty object Output

delete

apiTokens.delete Deletes an API token Risk: destructive · Irreversible
Input Output: boolean

list

apiTokens.list Gets all API tokens for the authenticated user, one page at a time (first/after) Risk: read
Input Output

Audit Logs

eventTypes

auditLogs.eventTypes Get a list of all audit log event types and their description Risk: read
Input: empty object Output: object[]

get

auditLogs.get Get an audit log by ID Risk: read
Input Output

list

auditLogs.list Gets audit logs for a workspace, one page at a time (first/after) Risk: read
Input
Output

Billing

createFreePlanSubscription

billing.createFreePlanSubscription Create a free plan subscription for a customer Risk: destructive
Input Output: boolean

togglePayoutsToCredits

billing.togglePayoutsToCredits Toggle whether a customer is automatically withdrawing to credits Risk: destructive
Input
Output: boolean

Bot Scope Bindings

list

botScopeBindings.list Railway agent chat bindings (Slack/Discord scope → workspace) across the caller’s workspaces Risk: read
Input: empty object Output: object[]

remove

botScopeBindings.remove Remove a Railway agent chat binding. Requires admin on the binding’s workspace Risk: destructive
Input Output: boolean

Buckets

create

buckets.create Create a bucket in a project Risk: destructive
Input
Output

instanceDetails

buckets.instanceDetails Get the S3-compatible credentials for a bucket Risk: read
Input Output

resetCredentials

buckets.resetCredentials Reset the credentials for a bucket in an environment Risk: destructive · Irreversible
Input Output

s3Credentials

buckets.s3Credentials Get the S3-compatible credentials for a bucket Risk: read
Input Output: object[]

update

buckets.update Updates a bucket Risk: write
Input
Output

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
Input Output: 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
Input Output

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
Output

revoke

clearanceTokens.revoke Revokes a Railway Authentication token. Requires a workspace admin; works without the entitlement. Revoking a revoked token succeeds Risk: destructive
Input Output: boolean

Cloud Agent Checkpoints

create

cloudAgentCheckpoints.create Checkpoint the agent’s disk. Poll cloudAgentCheckpoint until SUCCEEDED Risk: destructive
Input Output

delete

cloudAgentCheckpoints.delete Delete a checkpoint Risk: destructive · Irreversible
Input Output: boolean

get

cloudAgentCheckpoints.get A cloud agent checkpoint by ID Risk: read
Input Output

list

cloudAgentCheckpoints.list Cloud agent checkpoints in an environment, newest first, one page at a time (first/after) Risk: read
Input Output

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
Input Output

Cloud Agents

archive

cloudAgents.archive Archive a cloud agent, hiding it from lists of unarchived agents. Requires permission to manage the agent Risk: write
Input Output: boolean

create

cloudAgents.create Create a cloud agent Risk: destructive
Input
Output

createDashboardFeedback

cloudAgents.createDashboardFeedback Send feedback about the agent dashboard to the Railway team. True once delivered Risk: write
Input
Output: boolean

createFeedback

cloudAgents.createFeedback Send lightweight agent feedback to Railway. Returns the report ID after delivery Risk: write
Input
Output: string

delete

cloudAgents.delete Delete a cloud agent Risk: destructive · Irreversible
Input Output: 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
Input Output

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
Input Output

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
Input Output

list

cloudAgents.list Cloud agents in an environment Risk: read
Input Output: object[]

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
Input Output: object[]

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
Input Output: boolean

renameSession

cloudAgents.renameSession Set a session’s title, shown over its generated one. An empty title clears it Risk: write
Input Output: 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
Input Output

unarchive

cloudAgents.unarchive Restore an archived cloud agent. Requires permission to manage the agent Risk: write
Input Output: boolean

wake

cloudAgents.wake Wake a sleeping cloud agent Risk: destructive
Input Output

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
Input Output

dispatch

cloudAgentTasks.dispatch Start a task and return its handle. Creates a fresh agent by default; replyToTaskId continues the original conversation Risk: destructive
Input
Output

get

cloudAgentTasks.get Read a task turn without waking the VM: the latest on the agent/session, or taskId’s Risk: read
Input Output

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
Input Output

models

cloudAgentTasks.models The models a task in this environment can run on, and the default a new conversation starts on Risk: read
Input Output

recover

cloudAgentTasks.recover Recover the latest task response from the agent. May wake the VM Risk: destructive
Input Output

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
Output

Custom Domains

create

customDomains.create Creates a new custom domain Risk: write
Input
Output

delete

customDomains.delete Deletes a custom domain Risk: destructive · Irreversible
Input Output: boolean

get

customDomains.get Fetch details for a custom domain Risk: read
Input Output

isAvailable

customDomains.isAvailable Checks if a custom domain is available Risk: read
Input Output

issueCertificate

customDomains.issueCertificate Issues a new certificate Risk: destructive
Input Output: boolean

update

customDomains.update Updates a custom domain Risk: write
Input Output: 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
Input Output: 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
Input Output: 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
Output

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
Output

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
Input Output

passwordRotationProgress

databases.passwordRotationProgress Progress of the HA password rotation running for a cluster, or null when none is Risk: read
Input Output

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
Input Output

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
Input Output

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
Input Output

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
Output

Deployments

approve

deployments.approve Approves a deployment Risk: destructive
Input Output: boolean

buildLogs

deployments.buildLogs Get the build log lines of a deployment Risk: read
Input Output: object[]

cancel

deployments.cancel Cancels a deployment Risk: write
Input Output: boolean

createInstanceExecution

deployments.createInstanceExecution Invoke a deployment instance execution Risk: destructive
Input
Output: boolean

events

deployments.events Get the deployment events for a deployment, one page at a time (first/after) Risk: read
Input Output

get

deployments.get Find a single deployment Risk: read
Input Output

instanceExecutions

deployments.instanceExecutions Get the deployment instance executions for a deployment, one page at a time (first/after) Risk: read
Input
Output

list

deployments.list Get all deployments, one page at a time (first/after) Risk: read
Input
Output

logs

deployments.logs Get the runtime log lines of a deployment, optionally filtered and between two dates Risk: read
Input Output: object[]

redeploy

deployments.redeploy Redeploys a deployment Risk: destructive
Input Output

remove

deployments.remove Removes a deployment Risk: destructive
Input Output: boolean

restart

deployments.restart Restarts a deployment Risk: destructive
Input Output: boolean

rollback

deployments.rollback Rolls back to a deployment Risk: destructive
Input Output: boolean

snapshot

deployments.snapshot Find a single DeploymentSnapshot Risk: read
Input Output

stop

deployments.stop Stops a deployment Risk: destructive
Input Output: boolean

Deployment Triggers

create

deploymentTriggers.create Creates a deployment trigger Risk: write
Input
Output

delete

deploymentTriggers.delete Deletes a deployment trigger Risk: destructive · Irreversible
Input Output: boolean

list

deploymentTriggers.list All deployment triggers, one page at a time (first/after) Risk: read
Input Output

update

deploymentTriggers.update Updates a deployment trigger Risk: write
Input
Output

Dns Query Logs

list

dnsQueryLogs.list Fetch individual DNS query logs for an environment Risk: read
Input Output: object[]

Docker Compose

import

dockerCompose.import Create services and volumes from docker compose Risk: destructive
Input Output

Domains

list

domains.list All domains for a service instance Risk: read
Input Output

Egress Gateways

clearAssociations

egressGateways.clearAssociations Clear all egress gateway associations for a service instance Risk: destructive
Input
Output: boolean

createAssociation

egressGateways.createAssociation Create a new egress gateway association for a service instance Risk: destructive
Input
Output: object[]

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
Output

haPreview

egressGateways.haPreview Preview HA static egress IPs that would be assigned without persisting Risk: read
Input Output: object[]

legacyPreview

egressGateways.legacyPreview Preview legacy static egress IP that would be assigned without persisting Risk: read
Input Output: object[]

list

egressGateways.list All egress gateways assigned to a service instance Risk: read
Input Output: object[]

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
Output: object[]

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
Output: object[]

Environment Patches

commit

environmentPatches.commit Commit the provided patch to the environment Risk: destructive
Input Output: string

commitStaged

environmentPatches.commitStaged Commits the staged changes for a single environment Risk: destructive
Input Output: 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
Input Output: boolean

get

environmentPatches.get Get a single environment patch by ID Risk: read
Input Output

list

environmentPatches.list Get the patches for an environment, one page at a time (first/after) Risk: read
Input Output

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
Input Output

Environments

applyChangeSet

environments.applyChangeSet Experimental: applies an intent-level RailwayChangeSet and returns operation results Risk: destructive
Input
Output

changeSetApplyStatus

environments.changeSetApplyStatus Returns the status or completed result of an asynchronous RailwayChangeSet apply Risk: read
Input Output

create

environments.create Creates a new environment Risk: destructive
Input
Output

delete

environments.delete Deletes an environment Risk: destructive · Irreversible
Input Output: boolean

get

environments.get Find a single environment Risk: read
Input Output

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
Input Output: 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
Input
Output

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
Input Output

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
Input Output

list

environments.list Gets all environments for a project, one page at a time (first/after) Risk: read
Input Output

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
Input Output: object[]

overrideBase

environments.overrideBase Sets the base environment override for a deployment trigger Risk: write
Input
Output: 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
Input Output: object[]

previewChangeSet

environments.previewChangeSet Experimental: previews an intent-level RailwayChangeSet without side effects Risk: read
Input
Output

rename

environments.rename Renames an environment Risk: write
Input
Output

stageChanges

environments.stageChanges Sets the staged patch for a single environment Risk: write
Input
Output

stagedChanges

environments.stagedChanges Get the latest staged commit for a single environment Risk: read
Input Output

triggerDeploys

environments.triggerDeploys Deploys all connected triggers for an environment Risk: destructive
Input
Output: boolean

unskipService

environments.unskipService Deploy a service that was skipped when its environment was created, along with its skipped transitive dependencies Risk: write
Input Output: 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
Output: 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
Output

Events

list

events.list Gets the events for a project, one page at a time (first/after) Risk: read
Input
Output

Feature Flags

add

featureFlags.add Add a feature flag for a user Risk: write
Input
Output: boolean

listPlatform

featureFlags.listPlatform Returns the platform feature flags enabled for the current user Risk: read
Input: empty object Output: object[]

remove

featureFlags.remove Remove a feature flag for a user Risk: destructive
Input
Output: boolean

Function Runtimes

get

functionRuntimes.get Get information about a specific function runtime Risk: read
Input Output

list

functionRuntimes.list List available function runtimes Risk: read
Input: empty object Output: object[]

Github

prInfo

github.prInfo Get info for a GitHub pull request Risk: read
Input Output

prInfoResult

github.prInfoResult Get info for a GitHub pull request, including fetch errors Risk: read
Input Output

repoAccessAvailable

github.repoAccessAvailable Checks if user has access to GitHub repository Risk: read
Input Output

repos.branches

github.repos.branches Get branches for a GitHub repo that the authenticated user has access to Risk: read
Input Output: object[]

repos.deploy

github.repos.deploy Deploys a GitHub repo Risk: destructive
Input
Output: string

repos.get

github.repos.get Checks if user has access to GitHub repository Risk: read
Input Output

repos.isNameAvailable

github.repos.isNameAvailable Check if a repo name is available Risk: read
Input Output: boolean

repos.list

github.repos.list Get a list of repos for a user that Railway has access to Risk: read
Input: empty object Output: object[]

repos.update

github.repos.update Updates a GitHub repo through the linked template Risk: write
Input
Output: boolean

sshKeys

github.sshKeys Gets SSH public keys from the authenticated user’s GitHub account Risk: read
Input: empty object Output: object[]

writableScopes

github.writableScopes Get a list of scopes the user has installed the installation to Risk: read
Input: empty object Output: string[]

Http Logs

list

httpLogs.list Fetch HTTP logs for a deployment Risk: read
Input Output: object[]

Http Metrics

duration

httpMetrics.duration Get HTTP request duration metrics for a service (avg, p50, p90, p95, p99) Risk: read
Input Output

get

httpMetrics.get Get HTTP request metrics for a service Risk: read
Input Output

groupedByStatus

httpMetrics.groupedByStatus Get HTTP request metrics for a service, grouped by status code Risk: read
Input Output: object[]

Invite Codes

get

inviteCodes.get Get an invite code by the code Risk: read
Input Output

use

inviteCodes.use Join a project using an invite code Risk: write
Input Output

Me

get

me.get Get the user the token belongs to, with their workspaces Risk: read
Input: empty object Output

Metrics

get

metrics.get Get metrics for a project, environment, and service Risk: read
Input Output: object[]

Network Flow Logs

list

networkFlowLogs.list Fetch individual network flow logs for an environment Risk: read
Input Output: object[]

Notification Deliveries

get

notificationDeliveries.get Gets a notification delivery by ID for the authenticated user Risk: read
Input Output

list

notificationDeliveries.list Gets notification deliveries for the authenticated user, one page at a time (first/after) Risk: read
Input
Output

markAsRead

notificationDeliveries.markAsRead Marks notification deliveries as read Risk: write
Input Output: boolean

Notification Rules

create

notificationRules.create Create a new notification rule Risk: write
Input
Output

delete

notificationRules.delete Delete a notification rule Risk: destructive · Irreversible
Input Output: boolean

list

notificationRules.list Get all notification rules for a workspace and project Risk: read
Input Output: object[]

update

notificationRules.update Update a notification rule Risk: write
Input
Output

upsertSlackChannel

notificationRules.upsertSlackChannel Generate a Slack channel for a workspace Risk: write
Input Output: boolean

Observability Dashboard Monitors

create

observabilityDashboardMonitors.create Create an observability monitor for a dashboard item Risk: write
Input
Output: boolean

remove

observabilityDashboardMonitors.remove Remove an observability monitor from a dashboard item Risk: destructive
Input Output: boolean

update

observabilityDashboardMonitors.update Update an observability monitor for a dashboard item Risk: write
Input
Output: boolean

Observability Dashboards

create

observabilityDashboards.create Create an observability dashboard Risk: write
Input
Output: boolean

list

observabilityDashboards.list Get all observability dashboards for an environment, one page at a time (first/after) Risk: read
Input Output

reset

observabilityDashboards.reset Reset an observability dashboard to default dashboard items Risk: write
Input Output: boolean

update

observabilityDashboards.update Update an observability dashboard Risk: write
Input
Output: boolean

Passkeys

list

passkeys.list Gets all passkeys for the authenticated user, one page at a time (first/after) Risk: read
Input Output

Platform

stats

platform.stats Get public Railway stats Risk: read
Input: empty object Output

status

platform.status Get the current status of the platform Risk: read
Input: empty object Output

Preferences

get

preferences.get Get the email preferences for a user Risk: read
Input Output

update

preferences.update Update the email preferences for a user Risk: write
Input
Output

Private Network Endpoints

get

privateNetworkEndpoints.get Get a private network endpoint for a service instance Risk: read
Input Output

isNameAvailable

privateNetworkEndpoints.isNameAvailable Check if an endpoint name is available Risk: read
Input Output: boolean

rename

privateNetworkEndpoints.rename Rename a private network endpoint Risk: write
Input Output: boolean

Private Networks

list

privateNetworks.list List private networks for an environment Risk: read
Input Output: object[]

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
Input Output: string[]

set

projectFavorites.set Star or unstar a project for the authenticated user. Returns the resulting state Risk: write
Input Output: boolean

Project Invitations

accept

projectInvitations.accept Accept a project invitation using the invite code Risk: write
Input Output

create

projectInvitations.create Create an invitation for a project Risk: destructive
Input
Output

createInviteCode

projectInvitations.createInviteCode Create a 24-hour project invite link, reusing a link created within the last hour Risk: destructive
Input Output

delete

projectInvitations.delete Delete an invitation for a project Risk: destructive · Irreversible
Input Output: boolean

get

projectInvitations.get Get a project invitation by code Risk: read
Input Output

inviteCode

projectInvitations.inviteCode Get an invite code for a project for a specifc role Risk: read
Input Output

list

projectInvitations.list Get invitations for a project Risk: read
Input Output: object[]

resend

projectInvitations.resend Resend an invitation for a project Risk: destructive
Input Output

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
Output

list

projectMembers.list Gets users who belong to a project along with their role Risk: read
Input Output: object[]

remove

projectMembers.remove Remove user from a project Risk: destructive
Input
Output: object[]

update

projectMembers.update Change the role for a user within a project Risk: destructive
Input
Output

Projects

addFeatureFlag

projects.addFeatureFlag Add a feature flag for a project Risk: write
Input
Output: boolean

cancelScheduledDelete

projects.cancelScheduledDelete Cancel scheduled deletion of a project Risk: write
Input Output: boolean

claim

projects.claim Claims a project Risk: write
Input Output

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
Input Output

confirmTransfer

projects.confirmTransfer Confirm the transfer of project ownership Risk: destructive · Irreversible
Input
Output: boolean

create

projects.create Create a project in a workspace (workspaceId), with an optional description and default environment name Risk: write
Input
Output

delete

projects.delete Permanently delete a project with every environment, service, deployment, volume and variable in it Risk: destructive · Irreversible
Input Output: boolean

forceScheduledDelete

projects.forceScheduledDelete Force delete a scheduled deletion of a project (skips the grace period) Risk: destructive · Irreversible
Input Output: boolean

get

projects.get Get a project by ID Risk: read
Input Output

initiateTransfer

projects.initiateTransfer Initiate the transfer of project ownership Risk: destructive
Input
Output: boolean

leave

projects.leave Leave project as currently authenticated user Risk: destructive
Input Output: boolean

list

projects.list List the projects the token can see (all workspaces, or one with workspaceId), as a page of nodes Risk: read
Input Output

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
Input Output: object[]

removeFeatureFlag

projects.removeFeatureFlag Remove a feature flag for a project Risk: destructive
Input
Output: boolean

resourceAccess

projects.resourceAccess Get resource access rules for project-specific actions Risk: read
Input Output

scheduleDelete

projects.scheduleDelete Deletes a project with a 48 hour grace period Risk: destructive
Input Output: boolean

serviceUsage

projects.serviceUsage Get paginated usage grouped by project and service for a workspace Risk: read
Input Output

transfer

projects.transfer Transfer a project to a workspace Risk: destructive · Irreversible
Input
Output: boolean

update

projects.update Updates a project Risk: write
Input
Output

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
Output: boolean

workspaceMembers

projects.workspaceMembers Get workspace members for a project with 2FA details Risk: read
Input Output

Project Tokens

create

projectTokens.create Create a token for a project that has access to a specific environment Risk: destructive
Input
Output: string

delete

projectTokens.delete Delete a project token Risk: destructive · Irreversible
Input Output: boolean

get

projectTokens.get Get a single project token by the value in the header Risk: read
Input: empty object Output

list

projectTokens.list Get all project tokens for a project, one page at a time (first/after) Risk: read
Input Output

Railway Domain Dns Records

create

railwayDomainDnsRecords.create Create a DNS record for a Railway domain Risk: write
Input
Output

delete

railwayDomainDnsRecords.delete Delete a DNS record for a Railway domain Risk: destructive · Irreversible
Input
Output: boolean

list

railwayDomainDnsRecords.list List DNS records for a Railway domain Risk: read
Input Output: object[]

update

railwayDomainDnsRecords.update Update a DNS record for a Railway domain Risk: write
Input
Output

Railway Domain Email Forwarding Rules

create

railwayDomainEmailForwardingRules.create Forward an address on this domain to an external inbox Risk: write
Input
Output

delete

railwayDomainEmailForwardingRules.delete Stop forwarding an address on this domain Risk: destructive · Irreversible
Input
Output: boolean

list

railwayDomainEmailForwardingRules.list List email forwarding rules for a Railway domain Risk: read
Input Output: object[]

removeAll

railwayDomainEmailForwardingRules.removeAll Stop forwarding every address on this domain, and remove the mail records that delivered them Risk: destructive
Input
Output

sendTest

railwayDomainEmailForwardingRules.sendTest Send a message to a forwarded address so the customer can confirm it delivers Risk: destructive
Input
Output

update

railwayDomainEmailForwardingRules.update Change where a forwarded address delivers Risk: write
Input
Output

Railway Domains

emailForwardingEligibility

railwayDomains.emailForwardingEligibility Whether email forwarding can be offered on this domain, or why it can’t Risk: read
Input Output: 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
Input Output

get

railwayDomains.get Get a Railway domain by ID Risk: read
Input Output

getByName

railwayDomains.getByName Get a Railway domain by its domain name within a workspace Risk: read
Input Output

list

railwayDomains.list Get Railway domains for a workspace Risk: read
Input Output: object[]

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
Output

update

railwayDomains.update Update a Railway domain’s settings Risk: write
Input
Output

Referral

get

referral.get Gets the ReferralInfo for the authenticated user Risk: read
Input Output

update

referral.update Updates the ReferralInfo for the authenticated user Risk: write
Input
Output

Regions

list

regions.list List available regions Risk: read
Input Output: object[]

Resource Access

get

resourceAccess.get Get resource access for the current user or workspace Risk: read
Input
Output

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
Input Output

delete

sandboxCheckpoints.delete Delete a sandbox checkpoint Risk: destructive · Irreversible
Input Output: boolean

list

sandboxCheckpoints.list List named sandbox checkpoints in an environment Risk: read
Input Output: object[]

rename

sandboxCheckpoints.rename Rename a sandbox checkpoint Risk: write
Input Output

Sandboxes

buildTemplate

sandboxes.buildTemplate Build a sandbox template into a bootable checkpoint Risk: destructive
Input
Output

create

sandboxes.create Create a sandbox in an environment Risk: destructive
Input
Output

destroy

sandboxes.destroy Destroy a sandbox Risk: destructive · Irreversible
Input Output

get

sandboxes.get Get a sandbox by id Risk: read
Input Output

heartbeat

sandboxes.heartbeat Extend a sandbox’s lifetime Risk: write
Input Output

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
Input Output

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
Input Output

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
Input Output

Service Domains

create

serviceDomains.create Creates a new service domain Risk: write
Input
Output

delete

serviceDomains.delete Deletes a service domain Risk: destructive · Irreversible
Input Output: boolean

isAvailable

serviceDomains.isAvailable Checks if a service domain is available Risk: read
Input Output

update

serviceDomains.update Updates a service domain Risk: write
Input
Output: boolean

Service Instances

autoDeployStatus

serviceInstances.autoDeployStatus Returns the auto-deploy status for a service instance, including whether it can be enabled Risk: read
Input Output

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
Input Output: boolean

deploy

serviceInstances.deploy Deploy the service in an environment from its latest source; the deployment runs on usage-billed compute Risk: destructive
Input Output: 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
Input Output: string

dismissVulnRemediation

serviceInstances.dismissVulnRemediation Dismiss a pending database security update and cancel its scheduled redeploy Risk: write
Input Output: boolean

get

serviceInstances.get Get a service instance belonging to a service and environment Risk: read
Input Output

isUpdatable

serviceInstances.isUpdatable Check if the upstream repo for a service has an update available Risk: read
Input Output: boolean

limitOverride

serviceInstances.limitOverride Get the service instance resource limit overrides (null if no overrides set) Risk: read
Input Output: any

limits

serviceInstances.limits Get the merged resource limits for a service instance (includes plan defaults) Risk: read
Input Output: any

patchVulnNow

serviceInstances.patchVulnNow Apply a pending database security update now (backup, then redeploy). Returns the new deployment id Risk: destructive
Input Output: string

redeploy

serviceInstances.redeploy Redeploy a service instance Risk: destructive
Input Output: 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
Input Output: boolean

update

serviceInstances.update Update a service instance Risk: write
Input
Output: boolean

updateAutoDeploy

serviceInstances.updateAutoDeploy Enables or disables auto-deploy for a service instance Risk: write
Input
Output

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
Input
Output: 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
Output: boolean

updateLimits

serviceInstances.updateLimits Update the resource limits for a service instance Risk: write
Input
Output: 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
Output

addFeatureFlag

services.addFeatureFlag Add a feature flag for a service Risk: write
Input
Output: boolean

connect

services.connect Connect a service to a source Risk: destructive
Input
Output

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
Output

delete

services.delete Deletes a service Risk: destructive · Irreversible
Input Output: boolean

disableCdn

services.disableCdn Disables CDN for a service, soft-deleting the edge config Risk: write
Input
Output: boolean

disconnect

services.disconnect Disconnect a service from a repo Risk: write
Input Output

enableCdn

services.enableCdn Enables CDN for a service, creating an edge config and attaching all live domains Risk: destructive
Input
Output

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
Output: string

get

services.get Get a service by ID Risk: read
Input Output

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
Output: boolean

removeFeatureFlag

services.removeFeatureFlag Remove a feature flag for a service Risk: destructive
Input
Output: boolean

removeUpstreamUrl

services.removeUpstreamUrl Remove the upstream URL from all service instances for this service Risk: destructive
Input Output

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
Output

update

services.update Updates a service Risk: write
Input
Output

updateEdgeConfig

services.updateEdgeConfig Updates the edge config (caching settings) for a service Risk: write
Input
Output

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
Output

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
Output: 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
Output: object[]

Sessions

delete

sessions.delete Deletes a session Risk: destructive · Irreversible
Input Output: boolean

list

sessions.list Gets all sessions for authenticated user, one page at a time (first/after) Risk: read
Input Output

Shared Variables

configure

sharedVariables.configure Configure a shared variable Risk: write
Input
Output

Signals

changes

signals.changes Recent audit log entries for a signal Risk: read
Input Output: object[]

create

signals.create Register a new signal for an owner scope Risk: write
Input
Output

delete

signals.delete Delete a signal and its audit log Risk: destructive · Irreversible
Input
Output

evaluate

signals.evaluate Evaluate a signal against an evaluation context (pure resolution; does not mutate registry state) Risk: read
Input
Output

get

signals.get Fetch a single signal by owner scope and name Risk: read
Input Output

list

signals.list List signals registered for an owner scope Risk: read
Input Output: object[]

replace

signals.replace Replace a signal’s type and default, clearing all rules. Destructive — intended for CLI —force re-type Risk: write
Input
Output

rollback

signals.rollback Restore a signal to the snapshot captured before a change (reads prevState from the target change row) Risk: write
Input
Output

setDefault

signals.setDefault Change a signal’s canonical default (production floor) Risk: write
Input
Output

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
Output

unsetRule

signals.unsetRule Remove a rule from a signal Risk: write
Input
Output

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
Input Output: 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
Output

delete

sshPublicKeys.delete Deletes an SSH public key Risk: destructive · Irreversible
Input Output: 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
Input Output

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
Input Output

Tcp Proxies

delete

tcpProxies.delete Deletes a TCP proxy by id Risk: destructive · Irreversible
Input Output: boolean

list

tcpProxies.list All TCP proxies for a service instance Risk: read
Input Output: object[]

Templates

clone

templates.clone Duplicates an existing template Risk: write
Input
Output

count

templates.count Count all published templates Risk: read
Input: empty object Output: number

delete

templates.delete Deletes a template Risk: destructive · Irreversible
Input
Output: 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
Output

ejectServiceSource

templates.ejectServiceSource Ejects a service from the template and creates a new repo in the provided org Risk: write
Input
Output: boolean

generate

templates.generate Generate a template for a project Risk: write
Input
Output

get

templates.get Get a template by code or ID or GitHub owner and repo Risk: read
Input Output

list

templates.list Get all published templates, one page at a time (first/after) Risk: read
Input Output

metrics

templates.metrics Get the metrics for a template Risk: read
Input Output

publish

templates.publish Publishes a template Risk: write
Input
Output

revert

templates.revert Reverts an HA cluster to standalone mode using template metadata to derive variables to remove Risk: write
Input
Output
templates.search Search published templates using the backend-ranked template search index, one page at a time (first/after) Risk: read
Input Output

sourceForProject

templates.sourceForProject Get the source template for a project Risk: read
Input Output

unpublish

templates.unpublish Unpublishes a template Risk: write
Input Output: 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
Input Output

Traces

get

traces.get The spans of one trace, oldest first. Only spans belonging to the environment are returned Risk: read
Input Output: object[]

list

traces.list Traces of an environment with at least one span matching the filter, newest first Risk: read
Input Output: object[]

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
Input Output: object[]

Trusted Domains

create

trustedDomains.create Create a new trusted domain for this workspace Risk: write
Input
Output

delete

trustedDomains.delete Delete a trusted domain Risk: destructive · Irreversible
Input Output: boolean

list

trustedDomains.list Get all trusted domains for a workspace, one page at a time (first/after) Risk: read
Input Output

retriggerVerification

trustedDomains.retriggerVerification Check the DNS record for a workspace email domain Risk: write
Input Output

update

trustedDomains.update Update the automatic joining policy for a workspace email domain Risk: write
Input
Output

Two Factor

get

twoFactor.get Gets the TwoFactorInfo for the authenticated user Risk: read
Input: empty object Output

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
Input Output: object[]

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
Input Output: object[]

removeLimit

usage.removeLimit Remove the usage limit for a customer Risk: destructive
Input
Output: boolean

setLimit

usage.setLimit Set the usage limit for a customer Risk: destructive
Input
Output: boolean

User

agreeToFairUse

user.agreeToFairUse Agree to the fair use policy for the currently authenticated user Risk: write
Input Output: boolean

delete

user.delete Delete the currently authenticated user Risk: destructive · Irreversible
Input: empty object Output: boolean

disconnectDiscord

user.disconnectDiscord Disconnect your Railway account from Discord Risk: write
Input: empty object Output: boolean

pendingEmailChange

user.pendingEmailChange The authenticated user’s unconfirmed email change, if there is one Risk: read
Input: empty object Output

removeProviderAuth

user.removeProviderAuth Deletes a ProviderAuth Risk: destructive
Input Output: boolean

updateTerms

user.updateTerms Update date of TermsAgreedOn Risk: write
Input: empty object Output

User Profile

get

userProfile.get Get the public profile for a user Risk: read
Input Output

update

userProfile.update Updates the profile for the authenticated user Risk: write
Input
Output: boolean

Variables

delete

variables.delete Deletes a variable Risk: destructive · Irreversible
Input
Output: boolean

forServiceDeployment

variables.forServiceDeployment All rendered variables that are required for a service deployment Risk: read
Input Output: 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
Input Output: Record<string, string>

upsert

variables.upsert Create or change one variable; Railway redeploys the service unless skipDeploys is set Risk: write
Input
Output: boolean

upsertMany

variables.upsertMany Create or change several variables at once (replace: true drops the others); redeploys unless skipDeploys is set Risk: write
Input
Output: boolean

Volume Instance Backups

create

volumeInstanceBackups.create Create backup of a volume instance Risk: destructive
Input Output

delete

volumeInstanceBackups.delete Deletes volume instance backup Risk: destructive · Irreversible
Input Output

list

volumeInstanceBackups.list List backups of a volume instance Risk: read
Input Output: object[]

lock

volumeInstanceBackups.lock Removes backup expiration date Risk: write
Input Output: boolean

restore

volumeInstanceBackups.restore Restore a volume instance from a backup Risk: destructive · Irreversible
Input Output

Volume Instance Backup Schedules

list

volumeInstanceBackupSchedules.list List backups schedules of a volume instance Risk: read
Input Output: object[]

update

volumeInstanceBackupSchedules.update Manage schedule for backups of a volume instance Risk: write
Input Output: boolean

Volume Instances

get

volumeInstances.get Get a single volume instance by id Risk: read
Input Output

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
Input Output

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
Input Output

update

volumeInstances.update Update a volume instance. If no environmentId is provided, all volume instances for the volume will be updated Risk: write
Input
Output: boolean

Volumes

create

volumes.create Create a persistent volume in a project Risk: destructive
Input
Output

delete

volumes.delete Delete a persistent volume in a project Risk: destructive · Irreversible
Input Output: boolean

update

volumes.update Update a persistent volume in a project Risk: write
Input
Output

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
Input
Output: number

Workflows

status

workflows.status Gets the status of a workflow Risk: read
Input Output

Workspace Api Tokens

delete

workspaceApiTokens.delete Revokes an API token scoped to a workspace. Requires workspace admin access Risk: destructive · Irreversible
Input Output: boolean

list

workspaceApiTokens.list Lists API tokens scoped to a workspace. Requires workspace admin access, one page at a time (first/after) Risk: read
Input Output

Workspace Members

changeRole

workspaceMembers.changeRole Changes a user workspace permissions Risk: destructive
Input
Output: boolean

invite

workspaceMembers.invite Invite a user by email to a workspace Risk: destructive
Input
Output: boolean

remove

workspaceMembers.remove Remove a user from a workspace Risk: destructive
Input
Output: boolean

Workspace Policies

addDeploySource

workspacePolicies.addDeploySource Add a deploy source to a workspace policy allowlist Risk: write
Input Output

get

workspacePolicies.get Get the policies for a workspace Risk: read
Input Output

removeDeploySource

workspacePolicies.removeDeploySource Remove a deploy source from a workspace policy allowlist Risk: destructive
Input Output: boolean

selectableDeploySources

workspacePolicies.selectableDeploySources List deploy sources that can be added to a workspace policy Risk: read
Input Output: object[]

updateItem

workspacePolicies.updateItem Enable or disable a workspace policy. Enterprise workspaces only Risk: write
Input
Output: boolean

Workspaces

complianceAgreements

workspaces.complianceAgreements Get compliance agreements for a workspace including HIPAA BAA and GDPR DPA status Risk: read
Input Output

createInviteCode

workspaces.createInviteCode Get an invite code for a workspace and role Risk: destructive
Input
Output: string

delete

workspaces.delete Delete a workspace and all data associated with it Risk: destructive · Irreversible
Input Output: boolean

get

workspaces.get Get the workspace Risk: read
Input Output

getByCode

workspaces.getByCode Find a workspace by invite code Risk: read
Input Output

identityProviders

workspaces.identityProviders Gets all identity providers of a workspace, one page at a time (first/after) Risk: read
Input Output

leave

workspaces.leave Leave a workspace Risk: destructive
Input Output: boolean

listExternal

workspaces.listExternal Get the workspaces the user doesn’t belong to, but needs access (like when invited to a project) Risk: read
Input Output: object[]

setRestrictProjectVisibilityToGroups

workspaces.setRestrictProjectVisibilityToGroups Control whether non-admin project visibility is restricted to access groups and direct project permissions Risk: write
Input Output: boolean

update

workspaces.update Update a workspace by id Risk: write
Input
Output: boolean

updateTwoFactorEnforcement

workspaces.updateTwoFactorEnforcement Enable or disable 2FA enforcement for a workspace Risk: destructive
Input Output: boolean

upsertSlackChannel

workspaces.upsertSlackChannel Generate a Slack channel for a workspace Risk: write
Input Output: 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
Input Output: object[]

useInviteCode

workspaces.useInviteCode Use an invite code to join a workspace Risk: write
Input Output

Workspace Templates

list

workspaceTemplates.list Get all templates for a workspace, one page at a time (first/after) Risk: read
Input Output