---
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` object, required
      - `clients` ClientProperty[], required
        - `name` string, required
        - `provider` string, required
        - `options` object, required
      - `primary` string

## 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

> 52 revisions in range; 47 could not be searched.

- **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/3f3e2166cbf3/schema)
