List workspace worklogs
Worklogs record time spent on a work item. List every worklog in the workspace, across all projects that have time tracking turned on. Use it to build a timesheet or a time report for the whole workspace, the same data as the worklogs page in workspace settings.
Only workspace owners and admins can call it. A project admin who isn't a workspace admin gets 403. Projects with time tracking off, archived projects, and deleted projects are left out without an error. Each row is a worklog on a work item you can view, so a work item hidden from you by work item security doesn't appear.
Results are newest first by default. Filter by day with logged_at__gte and logged_at__lte, which take a date such as 2026-11-01 and match the day the time was logged for, not the day the entry was created.
Path parameters
slug:requiredstringThe workspace slug. It appears in your Plane URLs. In https://app.plane.so/my-team/projects/, the slug is my-team.
Query parameters
count:optionalbooleanSet to false to skip the COUNT(*) query behind total_count. The response then leaves out total_count.
duration__gte:optionalintegerReturn only worklogs with a duration of at least this many minutes.
duration__lte:optionalintegerReturn only worklogs with a duration of at most this many minutes.
logged_at__gte:optionalstring (date)Return worklogs logged for this day or later, as YYYY-MM-DD. Days are compared in UTC. A worklog without a logged_at counts as logged on the day it was created. A value that isn't a date returns 400.
logged_at__lte:optionalstring (date)Return worklogs logged for this day or earlier, as YYYY-MM-DD. Pair it with logged_at__gte for a date range, for example one week.
logged_by_id:optionalstring (uuid)Return only the time one user logged. Use logged_by_id__in for several users, comma-separated.
offset:optionalintegerNumber of rows to skip from the start of the result set. Maximum 10000.
order_by:optionalstringField to sort the list by. Prefix it with - for descending order, for example -created_at. Defaults to -created_at.
created_at,-created_atlogged_at,-logged_at: the day the time was logged for. A worklog without alogged_atsorts by the day it was created.id,-id
Only created_at and id work with paginate=cursor. Another ordering with a cursor returns 400 ordering_not_cursor_eligible.
paginate:optionalstringSet to cursor to switch to the keyset cursor envelope, which skips the COUNT query and is better for paging deep into a list. Leave it out to get the default offset envelope with total_count.
per_page:optionalintegerPage size (max 200).
project_id:optionalstring (uuid)Return worklogs from one project, by project UUID. Use project_id__in for several projects, comma-separated.
search:optionalstringA search term matched against the worklog description.
work_item_id:optionalstring (uuid)Return worklogs on one work item, by work item UUID. Use work_item_id__in for several work items, comma-separated.
Response shaping
fields:optionalstringComma-separated list of fields to return. Fields you don't request are left out of each row instead of coming back as null. id is always included. Pass all to get every requestable field.
An unknown field name returns 400 with the list of valid names, so a typo is caught instead of being silently ignored. See Sparse fields.
Requestable here: created_at, created_by_id, description, duration, id, logged_at, logged_by_id, project_id, updated_at, updated_by_id, work_item_id.
expand:optionalstringComma-separated relations to embed: logged_by (the user who logged the time, with id, display_name, avatar_url, and email).
Expanded objects get their own key: ?expand=logged_by keeps logged_by_id and adds a logged_by object next to it. ?fields= and ?expand= work independently. Naming a relation in ?fields= returns 400, and field filtering never removes an expanded object. See Expanding relations.
Scopes
projects.work_items.worklogs:read
Errors
| Status | Code | Cause |
|---|---|---|
400 | invalid_request | A filter value is malformed, such as a logged_at__gte that isn't a date, or ?fields= or ?expand= names something unknown. |
400 | ordering_not_cursor_eligible | paginate=cursor with an ordering other than created_at or id. |
401 | unauthorized | Missing or invalid credentials. |
402 | payment_required | Worklogs aren't included in the workspace's plan. |
403 | forbidden | You aren't a workspace owner or admin, or your token scope doesn't allow this. |
404 | not_found | No such workspace, or it's outside your tenant. |
406 | not_acceptable | The Accept header asks for a representation the API can't produce. |
429 | rate_limited | Throttled. Honor the Retry-After header before retrying. |
curl -X GET \
"https://api.plane.so/api/v2/workspaces/my-team/worklogs/?logged_at__gte=2026-11-16&logged_at__lte=2026-11-22&expand=logged_by" \
-H "X-Api-Key: $PLANE_API_KEY"import requests
response = requests.get(
"https://api.plane.so/api/v2/workspaces/my-team/worklogs/",
headers={"X-Api-Key": "your-api-key"},
params={
"logged_at__gte": "2026-11-16",
"logged_at__lte": "2026-11-22",
"expand": "logged_by",
},
)
print(response.json())const params = new URLSearchParams({
logged_at__gte: "2026-11-16",
logged_at__lte: "2026-11-22",
expand: "logged_by",
});
const response = await fetch(`https://api.plane.so/api/v2/workspaces/my-team/worklogs/?${params}`, {
headers: {
"X-Api-Key": "your-api-key",
},
});
const data = await response.json();{
"data": [
{
"id": "b7e42a19-3c5d-4f80-9a26-8d1c0f4e7b53",
"project_id": "4af68566-94a4-4eb3-94aa-50dc9427067b",
"work_item_id": "8c3d1f72-4a9e-4b65-9d20-6e1f3b7a5c48",
"description": "Reproduced the redirect loop on Safari and fixed the session cookie path.",
"duration": 90,
"logged_at": "2026-11-18T12:00:00Z",
"logged_by_id": "16c61a3a-512a-48ac-b0be-b6b46fe6f430",
"created_at": "2026-11-18T16:42:09.512384Z",
"created_by_id": "16c61a3a-512a-48ac-b0be-b6b46fe6f430",
"updated_by_id": null,
"updated_at": "2026-11-18T16:42:09.512384Z",
"logged_by": {
"id": "16c61a3a-512a-48ac-b0be-b6b46fe6f430",
"display_name": "Priya Raghavan",
"avatar_url": "https://assets.plane.so/avatars/16c61a3a.png",
"email": "priya@example.com"
}
},
{
"id": "8f4c2b1e-0d3a-4f7b-9c21-6e5a8b7d4f13",
"project_id": "4af68566-94a4-4eb3-94aa-50dc9427067b",
"work_item_id": "5e1a7c93-2f4b-4d86-b0c5-9a3e6d2f8b17",
"description": "Code review for the onboarding checklist.",
"duration": 45,
"logged_at": "2026-11-17T12:00:00Z",
"logged_by_id": "7f2b9e04-6c1d-4a58-9e3b-0d4c8a2f6b71",
"created_at": "2026-11-17T18:05:51.230117Z",
"created_by_id": "7f2b9e04-6c1d-4a58-9e3b-0d4c8a2f6b71",
"updated_by_id": "7f2b9e04-6c1d-4a58-9e3b-0d4c8a2f6b71",
"updated_at": "2026-11-18T09:12:40.664902Z",
"logged_by": {
"id": "7f2b9e04-6c1d-4a58-9e3b-0d4c8a2f6b71",
"display_name": "Devansh Kapoor",
"avatar_url": null,
"email": "devansh@example.com"
}
}
],
"next": null,
"previous": null,
"total_count": 2,
"pagination": {
"style": "offset"
}
}
