# Overview

Canonical URL: https://developers.iagenify.com/de/sdk/ref/compute-terminal/
Language: de

A live terminal session returned by `api.compute.terminals.create()`, `list()` and `get()`.

Status: serialized state · incremental output

| Method | Description |
| --- | --- |
| [run(line)](/de/sdk/ref/compute-terminal/run) | Send a line to an idle terminal. |
| [output(options)](/de/sdk/ref/compute-terminal/output) | Read output after a cursor and refresh state. |
| [preview()](/de/sdk/ref/compute-terminal/preview) | Get the current preview URL, if a port is published. |
| [interrupt()](/de/sdk/ref/compute-terminal/interrupt) | Interrupt the running command while keeping the terminal. |
| [kill()](/de/sdk/ref/compute-terminal/kill) | Stop and close the terminal. |

The instance also exposes `id`, `name`, `command`, `storageId`, `cwd`, `status`, `busy`, `exitCode`, `by`, `startedAt`, `port` and `url`. `toJSON()` returns the serializable public state without the client.
