Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Railway Logs API

GraphQL log surface for builds, deployments, environments, and HTTP traffic. Available both as point-in-time queries (buildLogs, deploymentLogs, environmentLogs, httpLogs) and as real-time GraphQL subscriptions over WebSocket at wss://backboard.railway.com/graphql/v2.

Railway Logs API is one of 13 APIs that Railway publishes on the APIs.io network, described by an AsyncAPI event-driven specification.

Tagged areas include Logs, Subscriptions, WebSocket, and GraphQL. The published artifact set on APIs.io includes API documentation and an AsyncAPI specification.

This event API exposes 4 operations across 4 channels, and defines 2 schemas. It is described by AsyncAPI 2.6.0, at version 1.0.0.

The API connects through a single server, backboard.railway.com/graphql/v2 (wss).

4 operations 4 channels 2 schemas

Metadata

The identity and technical contract details declared by the specification.

Specification
AsyncAPI 2.6.0
API Version
1.0.0
Base URL
https://backboard.railway.com/graphql/v2
Resource Areas
1

Channels & Operations 4

Across 4 channels, the API surfaces 4 operations. Each is listed below with its action, channel, parameters, and response codes.

Channels 4
SUB
deploymentLogs
Stream runtime deployment logs.
streamDeploymentLogs body
SUB
buildLogs
Stream build logs.
streamBuildLogs body
SUB
environmentLogs
Stream environment-wide logs.
streamEnvironmentLogs body
SUB
httpLogs
Stream HTTP request logs.
streamHttpLogs body

Messages & Schemas 2

The contract defines 2 schemas that model the data carried by its messages. The most detailed is LogEntry (5 properties). Each schema is shown below with its type and property counts.

LogEntry
message
A single log line pushed on a subscription stream.
LogEntry
object
5 properties 2 required

Specification

The full machine-readable AsyncAPI contract behind this narrative.

Source

railway-app-asyncapi.yml Raw ↑

Other APIs Railway publishes across the network.

Railway Projects API
Railway Services API
Railway Deployments API
Railway Environments API
Railway Variables API
Railway Volumes API
Railway Plugins API
Railway Custom Domains API
Railway TCP Proxies API
Railway Usage and Metrics API
Railway Teams and Workspaces API
Railway Webhooks API