---
title: "Read the Kody publish harness git note attached to a published Artifacts commit."
method: GET
path: "/v1/repo-publish-note"
tags: ["repos"]
---

# Read the Kody publish harness git note attached to a published Artifacts commit.

`GET /v1/repo-publish-note`

## Request

- Base URL: `https://api.kody.codes`
- URL: `https://api.kody.codes/v1/repo-publish-note`
- Auth: HTTP bearer

Read the Kody publish harness git note attached to a published Artifacts commit. Use this to inspect publish provenance, session/conversation ids, and check summaries without opening D1.

Org permission: `package:read`.

## Query parameters

- `source_id` string: Shared entity source id for any repo-backed entity.
- `package_id` string
- `kody_id` string
- `commit` string: Commit oid to inspect. Defaults to the source published_commit.

## Response `200`

Success.

- object
  - `found` boolean, required
  - `commit` string, required
  - `source_id` string, required
  - `repo_id` string, required
  - `raw_note` string, nullable, required
  - `note` object, nullable, required
    - `v` 1, required
    - `publishedAt` string, required
    - `publishedBy` 'repo_session' | 'source_bootstrap' | 'external_push', required
    - `sourceId` string, required
    - `entityKind` 'package' | 'repo', required
    - `entityId` string, required
    - `repoId` string, required
    - `commit` string, required
    - `sessionId` string, nullable
    - `conversationId` string, nullable
    - `previousPublishedCommit` string, nullable
    - `baseCommit` string, nullable
    - `checks` object, nullable
      - `runId` string, required
      - `treeHash` string, nullable, required
      - `checkedAt` string, nullable, required
      - `ok` boolean, required
      - `results` object[], required
        - `kind` string, required
        - `ok` boolean, required
        - `message` string, required

## Other responses

- `400`: Error envelope `{ "error": { "code", "message", "details"? } }`.
- `401`: Error envelope `{ "error": { "code", "message", "details"? } }`.
- `403`: Error envelope `{ "error": { "code", "message", "details"? } }`.
- `404`: Error envelope `{ "error": { "code", "message", "details"? } }`.
- `409`: Error envelope `{ "error": { "code", "message", "details"? } }`.
- `413`: Error envelope `{ "error": { "code", "message", "details"? } }`.
- `429`: Too many requests (edge IP/token limit) or an entitlement / plan-cap limit. Wait at least `Retry-After` seconds before retrying.
- `500`: Error envelope `{ "error": { "code", "message", "details"? } }`.
- `503`: Error envelope `{ "error": { "code", "message", "details"? } }`.
- `default`: Error envelope `{ "error": { "code", "message", "details"? } }`.

---

[API](https://skmtc.dev/kody/apis/kody-api.md) · [All operations](https://skmtc.dev/kody/apis/kody-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kody/apis/kody-api/revisions/705f4f022728?raw)
