Skip to main content
OpenHands Docs home page
Search...
⌘K
OpenHands/OpenHands
OpenHands/OpenHands
Search...
Navigation
Git
Git Diff
Overview
Web
CLI
SDK
Company
Blog
OpenHands Cloud
Software Agent SDK
Getting Started
Guides
Hello World
Custom Tools
Model Context Protocol
Agent Skills & Context
Persistence
Context Condenser
Sub-Agent Delegation
Security & Action Confirmation
Metrics Tracking
Observability & Tracing
Secret Registry
LLM Features
Agent Features
Conversation Features
Remote Agent Server
Overview
Local Agent Server
Docker Sandbox
API-based Sandbox
API Reference
Server Details
Events
Conversations
Tools
Bash
Git
GET
Git Changes
GET
Git Diff
Files
VSCode
Desktop
API Reference
GitHub Workflows
Architecture
Overview
Design Principles
SDK Components
API Reference
openhands.sdk.agent
openhands.sdk.conversation
openhands.sdk.event
openhands.sdk.llm
openhands.sdk.security
openhands.sdk.tool
openhands.sdk.utils
openhands.sdk.workspace
200
422
Copy
Ask AI
{
"modified"
:
"<string>"
,
"original"
:
"<string>"
}
Git
Git Diff
Copy page
Copy page
GET
/
api
/
git
/
diff
/
{path}
Try it
200
422
Copy
Ask AI
{
"modified"
:
"<string>"
,
"original"
:
"<string>"
}
Path Parameters
path
string<path>
required
Response
200
application/json
Successful Response
modified
string | null
required
original
string | null
required
Was this page helpful?
Yes
No
Git Changes
Upload File
⌘I