> ## Documentation Index
> Fetch the complete documentation index at: https://docs.salu.com.vc/llms.txt
> Use this file to discover all available pages before exploring further.

# Sector

> The area or department within the company.

The **Sector** is a **functional area** that groups people performing similar activities —
administration, production, maintenance, laboratory, HR. It answers the question: **"In which
area does the employee work?"**

<Info>
  Two sectors in the same building can involve very different risks (for example,
  administration × maintenance × laboratory). That's why the Sector is the second level of the
  [hierarchy](/public-api/en/concepts/hierarchy_en).
</Info>

## Main fields

| Field                     | Required | Description                         |
| ------------------------- | -------- | ----------------------------------- |
| `organization_id`         | yes      | Organization the sector belongs to. |
| `name`                    | yes      | Sector name.                        |
| `description`             | yes      | Sector description.                 |
| `hr_code`                 | no       | Client's internal HR code.          |
| `client_integration_code` | no       | Client's external identifier.       |
| `is_active`               | no       | Active/inactive (default `true`).   |

<Note>
  The exact list of required fields is always the **endpoint schema** (rendered from the
  OpenAPI). When in doubt, check the resource's reference page.
</Note>

## Endpoints

<CardGroup cols={2}>
  <Card title="List sectors" icon="list" href="/public-api/en/endpoints/sectors/public_list_sectors_v0_sector__get_en" />

  <Card title="Create sector" icon="plus" href="/public-api/en/endpoints/sectors/public_create_sector_v0_sector__post_en" />
</CardGroup>
