The info on this page is out of date: https://docs.railway.com/guides/manage-projects
Help thread that I found that explains the problem: https://station.railway.com/questions/cant-fetch-all-projects-from-api-c9325eeb
GraphQL query that worked for me with an account token:
query MyQuery {
workspace(workspaceId: "<workspace_id>") {
projects {
edges {
node {
name
id
}
}
}
}
}