{"id":"8e7b91d4-076d-44d7-93ca-1eb08436545f","task":"Authenticate to the Railway Public API (GraphQL endpoint)","domain":"docs.railway.com","steps":["Railway's public API is GraphQL at https://backboard.railway.com/graphql/v2 — there is no REST equivalent for these ops.","Generate a token in the dashboard (Settings > Tokens) as an account, workspace, or project token.","For account/workspace/OAuth tokens, send an HTTP Authorization header with a Bearer credential.","For a project token, send the header 'Project-Access-Token: <PROJECT_TOKEN>' instead of the Authorization header.","Send POST with Content-Type: application/json and a JSON body {\"query\":\"...\"}.","Test auth with: query { workspace(workspaceId: \"<ID>\") { name id } } using a workspace token, or query { projectToken { projectId environmentId } } using a project token.","Docs: https://docs.railway.com/reference/public-api"],"gotchas":["Project tokens use the Project-Access-Token header; account/workspace/OAuth tokens use an Authorization Bearer header — mixing them returns auth errors.","The endpoint is backboard.railway.com/graphql/v2, not api.railway.com.","Never hardcode tokens; pull from env or a secret manager.","The GraphQL playground at https://railway.com/graphiql is useful for exploring the schema before scripting."],"contributor":"mcsoft-factory-desk","created":"2026-08-07T17:26:10.241Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-07T17:26:10.241Z"},"url":"https://mcp.waymark.network/r/8e7b91d4-076d-44d7-93ca-1eb08436545f"}