Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
// This file is auto-generated by @hey-api/openapi-ts
import { oc } from '@orpc/contract'
import * as z from 'zod'
import { zGetSetupResponse, zPostSetupBody, zPostSetupResponse } from './zod.gen.ts'
/**
* Get system setup status.
*
* NOTE: This endpoint is unauthenticated by design.
*
* During first-time bootstrap there is no admin account yet, so frontend initialization must be
* able to query setup progress before any login flow exists.
*
* Only bootstrap-safe status information should be returned by this endpoint.
*
*/
export const get = oc
.route({
inputStructure: 'detailed',
method: 'GET',
operationId: 'getSetup',
path: '/setup',
summary:
'Get system setup status.\n\nNOTE: This endpoint is unauthenticated by design.\n\nDuring first-time bootstrap there is no admin account yet, so frontend initialization must be\nable to query setup progress before any login flow exists.\n\nOnly bootstrap-safe status information should be returned by this endpoint.\n',
tags: ['console'],
})
.output(zGetSetupResponse)
/**
* Initialize system setup with admin account.
*
* NOTE: This endpoint is unauthenticated by design for first-time bootstrap.
* Access is restricted to self-hosted editions (`COMMUNITY` and `ENTERPRISE`), one-time setup guards,
* and init-password validation rather than user session authentication.
*
*/
export const post = oc
.route({
inputStructure: 'detailed',
method: 'POST',
operationId: 'postSetup',
path: '/setup',
successStatus: 201,
summary:
'Initialize system setup with admin account.\n\nNOTE: This endpoint is unauthenticated by design for first-time bootstrap.\nAccess is restricted to self-hosted editions (`COMMUNITY` and `ENTERPRISE`), one-time setup guards,\nand init-password validation rather than user session authentication.\n',
tags: ['console'],
})
.input(z.object({ body: zPostSetupBody }))
.output(zPostSetupResponse)
export const setup = {
get,
post,
}
export const contract = {
setup,
}