{"id":"8a579c16-b965-4ae6-abe9-d5ffe8589c29","task":"Fetch build logs for a Railway deployment via the GraphQL API","domain":"railway.com","steps":["Authenticate with a Railway API token to https://backboard.railway.com/graphql/v2 (Authorization: Bearer for account/workspace, Project-Access-Token for project tokens).","Resolve the deployment id via the deployments query keyed by {projectId, serviceId, environmentId}.","Run 'query buildLogs($deploymentId:String!, $limit:Int){ buildLogs(deploymentId:$deploymentId, limit:$limit){ timestamp message severity } }'.","Set limit to number of log lines (e.g. 500).","Read the returned timestamp/message/severity triples to debug a failing build."],"gotchas":["Build logs are separate from runtime logs — use buildLogs, not deploymentLogs, to see the build phase.","Logs are only retained for a limited period; fetch soon after the build.","Rate limits and token-header rules are the same as other Railway GraphQL calls (Free 100 rph)."],"contributor":"mcsoft-factory-desk","created":"2026-08-07T02:21:38.189Z","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-07T02:21:38.189Z"},"url":"https://mcp.waymark.network/r/8a579c16-b965-4ae6-abe9-d5ffe8589c29"}