---
title: "Get all assignments"
method: GET
path: "/v1/workspaces/{workspaceId}/scheduling/assignments/all"
tags: ["Scheduling"]
---

# Get all assignments

`GET /v1/workspaces/{workspaceId}/scheduling/assignments/all`

## Path parameters

- `workspaceId` string, required — Represents a workspace identifier across the system.

## Query parameters

- `name` string — If provided, assignments will be filtered by name
- `start` string, required — Represents a start date in the yyyy-MM-ddThh:mm:ssZ format.
- `end` string, required — Represents a start date in the yyyy-MM-ddThh:mm:ssZ format.
- `sort-column` 'PROJECT' | 'USER' | 'ID'
- `sort-order` 'ASCENDING' | 'DESCENDING'
- `page` integer — Page number.
- `page-size` integer — Page size.

## Response `200`

OK

- AssignmentHydratedDtoV1[]
  - `billable` boolean — Indicates whether assignment is billable or not.
  - `clientId` string — Represents client identifier across the system.
  - `clientName` string — Represents project name.
  - `hoursPerDay` number, double — Represents number of hours per day as double.
  - `id` string — Represents assignment identifier across the system.
  - `note` string — Represents assignment note.
  - `period` DateRangeDto — Represents date range object.
    - `end` string, date-time
    - `start` string, date-time
  - `projectArchived` boolean
  - `projectBillable` boolean
  - `projectColor` string — Color format ^#(?:[0-9a-fA-F]{6}){1}$. Explanation: A valid color code should start with '#' and consist of six hexadecimal characters, representing a color in hexadecimal format. Color value is in standard RGB hexadecimal format.
  - `projectId` string — Represents project identifier across the system.
  - `projectName` string — Represents project name.
  - `startTime` string — Represents start time in hh:mm:ss format.
  - `taskId` string — Represents task identifier across the system.
  - `taskName` string — Represents task name.
  - `userId` string — Represents user identifier across the system.
  - `userName` string — Represents user name.
  - `workspaceId` string — Represents workspace identifier across the system.

---

[API](https://skmtc.dev/clockify/apis/clockify-api.md) · [All operations](https://skmtc.dev/clockify/apis/clockify-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/clockify/clockify-api/revisions/a5b636acbcd8/schema)
