cURL
curl --request GET \ --url https://app.all-hands.dev/api/conversations/{conversation_id}/git/diff \ --header 'Authorization: Bearer <token>'
"<string>"
Get git diff for a specific file
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Conversation ID
Path of the file to get diff for
Git diff
The response is of type string.
string
Was this page helpful?