Skip to main content
POST
Start first-run setup

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Organization identifier

Body

application/json
mode
enum<string>
required
Available options:
local_agent,
web_agent
preferredAi
string
setupAgentMemberId
string

Optional existing active setup-scoped agent for backward-compatible local setup.

Response

Setup session created; new-agent local responses without setupAgentMemberId also contain the one-time apiKey

The response is of type object.