---
title: "POST /api/workers/bootstrap"
method: POST
path: "/api/workers/bootstrap"
tags: ["Ai.Tlbx.MidTerm.OpenApi"]
---

# POST /api/workers/bootstrap

`POST /api/workers/bootstrap`

## Request body

- WorkerBootstrapRequest
  - `name` string, nullable
  - `shell` string, nullable
  - `workingDirectory` string, nullable
  - `resumeThreadId` string, nullable
  - `cols` integer, required
  - `rows` integer, required
  - `agentControlled` boolean, required
  - `injectGuidance` boolean, required
  - `profile` string, nullable
  - `appServerControlOnly` boolean, required
  - `launchCommand` string, nullable
  - `spaceId` string, nullable
  - `workspacePath` string, nullable
  - `surface` string, nullable
  - `launchDelayMs` integer, required
  - `slashCommands` string[], required
  - `slashCommandDelayMs` integer, required

## Response `200`

OK

- WorkerBootstrapResponse
  - `session` SessionInfoDto, required
    - `id` string, required
    - `pid` integer, required
    - `createdAt` string, date-time, required
    - `isRunning` boolean, required
    - `exitCode` integer, nullable, required
    - `cols` integer, required
    - `rows` integer, required
    - `shellType` string, required
    - `name` string, nullable, required
    - `terminalTitle` string, nullable, required
    - `topic` string, nullable, required
    - `notes` string, nullable, required
    - `manuallyNamed` boolean, required
    - `currentDirectory` string, nullable, required
    - `foregroundPid` integer, nullable, required
    - `foregroundName` string, nullable, required
    - `foregroundCommandLine` string, nullable, required
    - `foregroundDisplayName` string, nullable, required
    - `foregroundProcessIdentity` string, nullable, required
    - `agentAttachPoint` SessionAgentAttachPoint, required
      - `provider` string, required
      - `transportKind` string, required
      - `endpoint` string, required
      - `sharedRuntime` boolean, required
      - `source` string, required
      - `preferredThreadId` string, nullable, required
    - `order` integer, required
    - `parentSessionId` string, nullable, required
    - `bookmarkId` string, nullable, required
    - `spaceId` string, nullable, required
    - `workspacePath` string, nullable, required
    - `surface` string, nullable, required
    - `isAdHoc` boolean, required
    - `agentControlled` boolean, required
    - `appServerControlOnly` boolean, required
    - `profileHint` string, nullable, required
    - `appServerControlResumeThreadId` string, nullable, required
    - `hasAppServerControlHistory` boolean, required
    - `supervisor` SessionSupervisorInfoDto, required
      - `state` string, required
      - `profile` string, required
      - `needsAttention` boolean, required
      - `attentionReason` string, nullable, required
      - `attentionScore` integer, required
      - `lastInputAt` string, date-time, nullable, required
      - `lastOutputAt` string, date-time, nullable, required
      - `lastBellAt` string, date-time, nullable, required
      - `currentHeat` number, double, required
  - `profile` string, required
  - `launchCommand` string, nullable, required
  - `slashCommands` string[], required
  - `guidanceInjected` boolean, required
  - `tlbxDir` string, nullable, required

## Changes

- **2026-07-20** `fd8685a14dc8` — 1 breaking, 1 info
  - removed the required property `midtermDir` from the response with the `200` status
  - added the required property `tlbxDir` to the response with the `200` status
- **2026-05-13** `f43ccea8bcc5` — 1 info
  - added the required property `session/topic` to the response with the `200` status
- **2026-05-10** `ec6725586e43` — 4 breaking, 1 warning, 3 info
  - added the new required request property `appServerControlOnly`
  - removed the required property `session/hasLensHistory` from the response with the `200` status
  - removed the required property `session/lensOnly` from the response with the `200` status
  - removed the required property `session/lensResumeThreadId` from the response with the `200` status
  - …4 more
- **2026-05-06** `885b13067692` — 1 info
  - added the required property `session/notes` to the response with the `200` status
- **2026-04-25** `87834ab1254b` — 1 breaking
  - removed the required property `session/notes` from the response with the `200` status

[Full history](https://skmtc.dev/tlbx-ai/apis/tlbx-api/changes/api/workers/bootstrap/post.md)

---

[API](https://skmtc.dev/tlbx-ai/apis/tlbx-api.md) · [All operations](https://skmtc.dev/tlbx-ai/apis/tlbx-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tlbx-ai/tlbx-api/revisions/04072327b4e0/schema)
