> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hyperspell.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List daily digests for the app

> List recent digests (newest first), summary only. Optionally filter by
cadence via ``?period=daily|weekly``.

Content lives in the per-digest tree (fetch via /tree/by-id/{tree_id}); a
digest row is never served AS the brain. On-demand only — generated via
POST /context-documents/digest. See specs/flows/context-tree-daily-digest.md.



## OpenAPI

````yaml https://app.stainlessapi.com/api/spec/documented/hyperspell.yaml get /context-documents/digest/list
openapi: 3.1.0
info:
  title: Hyperspell API
  summary: >-
    Hyperspell is the memory layer for AI apps and agents. Through the API, you
    can add memories, connect data sources to index them in real-time, and
    search memories with our natural language query engine.
  termsOfService: https://hyperspell.com/blog/tos
  contact:
    name: Hyperspell
    url: https://hyperspell.com/
    email: hello@hyperspell.com
  version: 0.32.1
servers:
  - url: https://api.hyperspell.com
    description: Production
security:
  - APIKey: []
    AsUser: []
paths:
  /context-documents/digest/list:
    get:
      tags:
        - Context Documents
      summary: List daily digests for the app
      description: >-
        List recent digests (newest first), summary only. Optionally filter by

        cadence via ``?period=daily|weekly``.


        Content lives in the per-digest tree (fetch via /tree/by-id/{tree_id});
        a

        digest row is never served AS the brain. On-demand only — generated via

        POST /context-documents/digest. See
        specs/flows/context-tree-daily-digest.md.
      operationId: list_digests_context_documents_digest_list_get
      parameters:
        - name: period
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Period
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            default: 30
            title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DigestListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKey: []
        - AsUser: []
components:
  schemas:
    DigestListResponse:
      properties:
        digests:
          items:
            $ref: '#/components/schemas/DigestSummary'
          type: array
          title: Digests
      type: object
      required:
        - digests
      title: DigestListResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    DigestSummary:
      properties:
        tree_id:
          type: string
          title: Tree Id
        status:
          type: string
          title: Status
        period:
          anyOf:
            - type: string
            - type: 'null'
          title: Period
        window_start:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Window Start
        window_end:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Window End
        created_at:
          type: string
          format: date-time
          title: Created At
        completed_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Completed At
      type: object
      required:
        - tree_id
        - status
        - period
        - window_start
        - window_end
        - created_at
        - completed_at
      title: DigestSummary
      description: One row in the digest list (no file content — fetch via /tree/by-id).
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKey:
      type: http
      description: >-
        API Key or JWT User Token. If using an API Key, set the X-As-User header
        to act as a specific user. A JWT User Token is always scoped to a
        specific user.
      scheme: bearer
      bearerFormat: Bearer <token>
    AsUser:
      type: apiKey
      description: >-
        Optionally set this header to act as a specific user when using an API
        Key, equivalent to first exchanging the API Key for a User Token
      in: header
      name: X-As-User

````