# Whether the voice bootstrap is on, and its requests and reads

`GET` `/api/v1/workspaces/{workspace}/voice/bootstrap`

`listVoiceBootstraps`

The bootstrap reads the owner's own recent original X posts (no replies or reposts) once, so the owner's agent can learn their voice before Flaghand has published anything. It is off until Flaghand turns it on (not_supported until then), and with credits on it spends the workspace's credits: estimateAutomation x_voice_bootstrap gives the most it can spend, and asking when that doesn't fit the credits or the automation's budget is refused (out_of_credits, credit_budget_reached) before anything is read. Free alternatives are listVoiceSourcePosts and the CLI's voice archive. It never runs by itself: an agent may request it, and it runs only when the owner starts it in the desk or confirms the agent's request there. A later bootstrap of the same account reads only newer posts. The posts appear in listVoiceSourcePosts (origin x_timeline) while their text is current; text is kept only as long as the switch's retention says unless a lesson cites or quotes the post, is rechecked against X, and goes with every lesson citing or quoting it when the post is deleted on X; an edited post is replaced by its newest version, and lessons tied to the old version go. Flaghand makes no model call. It shapes wording only and never approves, schedules or posts. Who can call it: An API token with the "read" scope, or a member of this workspace, signed in.

**Scopes:** `read`

**Parameters**

| Name | In | Required | Type and constraints | Description / example |
| --- | --- | --- | --- | --- |
| `workspace` | path | Yes | `string`; pattern: `"^ws_[a-z0-9]{16}$"` |  Example: `"ws_aaaaaaaaaaaaaaaa"` |

**Request example**

```http
GET https://app.flaghand.com/api/v1/workspaces/ws_aaaaaaaaaaaaaaaa/voice/bootstrap
Authorization: Bearer tok_<your workspace token>
```

**Response example**

```json
{
  "enabled": false,
  "message": "Reading recent X posts to start the voice profile is not turned on. Use stored posts or the local X archive.",
  "settings": {
    "posts": 200,
    "max_credits": null,
    "estimated_usd": 1,
    "retention_ms": null,
    "recheck_interval_ms": null
  },
  "bootstraps": []
}
```

Success: HTTP 200. Content-Type: application/json.

**Errors:** `invalid_request` (400), `internal` (500), `unauthorized` (401), `invalid_token` (401), `session_expired` (401), `bad_origin` (403), `scope_missing` (403), `not_found` (404). See the [error codes](https://app.flaghand.com/docs/errors.md) for meanings and the shared default error response. Other domain errors from that catalog may apply; the response's code and message are authoritative.

**CLI:** `flaghand voice list-bootstraps`

```sh
flaghand voice list-bootstraps --workspace ws_aaaaaaaaaaaaaaaa --json
```

**MCP tool:** `listVoiceBootstraps` (also reachable through `callReadOperation`; use `getOperation` to load its full schema).

```json
{
  "name": "callReadOperation",
  "arguments": {
    "operation_id": "listVoiceBootstraps",
    "arguments": {
      "workspace": "ws_aaaaaaaaaaaaaaaa"
    }
  }
}
```

Base URL: `https://app.flaghand.com/api/v1`. Part of the [API reference](https://app.flaghand.com/docs/api.md); every error code is in [errors](https://app.flaghand.com/docs/errors.md).
