AI Chat

Put this chat in a workspace, creating it when asked. The chats of a workspace share its sandbox, projects and architecture blueprint.

Changed on
put/ai/conversations/{public_id}/workspace

Request

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

Path parameters

public_idstring required

Conversation public id

Request body

application_idstring nullable
keep_sandbox'workspace' | 'chat'

Which sandbox the chats keep when a chat with a sandbox of its own joins a workspace that already has one.

Response

The chat's workspace

joinableboolean required

Whether this chat can be put in a workspace. Chats about one project cannot: the project is their scope.

reasonstring nullable

Why the chat cannot be in a workspace, when joinable is false.

Changes