---
title: "POST /api/kernel/set_ui_element_value"
method: POST
path: "/api/kernel/set_ui_element_value"
---

# POST /api/kernel/set_ui_element_value

`POST /api/kernel/set_ui_element_value`

## Headers

- `Marimo-Session-Id` string, required

## Request body

- UpdateUIElementValuesRequest
  - `objectIds` UIElementId[], required
  - `values` unknown[], required
    - unknown

## Response `200`

Set UI element values

- SuccessResponse
  - `success` boolean

## Changes

> 60 revisions in range; 3 could not be searched.

- **2026-03-31** `41bba414df27` — 1 breaking
  - the `objectIds/items/` request property type/format changed from `string`/`` to `string`/`ui-element-id`
- **2026-03-18** `f29fa637d35b` — 1 info
  - the `objectIds/items/` request property type/format was generalized from `string`/`ui-element-id` to `string`/``

[Change history](https://skmtc.dev/marimo-team/apis/marimo-api/changes/api/kernel/set_ui_element_value/post.md)

---

[API](https://skmtc.dev/marimo-team/apis/marimo-api.md) · [All operations](https://skmtc.dev/marimo-team/apis/marimo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/marimo-team/marimo-api/revisions/a39082aac3ce/schema)
