---
title: "Mint Viewer"
method: POST
path: "/api/computers/{computer_id}/viewer"
tags: ["computers-dashboard"]
---

# Mint Viewer

`POST /api/computers/{computer_id}/viewer`

## Request

- Base URL: `https://api.maritime.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://api.maritime.sh/api/computers/{computer_id}/viewer`
- Auth: HTTP bearer

## Path parameters

- `computer_id` string, required

## Request body

- ViewerRequest
  - `mode` 'watch' | 'control'
  - `ttlS` integer
  - `reason` string, nullable

## Response `200`

Successful Response

- ViewerOut
  - `url` string, required
  - `expiresAt` string, date-time, required
  - `mode` 'watch' | 'control', required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/maritime/apis/maritime-api.md) - [All operations](https://skmtc.dev/maritime/apis/maritime-api/llms.txt) - [OpenAPI document](https://skmtc.dev/maritime/apis/maritime-api/revisions/acd712090ad6?raw)
