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

# Shifts overview

> Read workers' shifts, task time, and GPS history.

Use the shift endpoints to read recorded work time and locations. The workspace must have Operations enabled. The token owner needs Manage Tasks.

## Endpoints

* [List shifts](https://docs.conduit.ai/api-reference/shifts/list.md): Find shifts by worker, date, or status.
* [Get shift](https://docs.conduit.ai/api-reference/shifts/get.md): Read one shift's breaks, task work, and stops.
* [List shift locations](https://docs.conduit.ai/api-reference/shifts/list-locations.md): Read the shift's GPS trail.

## Time

| Field | Meaning |
| - | - |
| `duration_secs` | Total elapsed shift time. |
| `break_secs` | Time on breaks. |
| `working_secs` | Shift time minus breaks. |

Durations are in seconds. Timestamps use UTC. `timezone` is the workspace's current timezone.

`working_secs` does not apply payroll rules, such as overtime or paid breaks.

## Quick start

List shifts:

```bash theme={null}
curl "https://api.conduit.ai/v1/shifts?workspace_id=YOUR_WORKSPACE_ID" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
```

Use a shift's `id` with [Get shift](https://docs.conduit.ai/api-reference/shifts/get.md) to read its details.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.