---
title: "Compiled wake bundle"
method: GET
path: "/api/v1/context"
---

# Compiled wake bundle

`GET /api/v1/context`

## Request

- Base URL: `https://ctxstore.ai`
- URL: `https://ctxstore.ai/api/v1/context`
- Auth: HTTP bearer

The same compiled memory an MCP session receives with its first tool result: status line, SINCE YOU LEFT, baton, L0-L3 layers and recent writes for this account. For headless agents that wake over REST.

## Query parameters

- `agent_id` string
- `max_bytes` integer

## Response `200`

Compiled bundle

- object
  - `agent_id` string
  - `max_bytes` integer
  - `bytes` integer
  - `bundle` string

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/ctxstore/apis/ctxstore-ai.md) · [All operations](https://skmtc.dev/ctxstore/apis/ctxstore-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/ctxstore/apis/ctxstore-ai/revisions/0581ff18c0f4?raw)
