# Kody Files API

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

Kody Files 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 File. The published artifact set on APIs.io includes an OpenAPI specification.

Private workspace files, immutable revisions, and conflict-aware saves.

## Operations (25)

| Method | Path | Summary |
|---|---|---|
| GET | `/v1/files` | List files you can read in this workspace |
| POST | `/v1/files` | Create a private file, up to 64 KiB for text or 16 MiB for binary |
| GET | `/v1/files/{file_id}` | Read a file or an immutable revision |
| PUT | `/v1/files/{file_id}` | Save a new immutable revision, up to 64 KiB for text or 16 MiB for binary |
| DELETE | `/v1/files/{file_id}` | Permanently delete a file and all its revisions |
| POST | `/v1/files/{file_id}/manage` | Rename, move, trash, restore, or set an item’s inherited/restricted access… |
| POST | `/v1/files/{file_id}/blocks` | Edit workspace page blocks by stable ID with an atomic batch of insert… |
| GET | `/v1/files/{file_id}/collaboration` | Read the current shared document, file discussions, and authorized recent… |
| POST | `/v1/files/{file_id}/comments` | Create or reply to a file discussion, edit your own comment, resolve/reopen a… |
| GET | `/v1/files/{file_id}/threads/{thread_id}/comments` | Read a discussion’s comments in chronological pages |
| GET | `/v1/files/{file_id}/history` | Read immutable file history in pages, newest first |
| GET | `/v1/file-directory` | Read one directory in alphabetical pages of at most 100 authorized items |
| GET | `/v1/file-storage` | Read file storage connections |
| POST | `/v1/file-storage` | Connect R2 or Amazon S3 for future revisions, or pass null to use included… |
| POST | `/v1/files/{file_id}/public-link` | Explicitly create or revoke an anonymous read link for a file or directory |
| GET | `/v1/files/{file_id}/asset` | Read asset delivery settings and the public asset path, if the file has its own… |
| PUT | `/v1/files/{file_id}/asset` | Set public asset cache control and inline or attachment disposition |
| POST | `/v1/files/{file_id}/asset/sign` | Create a temporary bearer URL for the current saved revision |
| GET | `/v1/files/{file_id}/move-preview` | Check whether a move changes inherited access |
| POST | `/v1/files/batch-write` | Create or replace up to 32 files in order, using the same permissions and size… |
| POST | `/v1/files/batch-download` | Read up to eight byte ranges as base64 |
| POST | `/v1/files/shared-copy/prepare` | Plan a copy of a publicly shared file or folder into the current workspace |
| POST | `/v1/files/shared-copy/step` | Copy one item from a prepared shared-folder copy |
| POST | `/v1/files/{file_id}/live-update` | Apply a base64 Yjs update to the live file room |
| PUT | `/v1/files/{file_id}/presence` | Publish your agent presence and optional Yjs selection to live collaborators |

## Machine-readable artifacts (1)

- **OpenAPI** — https://artifacts.apis.io/kody-codes/openapi/kody-codes-files-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 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/)
- [Kody Packages API](https://apis.io/apis/kody-codes/kody-codes-packages-api/)

## Tags

File

## 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-files-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/kody-codes/.
