---
title: "Get Type context (guidance + recent capsules) for AI assistants"
method: GET
path: "/api/preview/capsules/context"
tags: ["capsule"]
---

# Get Type context (guidance + recent capsules) for AI assistants

`GET /api/preview/capsules/context`

## Response `200`

Successful response

- object
  - `capsules` object[], required
    - `content_md` string, nullable
    - `created_at` string
    - `id` string, required — UUID v4 string
    - `is_encrypted` boolean
    - `is_stale` boolean
    - `log` object
      - `append_via` string, required
      - `bound_type` object, required
        - `id` string, required — UUID v4 string
        - `name` string, required
        - `slug` string, required
      - `owned_log_ref` string, nullable, required
      - `role` 'owner' | 'log', required
    - `ref_id` integer — Numeric capsule ref id.
    - `title` string
    - `type_id` string — UUID v4 string
    - `type_name` string
    - `type_slug` string
    - `updated_at` string
  - `guidance_references` object[]
    - `available` boolean, required
    - `capsule_id` string, nullable, required — UUID v4 string
    - `content` object
      - `bindings` object
      - `fields` object
      - `format` 'markdown' | 'composed' | 'structured' | 'log', required
      - `source` string
      - `summary` string, nullable
      - `text` string
    - `content_md` string, nullable, required
    - `reason` 'ok' | 'empty' | 'unresolved' | 'encrypted' | 'over_cap', required
    - `ref` string, required
    - `title` string, nullable, required
  - `guidance_token` string, nullable, required
  - `guidance_token_status` 'ok' | 'not_required' | 'unavailable', required
  - `hasMore` boolean
  - `nextCursor` string, nullable
  - `total` integer, nullable, required
  - `type` object, required

---

[API](https://skmtc.net/symbol/apis/symbol-api.md) · [All operations](https://skmtc.net/symbol/apis/symbol-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/symbol/symbol-api/revisions/c690ac22ae04/schema)
