GET
/api/v1/agent/me
Check auth, resolve the connected user, and confirm agent access is working.
Vitals API
Vitals now exposes an authenticated API for AI agents, automations, and assistant-driven logging. Use your API key, send an Authorization: Bearer demo-value header, and work against the same Vitals data that powers the dashboard.
Copy-ready prompt
Drop this into your assistant, swap in your API key, and start with auth verification.
Authorization: Bearer demo-value.curl -H "Authorization: Bearer demo-value" https://www.spacestatic.com/api/v1/agent/mecurl -H "Authorization: Bearer demo-value" https://www.spacestatic.com/api/v1/agent/todayGET
Check auth, resolve the connected user, and confirm agent access is working.
GET
Load one compact overview across nutrition, weight, check-ins, supplements, recipes, and service tickets.
GET / POST
Read a day of nutrition entries and goals, or log structured meal entries through the agent surface.
GET / POST
Read weight history and goals, or log a weight update for a specific date.
GET / POST
Read today or history, or save a structured daily check-in for mood, energy, sleep, and notes.
GET / POST
Read the current supplement day view, create stack items, and mark or toggle what was taken.
GET / POST
List saved recipes or create and update recipe records through the API.
GET / POST
Read service tickets or create a new request from an assistant or automation.
POST
Send a bundle of agent actions in one call for structured multi-step updates.
curl -X POST -H "Authorization: Bearer demo-value" -H "Content-Type: application/json" https://www.spacestatic.com/api/v1/agent/nutrition -d '{
"action": "add_entry",
"date": "2026-04-19",
"entry": {
"food": "Turkey sandwich and chips",
"calories": 680,
"protein": 32,
"carbs": 66,
"fat": 28
}
}'curl -X POST -H "Authorization: Bearer demo-value" -H "Content-Type: application/json" https://www.spacestatic.com/api/v1/agent/ingest -d '{
"actions": [
{
"type": "nutrition.add_entry",
"date": "2026-04-19",
"entry": {
"food": "Protein shake",
"calories": 240,
"protein": 30,
"carbs": 12,
"fat": 7
}
},
{
"type": "checkin.upsert",
"date": "2026-04-19",
"mood": 4,
"energy": 3,
"sleepQuality": 4,
"notes": "Felt steady after lunch."
}
]
}'