context-agent

Get Chat Diff

Get diff between main and session branches for this chat.

Returns file changes, old/new content, and git diffs for review.

Returns: { "has_changes": bool, "files": [ { "path": str, "old_content": str, "new_content": str, "diff": str, "status": str } ] }

get/api/context-agent/chats/{chat_id}/diff

Request

  • Base URL: https://app.getdot.ai (the document declares no server; this is the origin it was published from)
  • URL: https://app.getdot.ai/api/context-agent/chats/{chat_id}/diff
  • Auth: one of:
    • API key in header X-API-KEY
    • API key in cookie Authorization
    • OAuth 2 (password, token URL /api/auth/token)

Path parameters

chat_idstring required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.