# Read a crew.

> `crew.requestedSize` and `crew.maxAgents` (requested workers), `agents` (a count per agent state) and `vmsRunning` are separate numbers.
> https://koi.dog/docs/api/crews/get-crew/

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

`include` adds the crew's tasks, agents, VMs, approvals and artifacts to the answer.

## Path parameters.

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

## Query parameters.

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `include` | `array` | no | Lists to return with the crew, comma-separated: tasks, agents, vms, approvals, artifacts. Any of `tasks`, `agents`, `vms`, `approvals`, `artifacts`. |

## Response.

200 OK: a `CrewView`. The example has placeholder values.

## Request.

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

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

```python
import os

import requests

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

## Response example.

```json
{
  "crew": {
    "id": "string",
    "projectId": "string",
    "goal": "string",
    "mode": "direct",
    "requestedSize": 0,
    "maxAgents": 0,
    …
  },
  "projectName": "string",
  "agents": { … },
  "tasks": {
    "total": 0,
    "done": 0,
    "failed": 0,
    "blocked": 0
  },
  "vmsRunning": 0,
  "spentUsd": 0,
  "managerNote": "string",
  …
}
```
