---
title: "Rate a public package after forking it."
method: POST
path: "/v1/community/listings/{listing_id}/rate"
tags: ["community"]
---

# Rate a public package after forking it.

`POST /v1/community/listings/{listing_id}/rate`

## Request

- Base URL: `https://api.kody.codes`
- URL: `https://api.kody.codes/v1/community/listings/{listing_id}/rate`
- Auth: HTTP bearer

Rate a public package after forking it. Stars measure usefulness (1–5); adaptation_effort measures how hard it was to adapt (1 = trivial, 5 = very hard). Ratings feed community search ranking.

Org permission: `org:read`.

## Path parameters

- `listing_id` string, required: Catalog entry id to rate.

## Request body

- object
  - `stars` integer, required: Usefulness rating from 1 (low) to 5 (high).
  - `adaptation_effort` integer, required: Adaptation difficulty from 1 (trivial) to 5 (very hard).
  - `note` string: Optional short note about the fork experience.

## Response `200`

Success.

- object
  - `listing_id` string, required
  - `rated` true, 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)
