# Shifts

The Shift section is used to create shifts that can be used when scheduling employees or when an employee clocks in (if they are not pre-scheduled).

**The main functions here are to:**

1. **Add Shift** – Opens the form to create a new shift. You can set the shift name, code, start/stop times, and apply clock-in/clock-out restrictions.
2. **Edit / Archive** – Lets you either edit an existing shift’s details or archive it (remove from active view but keep for records).
3. **Show Archived Shifts** – Displays the list of archived shifts so you can review or restore them if needed.

<figure><img src="/files/H8a4UkSFOdjvBQZ7hhO2" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.opentimeclock.com/docs/settings/shifts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
