# Setup

> The Setup operations of the Hub REST API (1 operation).

URL: https://docs.synap.live/docs/reference/hub-api/setup · Generated from Synap-core/backend@c31e261ab (main)

Paths are relative to `/api/hub` on a pod.

## POST /setup/agent

Provision a new agent user + API key

Provisioning auth via PROVISIONING_TOKEN — not bearer.

Responses:

- `200`: Success
- `401`: Unauthorized
- `403`: Forbidden — missing scope
- `500`: Internal error
