API

SpaceStatic API

SpaceStatic 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 live account data shown across SpaceStatic, including Vitals and service requests.

Copy-ready prompt

Drop this into your assistant, paste the API key shown in Vitals, and start with auth verification.

Quick start

  1. 1. Open Vitals and copy your API key from the API card in your dashboard.
  2. 2. Send requests to https://www.spacestatic.com with Authorization: Bearer demo-value.
  3. 3. Start with /api/v1/agent/me, then move to /today or a structured write route.
curl -H "Authorization: Bearer demo-value" https://www.spacestatic.com/api/v1/agent/me
curl -H "Authorization: Bearer demo-value" https://www.spacestatic.com/api/v1/agent/today

What it is for

  • - Agent-ready meal logging and day summaries
  • - Weight, check-in, supplement, recipe, and service connectivity
  • - Batch assistant workflows through /api/v1/agent/ingest
  • - One API surface across SpaceStatic

Endpoints

GET

/api/v1/agent/me

Check auth, resolve the connected user, and confirm agent access is working.

GET

/api/v1/agent/today

Load one compact overview across nutrition, weight, check-ins, supplements, recipes, and service tickets.

GET / POST

/api/v1/agent/nutrition

Read a day of nutrition entries and goals, or log structured meal entries through the agent surface.

GET / POST

/api/v1/agent/weight

Read weight history and goals, or log a weight update for a specific date.

GET / POST

/api/v1/agent/checkins

Read today or history, or save a structured daily check-in for mood, energy, sleep, and notes.

GET / POST

/api/v1/agent/supplements

Read the current supplement day view, create stack items, and mark or toggle what was taken.

GET / POST

/api/v1/agent/recipes

List saved recipes or create and update recipe records through the API.

GET / POST

/api/v1/agent/support

Read service tickets or create a new request from an assistant or automation.

POST

/api/v1/agent/ingest

Send a bundle of agent actions in one call for structured multi-step updates.

Example nutrition write

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
    }
  }'

Example batch ingest

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."
      }
    ]
  }'
API Docs for AI Agents & Automations | SpaceStatic