AI Chat
Both sides of one changed file: as last committed, and as it is now.
Changed onget/ai/conversations/{public_id}/sandbox/changes/diff
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/diff
- Auth: HTTP bearer
Path parameters
public_idstring required
Conversation public id
Query parameters
repostring required
The repository root, absolute or relative to the work directory.
pathstring required
The file, relative to the repository root.
old_pathstring nullable
The path before a rename, relative to the repository root.
Response
Both sides of the diff
Changes
- info
endpoint added
- info