---
title: "Open models dialog"
method: POST
path: "/tui/open-models"
---

# Open models dialog

`POST /tui/open-models`

Open the model dialog

## Query parameters

- `directory` string
- `workspace` string

## Response `200`

Model dialog opened successfully

- boolean

## Changes

- **2026-04-25** `0a2d50cb4204` — 1 info
  - added the new optional `query` request parameter `workspace`

[Change history](https://skmtc.dev/kaaass/apis/opencode/changes/tui/open-models/post.md)

---

[API](https://skmtc.dev/kaaass/apis/opencode.md) · [All operations](https://skmtc.dev/kaaass/apis/opencode/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kaaass/opencode/revisions/8bb9a15bd144/schema)
