---
title: "Read the floor's ambient context"
method: GET
path: "/api/context"
tags: ["context"]
---

# Read the floor's ambient context

`GET /api/context`

## Request

- Base URL: `https://www.immersivecommons.com`
- URL: `https://www.immersivecommons.com/api/context`
- Auth: one of:
  - API key in cookie `__session`
  - HTTP bearer

Clerk session or agt_ token with `context:read`. Local time, daypart, sun and live weather for the tower. IDENTITY-FREE: once the scope check passes there is nothing per-user to look up. REST twin of the MCP tool `ic_context_get`.

## Response `200`

The ambient context.

- ContextResponse: Ambient context for the tower. Identity-free — nothing here is per-caller.
  - `ok` boolean, required
  - `local_time` string, date-time
  - `daypart` string
  - `weather` object
  - `via` 'clerk' | 'agent'

## Other responses

- `401`: No auth.
- `403`: Scope not authorized.

---

[API](https://skmtc.dev/immersivecommons/apis/immersive-commons-agent-rest-api.md) · [All operations](https://skmtc.dev/immersivecommons/apis/immersive-commons-agent-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/immersivecommons/apis/immersive-commons-agent-rest-api/revisions/be67c1f67c27?raw)
