---
title: "POST /call/TestMemory"
method: POST
path: "/call/TestMemory"
---

# POST /call/TestMemory

`POST /call/TestMemory`

## Request body

- object
  - `input` string, required
  - `__baml_options__` BamlOptions
    - `client_registry` ClientRegistry, required — unresolved $ref

## Response `200`

Successful operation

- TestMemoryOutput
  - `items` union[], required
    - union
      - MemoryObject
        - `description` string, required
        - `id` string, required
        - `name` string, required
      - ComplexMemoryObject
        - `description` string, required
        - `id` string, required
        - `metadata` union[], required
          - union
            - string
            - integer
            - number
        - `name` string, required
      - AnotherObject
        - `id` string, required
        - `thingy2` string, required
        - `thingy3` string, required
  - `more_items` union[], required
    - union
      - MemoryObject
        - `description` string, required
        - `id` string, required
        - `name` string, required
      - ComplexMemoryObject
        - `description` string, required
        - `id` string, required
        - `metadata` union[], required
          - union
            - string
            - integer
            - number
        - `name` string, required
      - AnotherObject
        - `id` string, required
        - `thingy2` string, required
        - `thingy3` string, required

## Changes

- **2025-06-19** `a0c7a2bb989d` — 2 breaking, 2 warning
  - the request property `__baml_options__/client_registry` became required
  - the `__baml_options__/client_registry` request property type/format changed from `object`/`` to ``/``
  - removed the request property `__baml_options__/client_registry/clients`
  - removed the request property `__baml_options__/client_registry/primary`
- **2025-03-11** `e28c8736c70e` — 2 info
  - added the new optional request property `__baml_options__/client_registry/clients/items/retry_policy`
  - the request property `__baml_options__/client_registry` became optional

[Change history](https://skmtc.dev/boundaryml/apis/baml-cli-serve/changes/call/TestMemory/post.md)

---

[API](https://skmtc.dev/boundaryml/apis/baml-cli-serve.md) · [All operations](https://skmtc.dev/boundaryml/apis/baml-cli-serve/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/boundaryml/baml-cli-serve/revisions/a0c7a2bb989d/schema)
