---
title: "Get Shop Time Sessions"
method: GET
path: "/api/v1/shop/time-sessions"
tags: ["v1", "Task Time", "task-time"]
---

# Get Shop Time Sessions

`GET /api/v1/shop/time-sessions`

## Request

- Base URL: `https://api.jeevyfabrication.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jeevyfabrication.com/api/v1/shop/time-sessions`
- Auth: none declared

One page of shop clock sessions, with the total for the whole range.

Paged, sorted and searched in the database. Prefer this over
``/shop/task-time-entries``, which reads an entire range into memory and
therefore cannot be asked for a large window.

## Query parameters

- `date_from` string, nullable: ISO date YYYY-MM-DD, inclusive start (shop-local)
- `date_to` string, nullable: ISO date YYYY-MM-DD, inclusive end (shop-local)
- `limit` integer: Page size
- `offset` integer: Rows to skip
- `sort` string: Column key: date, personnel, task, project, workStream, duration, status, clockIn, clockOut, type
- `dir` string: asc or desc
- `q` string, nullable: Free-text match on worker, task, work stream, project or project number
- `type` string: all | task | shop
- `project_id` integer, nullable
- `work_stream_id` integer, nullable
- `team_id` integer, nullable: Saved team preset id
- `personnel_id` integer[], nullable: Repeat for multiple: ?personnel_id=1&personnel_id=2
- `is_open` boolean, nullable: true = only open sessions

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api.md) - [All operations](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/revisions/ad9a01abeac9?raw)
