---
title: "board.voteResults: Voting results — Design kit command — Kition"
description: "Answers the voting session's state, your votes and, once ended, the ranked results."
canonical: "https://developer.kition.ai/docs/kits/design/commands/board.voteResults"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/design/commands/board.voteResults](https://developer.kition.ai/docs/kits/design/commands/board.voteResults)

# board.voteResults

**Voting results.** Answers the voting session's state, your votes and, once ended, the ranked results.

- Kit: Design 0.1.0 (.kdesign); reference: [Design kit commands](https://developer.kition.ai/docs/kits/design.md)
- Changes the document: no

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `integer \| string` | no | read by the command beside its listed parameters |
| `voter` | `string` | no |  |

## Call through design_run

```text
design_run {
  "path": "<file>.kdesign",
  "steps": [{ "command": "board.voteResults" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `id`, `voter`. design_run answers the step’s result in `completed[i].result`.

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `by` | `any` | no |  |
| `left` | `any` | no |  |
| `mine` | `any` | no |  |
| `on` | `any` | no |  |
| `results` | `any` | no |  |
| `state` | `any` | no |  |
| `voters` | `any` | no |  |
| `votesPerPerson` | `any` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "by": {},
    "left": {},
    "mine": {},
    "on": {},
    "results": {},
    "state": {},
    "voters": {},
    "votesPerPerson": {}
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "id": {
      "description": "read by the command beside its listed parameters",
      "oneOf": [
        {
          "type": "integer"
        },
        {
          "type": "string"
        }
      ]
    },
    "voter": {
      "type": "string"
    }
  },
  "returns": "{state: off|running|ended, votesPerPerson, on, by, left (your votes left), mine [{id, votes}], voters, results? [{id, name, votes, rank}] (once ended, most votes first)}",
  "type": "object"
}
```

Generated from the command list of @kition/design-darwin-arm64@0.1.0 and the kit itself (design_commands through @kition/cli@0.1.1, built from KitionAI/kition-design@abc7e16).
