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.

Changed on
post/ai/conversations

Request

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

Request body

ai_modelstring nullable
ai_permission_modestring nullable
ai_providerstring nullable

A registered development harness. Global operator chats run inside a persistent Temps-managed sandbox rather than on the host filesystem.

ai_thinking_levelstring nullable
kindstring nullable

ai (default) or terminal. A terminal thread has no harness, model or turns.

Response

active_turn_idstring nullable
ai_modelstring required
ai_permission_modestring required
ai_providerstring required
ai_thinking_levelstring nullable
application_idinteger nullable
context_idstring required
context_typestring required
created_atstring required
focus_project_idinteger nullable

The project an assistant chat was started about, if any.

kindstring required

ai (a conversation with an AI harness) or terminal (an interactive shell in the workspace sandbox). Fixed at creation.

last_activity_atstring required
project_idinteger nullable
public_idstring required
statusstring required
titlestring nullable
turn_started_atstring nullable
turn_statusstring required

Server-authoritative lifecycle for the current/most recent turn.

Changes