---
title: "Create a private user-owned operator thread without binding its lifetime or authority to a project. Project access is selected per tool call and checked against the user's current role and memberships."
method: POST
path: "/ai/conversations"
tags: ["AI Chat"]
---

# Create a private user-owned operator thread without binding its lifetime or authority to a project. Project access is selected per tool call and checked against the user's current role and memberships.

`POST /ai/conversations`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/ai/conversations`
- Auth: HTTP bearer

## Request body

- CreateGlobalConversationRequest
  - `ai_model` string, nullable
  - `ai_permission_mode` string, nullable
  - `ai_provider` string, nullable: A registered development harness. Global operator chats run inside a persistent Temps-managed sandbox rather than on the host filesystem.
  - `ai_thinking_level` string, nullable
  - `kind` string, nullable: `ai` (default) or `terminal`. A terminal thread has no harness, model or turns.

## Response `201`

- ConversationResponse
  - `active_turn_id` string, nullable
  - `ai_model` string, required
  - `ai_permission_mode` string, required
  - `ai_provider` string, required
  - `ai_thinking_level` string, nullable
  - `application_id` integer, nullable
  - `context_id` string, required
  - `context_type` string, required
  - `context_usage` ContextWindowUsageResponse, nullable
    - `estimated` boolean, required
    - `limit_tokens` integer, nullable
    - `model` string, nullable
    - `source` string, required
    - `updated_at` string, required
    - `used_tokens` integer, required
  - `created_at` string, required
  - `failure` ChatFailureResponse, nullable
    - `code` string, required
    - `detail` string, required
    - `retryable` boolean, required
    - `title` string, required
  - `focus_project_id` integer, nullable: The project an assistant chat was started about, if any.
  - `kind` string, required: `ai` (a conversation with an AI harness) or `terminal` (an interactive shell in the workspace sandbox). Fixed at creation.
  - `last_activity_at` string, required
  - `project_id` integer, nullable
  - `public_id` string, required
  - `status` string, required
  - `title` string, nullable
  - `turn_started_at` string, nullable
  - `turn_status` string, required: Server-authoritative lifecycle for the current/most recent turn.

## Other responses

- `400`
- `401`
- `403`
- `409`
- `503`

## Changes

- **2026-10-23** `7d41b820a372`: 1 info
  - added the optional property `focus_project_id` to the response with the `201` status
- **2026-10-23** `24af93ff5379`: 1 warning
  - removed the optional property `focus_project_id` from the response with the `201` status
- **2026-10-22** `842d42ed4659`: 1 info
  - added the optional property `focus_project_id` to the response with the `201` status
- **2026-10-22** `1a12a50b75ee`: 1 warning
  - removed the optional property `focus_project_id` from the response with the `201` status
- **2026-10-21** `79089e9f49ee`: 1 info
  - added the optional property `focus_project_id` to the response with the `201` status

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/ai/conversations/post.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
