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

# POST /call/ReturnMalformedConstraints

`POST /call/ReturnMalformedConstraints`

## Request body

- object
  - `a` integer, 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

- MalformedConstraints
  - `foo` object, required
    - `value` integer, required
    - `checks` object, required
      - `foo_check` Check, required
        - `name` string, required
        - `expr` string, required
        - `status` string

## Changes

- **2025-09-08** `99302493e325` — 1 breaking, 3 warning, 1 info
  - added the new required request property `__baml_options__/client_registry/clients`
  - removed the request property `__baml_options__/client_registry/name`
  - removed the request property `__baml_options__/client_registry/options`
  - removed the request property `__baml_options__/client_registry/provider`
  - …1 more
- **2025-07-18** `a03327cea083` — 4 breaking
  - added the new required request property `__baml_options__/client_registry/name`
  - added the new required request property `__baml_options__/client_registry/options`
  - added the new required request property `__baml_options__/client_registry/provider`
  - the `__baml_options__/client_registry` request property type/format changed from ``/`` to `object`/``
- **2025-06-19** `a0c7a2bb989d` — 3 breaking, 2 warning, 3 info
  - the request property `__baml_options__/client_registry` became required
  - the `__baml_options__/client_registry` request property type/format changed from `object`/`` to ``/``
  - the `foo/checks/foo_check` response's property type/format changed from ``/`` to `object`/`` for status `200`
  - removed the request property `__baml_options__/client_registry/clients`
  - …4 more
- …earlier changes not shown

[Full history](https://skmtc.dev/boundaryml/apis/baml-cli-serve/changes/call/ReturnMalformedConstraints/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)
