AI Chat

Put a folder of the sandbox under Git, so its changes show from now on: a `.gitignore` for dependencies, builds and `.env` files when it has none, then a first commit of what is there. A folder already inside a repository is refused with `409`.

Changed on
post/ai/conversations/{public_id}/sandbox/changes/track

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}/sandbox/changes/track
  • Auth: HTTP bearer

Path parameters

public_idstring required

Conversation public id

Request body

pathstring nullable

Absolute, or relative to the work directory; the work directory when omitted.

Response

Tracking started; the changes as they are now

git_availableboolean required

False when the sandbox has no git: nothing can be tracked.

work_dirstring required

Changes