# Kody Repos API

**Canonical:** https://apis.io/apis/kody-codes/kody-codes-repos-api/  
**Provider:** Kody — https://apis.io/providers/kody-codes/  
**Base URL:** https://api.kody.codes  
**Documentation:** https://api-docs.kody.codes

Kody Repos API is one of 21 APIs that [Kody](https://apis.io/providers/kody-codes/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Repos. The published artifact set on APIs.io includes an OpenAPI specification.

Repos and repo sessions (edit, check, commit, publish).

## Operations (27)

| Method | Path | Summary |
|---|---|---|
| GET | `/v1/repos` | List plain repos owned by the org this connection is bound to, from D1… |
| POST | `/v1/repos` | Create a plain Artifacts-backed repo in the org this connection is bound to |
| GET | `/v1/repos/{repo_id}` | Load one plain repo in the org this connection is bound to, including live… |
| PATCH | `/v1/repos/{repo_id}` | Update mutable settings for a plain repo |
| DELETE | `/v1/repos/{repo_id}` | Delete a plain repo in the org this connection is bound to |
| 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}/status` | Return git status for the active repo session workspace |
| GET | `/v1/repo-sessions/{session_id}/diff` | Return git diff for the active repo session workspace |
| 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}/file` | Read a file from the active repo session workspace |
| 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… |

## Machine-readable artifacts (1)

- **OpenAPI** — https://artifacts.apis.io/kody-codes/openapi/kody-codes-repos-api-openapi.yml

## Other Kody APIs (12)

- [Kody Account API](https://apis.io/apis/kody-codes/kody-codes-account-api/)
- [Kody Capability Proxy API](https://apis.io/apis/kody-codes/kody-codes-capability-proxy-api/)
- [Kody Community API](https://apis.io/apis/kody-codes/kody-codes-community-api/)
- [Kody Email API](https://apis.io/apis/kody-codes/kody-codes-email-api/)
- [Kody Execute API](https://apis.io/apis/kody-codes/kody-codes-execute-api/)
- [Kody Execution Contexts API](https://apis.io/apis/kody-codes/kody-codes-execution-contexts-api/)
- [Kody Files API](https://apis.io/apis/kody-codes/kody-codes-files-api/)
- [Kody Follows API](https://apis.io/apis/kody-codes/kody-codes-follows-api/)
- [Kody Integrations API](https://apis.io/apis/kody-codes/kody-codes-integrations-api/)
- [Kody Jobs API](https://apis.io/apis/kody-codes/kody-codes-jobs-api/)
- [Kody MCP Servers API](https://apis.io/apis/kody-codes/kody-codes-mcp-servers-api/)
- [Kody Memories API](https://apis.io/apis/kody-codes/kody-codes-memories-api/)

## Tags

Repos

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/kody-codes` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/kody-codes/kody-codes-repos-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/kody-codes/.
