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

# POST /call/PredictAge

`POST /call/PredictAge`

## Request body

- object
  - `name` 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

- FooAny
  - `certainty` object, required
    - `value` integer, required
    - `checks` object, required
      - `unreasonably_certain` Check, required
        - `name` string, required
        - `expr` string, required
        - `status` string
  - `planetary_age` union, required
    - Martian
      - `age` object, required
        - `value` integer, required
        - `checks` object, required
          - `young_enough` Check, required
            - `name` string, required
            - `expr` string, required
            - `status` string
    - Earthling
      - `age` object, required
        - `value` integer, required
        - `checks` object, required
          - `earth_aged` Check, required
            - `name` string, required
            - `expr` string, required
            - `status` string
          - `no_infants` Check, required
            - `name` string, required
            - `expr` string, required
            - `status` string
  - `species` object, required
    - `value` string, required
    - `checks` object, required
      - `regex_bad` Check, required
        - `name` string, required
        - `expr` string, required
        - `status` string
      - `regex_good` Check, required
        - `name` string, required
        - `expr` string, required
        - `status` string
      - `trivial` Check, required
        - `name` string, required
        - `expr` string, required
        - `status` string

## Changes

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

- **2025-03-11** `e28c8736c70e` — 21 breaking, 7 warning, 2 info
  - the `certainty/checks/unreasonably_certain` response's property type/format changed from `object`/`` to ``/`` for status `200`
  - the `planetary_age/oneOf[#/components/schemas/Earthling]/age/checks/earth_aged` response's property type/format changed from `object`/`` to ``/`` for status `200`
  - the `planetary_age/oneOf[#/components/schemas/Earthling]/age/checks/no_infants` response's property type/format changed from `object`/`` to ``/`` for status `200`
  - the `planetary_age/oneOf[#/components/schemas/Martian]/age/checks/young_enough` response's property type/format changed from `object`/`` to ``/`` for status `200`
  - …26 more

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