xPlant REST API · v1
Connect your lab to xPlant.
Read and write plants, tasks, transfers, SOP runs, labels and sensor data from your own scripts, bench stations and devices. One key, the scopes you choose, and a response shape that never surprises you.
Your first call
curl https://app.xplantpro.com/api/v1/me \
-H "Authorization: Bearer $XPLANT_API_KEY"{
"ok": true,
"data": {
"key": {
"name": "Grow room bridge",
"prefix": "xpk_live_abcd"
},
"scopes": ["read:plants", "read:tasks"],
"workspace": { "id": "…" }
}
}Start here
- QuickstartCreate a key and make your first call in five minutes.
- API referenceEvery endpoint, with its scope, parameters, responses and errors.
- GuidesSync tasks, record transfers, run SOPs from a bench, stream sensor data.
- ScopesAll 34 scopes and the endpoints each one unlocks.
- Device tokensPut an xpd_ token on the Pi, never a workspace key.
- Use with AI toolsEvery page as Markdown, plus llms.txt and llms-full.txt.
Working with an AI assistant?
Point it at https://docs.xplantpro.com/llms-full.txt for the whole API on one page, or use “Copy page as Markdown” on any page.