---
title: "Show TUI toast"
method: POST
path: "/tui/show-toast"
---

# Show TUI toast

`POST /tui/show-toast`

Show a toast notification in the TUI

## Query parameters

- `directory` string
- `workspace` string

## Request body

- object
  - `title` string
  - `message` string, required
  - `variant` 'info' | 'success' | 'warning' | 'error', required
  - `duration` number — Duration in milliseconds

## Response `200`

Toast notification shown successfully

- boolean

---

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