> For the complete documentation index, see [llms.txt](https://cde-inc.gitbook.io/cde-cad-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cde-inc.gitbook.io/cde-cad-documentation/fivem-developer-integration/unit-information.md). Agents can also search and read this documentation through its [MCP server](https://cde-inc.gitbook.io/cde-cad-documentation/~gitbook/mcp).

# Unit Information

These read-only endpoints let your in-game tablet/MDT UIs show the player's CAD state.

To change a unit's status from a script, see [Unit Status](https://cde-inc.gitbook.io/cde-cad-documentation/fivem-developer-integration/unit-status.md).

## Active Calls For a Unit

```
GET /api/fivem/unit-calls?discordId=DISCORD_USER_ID
```

Returns active (non-closed, non-cancelled) calls where the unit is currently assigned.

### Response

```json
{
  "success": true,
  "calls": [
    {
      "id": "INC-1717012345678",
      "callType": "ROBBERY",
      "location": "Legion Square",
      "description": "Armed robbery",
      "status": "assigned",
      "priority": "high",
      "postal": "342"
    }
  ]
}
```

## Check If Unit Is Active in CAD

```
GET /api/fivem/unit-active?discordId=DISCORD_USER_ID
```

Returns whether the Discord user is active in CAD: they have an on-duty status and have interacted with the CAD recently.

### Response

```json
{
  "success": true,
  "active": true,
  "status": "10-8",
  "department": "Police Department",
  "callSign": "1-A-12"
}
```
