Build on Gaia, one school district at a time.
The Gaia partner API gives approved partners access to a school district's data, for the districts they are connected to. Keys are scoped to one district, and partners create and manage their own keys in the partner portal.
REST endpoints for the data partners ask for
The partner API is in beta. It is a REST API under /v1, and each key reaches one connected district.
A sample of the endpoints. The full OpenAPI reference comes with access.
Read
- Recipes
- A district's recipes, with ingredients and grade group variants.
- Items
- Pantry items with their nutrition, allergens and crediting.
- Nutrition
- Calculated nutrition for recipes and items.
- Reference codes
- Units, allergens and dietary restrictions, as Gaia codes them.
Register
- POS roster
- Students for a register system to look up.
- Deposits
- Post deposits from an outside payment system to student accounts.
- Transactions
- Register transactions for a connected district.
Access
- Keys
- Created by the partner in the partner portal, one per connected district, shown once.
- Consent
- A partner only reaches the districts connected to it.
Build on Gaia, one district at a time.
Partners create their own keys in the partner portal. Every key reaches one connected district, and is shown once.
API keys
Beta| Recipe export | Maple Valley USD | gk_7f3a···· |
| Register sync | Cedar Creek USD | gk_c91d···· |
Keys, connected districts and your team, in one place.
# Send your key as a bearer token on every request curl <base URL>/v1/<resource> \ -H "Authorization: Bearer $GAIA_KEY" # Response { "data": [ ... ] }
The base URL and the full API docs sit in the partner portal, beside your keys.
One key reaches one district and nothing else.
Invite colleagues to your partner account.
One API for every partner, no one-off builds.
One key, one district
Get a partner login
Partner logins are separate from district logins. Ask us and we will set you up.
Create a key
In the partner portal, create a key for each connected district. A key is shown once, so store it safely.
Call the API
Send your key as a bearer token on every request to the base URL shown in the portal.
Read the docs
The API docs are linked from the portal, next to your keys and connected districts.
Connect the tools school nutrition teams already use
Recipes and items
Recipes, ingredients, nutrition and reference codes, shared one way into a labeling or planning tool.
Register and roster
Point of sale partners work with student rosters and deposits for the districts they serve.
Your own integration
Tell us what you are building. We will say plainly whether the API covers it today.
The API is in beta and is growing with its first partners. We do not build one-off integrations for each partner, so what the API offers is the same for everyone.
Student and district data stays protected
Partners connect where districts already work
The API exists so a district's data does not have to be typed into a second system.
Partners
School districts
From request to first call
The API is in beta with a small group of partners. Here is how a new partner gets started.
Request access
Tell us what you are building and which districts you work with.
Partner portal
You get a partner portal account for your keys and your connected districts.
A district connects
A district connects to you, and you create a key for it.
First call
Read recipes or items, or post a deposit, for that district.
What partners ask
Something else? Talk to the team.
Is the API generally available?
Can one key reach several districts?
Can we process card payments through Gaia?
Where is the documentation?
Have something to connect?
Tell us what you are building. Souha and the Gaia team will tell you plainly whether the API fits it today.