Kody Repos API
Repos and repo sessions (edit, check, commit, publish).
Operations 27
GET
/v1/repos/{repo_id}
Load one plain repo in the org this connection is bound to, including live…
#
POST
/v1/repos/git-remote
Mint a short-lived git remote for a plain repo (Kody smart-HTTP proxy in front…
#
POST
/v1/repos/{repo_id}/git-remote
Mint a short-lived git remote for a plain repo (Kody smart-HTTP proxy in front…
#
POST
/v1/repos/{repo_id}/promote
Promote a package-shaped plain repo (root package.json at HEAD) into a saved…
#
GET
/v1/repo-publish-note
Read the Kody publish harness git note attached to a published Artifacts commit
#
GET
/v1/repo-sessions
List repo editing sessions in the org this connection is bound to, defaulting…
#
POST
/v1/repo-sessions
Open or resume an MCP-native repo-backed editing session for a saved source…
#
GET
/v1/repo-sessions/{session_id}
Inspect one repo editing session by id so the model can resume work without…
#
DELETE
/v1/repo-sessions/{session_id}
Discard a repo editing session and delete its tracked workspace state
#
GET
/v1/repo-sessions/{session_id}/log
Return git commit history for the active repo session workspace
#
GET
/v1/repo-sessions/{session_id}/tree
Summarize a repo session subtree so the model can understand file layout before…
#
GET
/v1/repo-sessions/{session_id}/search
Search within a repo session using rg-style lexical matching over the live…
#
POST
/v1/repo-sessions/{session_id}/edits
Apply a batch of file-level edits in an active repo session: write, replace…
#
POST
/v1/repo-sessions/{session_id}/patch
Apply a unified-diff patch to the active repo session workspace
#
POST
/v1/repo-sessions/{session_id}/restore
Restore one or more workspace files to their content at a commit (default: the…
#
POST
/v1/repo-sessions/{session_id}/commits
Stage all session workspace changes and create a git commit with the given…
#
GET
/v1/repo-sessions/{session_id}/checks
Inspect the most recent Worker-native check run metadata for an active repo…
#
POST
/v1/repo-sessions/{session_id}/checks
MCP/tool-only pre-publish validate for an active repo session: manifest, docs…
#
POST
/v1/repo-sessions/{session_id}/rebase
Rebase a repo session against the latest published source state when the base…
#
POST
/v1/repo-sessions/{session_id}/publish
Publish an active repo session back to the source repo after checks pass on the…
#