# Questions the crew's agents asked instead of guessing.

> A working agent whose harness can take Koidog's ask tool (Claude Code on a node with the `questions` feature) asks a question when the goal, the shared contract or its task leaves something open.
> https://koi.dog/docs/api/questions/list-crew-questions/

`GET /api/v1/crews/{id}/questions` · Scope: `read`

Each question is a `question.asked` event and stays `open` until someone answers it with `POST /questions/{id}/answer` or its deadline passes (`timed_out`: the agent was told to go on with its best judgment and to say what it assumed). `answerer` says who is expected to answer: in a managed crew whose plan is made, a question from one of its tasks goes to the manager first (`manager` says where its answer step stands; it goes to the founder when the manager cannot answer, its run fails or half the question's time passes, event `question.handed_off`); every other question goes to the founder. Anyone with the `crews` scope may answer either way, and the first answer wins. `canceled`: the run ended first.

## Path parameters.

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | yes | The crew's id. |

## Query parameters.

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `state` | `array` | no | One or more states, comma-separated. Any of `open`, `answered`, `timed_out`, `canceled`. At least 1 item. |
| `limit` | `1–200` | no | Page size. Default `50`. |
| `cursor` | `string` | no | Previous page’s `nextCursor`. Keep filters and order. At least 1 character. |
| `order` | `enum` | no | Sort by creation time, then ID. `desc` newest, `asc` oldest. One of `asc`, `desc`. Default `desc`. |
| `createdAfter` | `string` | no | From this UTC timestamp, inclusive (e.g. `2027-01-01T00:00:00Z`). Uses run start, node pairing, move request, event or log time, otherwise creation. |
| `createdBefore` | `string` | no | Through this UTC timestamp, inclusive. See `createdAfter`. |

## Response.

200 OK · `data`: `object[]`. Pass `nextCursor` as `cursor` when `hasMore` is true.

## Request.

```sh
curl "https://api.koi.dog/api/v1/crews/$ID/questions" \
    -H "Authorization: Bearer $KOIDOG_API_KEY"
```

```js
const res = await fetch(`https://api.koi.dog/api/v1/crews/${process.env.ID}/questions`, {
  headers: {
    Authorization: `Bearer ${process.env.KOIDOG_API_KEY}`,
  },
});
console.log(await res.json());
```

```python
import os

import requests

r = requests.get(
    f"https://api.koi.dog/api/v1/crews/{os.environ['ID']}/questions",
    headers={
        "Authorization": f"Bearer {os.environ['KOIDOG_API_KEY']}",
    },
)
r.raise_for_status()
print(r.json())
```

## Response example.

```json
{
  "data": [],
  "nextCursor": "string",
  "hasMore": false
}
```
