# REST API: Setup

> The 2 operations of the area Setup, with parameters, bodies and responses.

Source: https://pithyx.org/docs/reference/api/setup/
Markdown: https://pithyx.org/docs/reference/api/setup.md

Generated from the daemon's OpenAPI document. Conventions, sign-in, the CSRF header and the WebSocket are on [API](https://pithyx.org/docs/developers/daemon/api/).

## GET /api/setup

**Responses**

- 200: `application/json`: [SetupStatus](https://pithyx.org/docs/reference/api/schemas/#setupstatus)

Any failure answers with problem details (`application/problem+json`) and a stable code from the [error reference](https://pithyx.org/docs/reference/errors/).

## POST /api/setup

**Request body**: `application/json`: [SetupRequest](https://pithyx.org/docs/reference/api/schemas/#setuprequest)

**Responses**

- 200: `application/json`: [SetupResponse](https://pithyx.org/docs/reference/api/schemas/#setupresponse)

Any failure answers with problem details (`application/problem+json`) and a stable code from the [error reference](https://pithyx.org/docs/reference/errors/).
