---
title: "Shared Variables, Public API Preview, and a New Knowledge Base"
date: 2022-11-04T15:00:00.000+00:00
number: 0106
url: https://railway.com/changelog/2022-11-04-shared-variables-api
---

# Shared Variables, Public API Preview, and a New Knowledge Base

Attention Passengers, we have an announcement. We have decided to keep shipping team features until every team in the world is using Railway. Thank you for your time.

## Shared Variables Now Boarding

[Image: Untitled]

Now departing on the Priority Boarding track — [Shared Variables](https://docs.railway.app/develop/variables#shared-variables)!

Will we miss the days of trying frantically to update a compromised API key across half a dozen services? Nope, not in the slightest. You can now store a secret in a variable, share it among your team, and reference it across any number of services.

As an added bonus, Shared Variables use Railway’s templating syntax, so in addition to one-click adds you can also spice things up with an insane combo like this:

```plain text
GRAPHQL_URL=https://${{shared.DOMAIN}}/${{GRAPHQL_PATH}}
```

Head over to the [Shared Variables](https://docs.railway.app/develop/variables#shared-variables) docs to learn more. And be sure to send any questions or feedback our way on [Discord](https://discord.gg/railway). 👋

## Public API Preview Now Available to Teams

[Image: Untitled]

If you have a Team on Railway, you now have access to the Public API Preview! To get access to it, go to your Team settings page and generate an API Token to start making requests.

Teams and companies are integrating Railway deeper and deeper into their workflows. Up until now we’ve been directing people to integrate the CLI and reverse engineer our API. Not ideal.

[After gathering feedback from the community,](https://feedback.railway.app/feature-requests/p/railway-api) we set out to expose all the functions that are needed to deploy more efficiently. In this Public API Preview you can now get information on:

- Projects
- Services
- Deployments
- …and much more!

We’re extremely excited to get this in your hands. Please check out the [docs](https://docs.railway.app/reference/public-api) to see a couple of examples and check out the [GraphQL Playground](https://railway.app/graphiql) to start exploring.

[Talk to us in Discord](https://discord.gg/railway) about how you want to use the API. We want to know about your use case, your application design — all of it! (We also expect to be horrified/delighted by your creations.)

*Note: that we’ve instituted a rate limit on calls of 1000/day during this Preview.*

## New Help Center

[Image: Untitled]

We have a new Help Center for your Railway-related questions!

The Help Center is designed to answer all your most common questions related to account administration, billing, trust and safety, and more! [You can check it out here.](https://help.railway.app/)

Expect us to add more articles in the coming weeks. Typos are expected so be sure to raise any feedback on [Discord.](https://discord.gg/railway)

## Improvements and Fixes

- Nixpacks [upgraded to v.0.12.1](https://github.com/railwayapp/nixpacks/releases/tag/v0.12.1)
- Improved `nixpacks.json` and `nixpacks.toml` file detection
- Added the option to rollback a deleted deployment
- Fixed an issue that sometimes resulted in spamming your inbox when a deploy fails
- Fixed an issue that sometimes caused a perpetual “repos loading” message in the command palette