---
title: "Builder Mode: list the files of one of this account's extensions (its repository, deployed branch)"
method: POST
path: "/api/v1/ext_code_list"
---

# Builder Mode: list the files of one of this account's extensions (its repository, deployed branch)

`POST /api/v1/ext_code_list`

## Request

- Base URL: `https://k-phi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://k-phi.com/api/v1/ext_code_list`
- Auth: HTTP bearer

Builder Mode: list the files of one of this account's extensions (its repository, deployed branch). Without extension_id, lists the account's extensions. Read CLAUDE.md in the repository first: it holds the rules every extension follows (data only from the K-Φ API, never a key in the browser or in the code, figures shown as K-Φ gives them).

## Request body

- object
  - `extension_id` string: The extension (see kphi_ext_code_list without arguments). An extension key reaches its own extension and may omit it.

## Response `200`

OK

- object
  - `data` object
  - `meta` object
    - `api` string
    - `capability` string
    - `at` string

## Other responses

- `401`: No or invalid credential
- `403`: Scope, extension or Builder Mode refused
- `422`: The capability refused the input
- `429`: Rate or daily quota reached

---

[API](https://skmtc.dev/k-phi/apis/k-api.md) · [All operations](https://skmtc.dev/k-phi/apis/k-api/llms.txt) · [OpenAPI document](https://skmtc.dev/k-phi/apis/k-api/revisions/60b28690ec35?raw)
