> ## Documentation Index
> Fetch the complete documentation index at: https://zarna.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Staffing API

> Team staffing and workload management

## Overview

The Staffing API manages team workload distribution and capacity planning.

**Base Path**: `/api/staffing`

## Endpoints

### Get Team Workload

```bash theme={null}
GET /api/staffing/workload
```

**Response**:

```json theme={null}
{
  "team_members": [
    {
      "user_id": "user-1",
      "name": "John Doe",
      "active_deals": 8,
      "total_deal_value": 2000000,
      "capacity": 75
    }
  ]
}
```

### Assign Deal

```bash theme={null}
POST /api/staffing/assign
```

**Request Body**:

```json theme={null}
{
  "deal_id": "deal-uuid",
  "assignee_id": "user-uuid"
}
```

## Next Steps

<CardGroup cols={2}>
  <Card title="Deals API" icon="handshake" href="/api-reference/deals">
    Deal management
  </Card>

  <Card title="Users API" icon="users" href="/api-reference/users">
    User management
  </Card>
</CardGroup>
