---
title: "Get suggestions by rule"
method: GET
path: "/kody-rules/suggestions"
tags: ["Kody Rules"]
---

# Get suggestions by rule

`GET /kody-rules/suggestions`

Return suggestions for a specific rule.

## Query parameters

- `ruleId` string, required

## Response `200`

- ApiArrayResponseDto
  - `statusCode` number, required
  - `type` string, required
  - `data` object[], required — Array of objects with endpoint-specific schema (see endpoint documentation).

## Other responses

- `400` — Validation error
- `401` — Not authenticated
- `403` — Insufficient permissions
- `500` — Unexpected error

---

[API](https://skmtc.net/kodustech/apis/kodus-api.md) · [All operations](https://skmtc.net/kodustech/apis/kodus-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kodustech/kodus-api/versions/e2282ac5fb3a/schema)
