Skip to content

Get the project worklog summary ​

GET/api/v2/workspaces/{slug}/projects/{project_id}/worklogs/summary/

Worklogs record time spent on a work item.

Path Parameters ​

slug:requiredstring

The workspace slug. It appears in your Plane URLs — in https://app.plane.so/my-team/projects/, the slug is my-team.

project_id:requiredstring

The project the resource belongs to. Accepts the project UUID or its bare identifier, for example ENG.

Scopes ​

This endpoint is exempt from fine-grained scope checks.

Errors ​

StatusCodeCause
401unauthorizedMissing or invalid credentials.
402payment_requiredThe feature this endpoint belongs to isn't enabled on your plan or is switched off.
403forbiddenYour role or token scope doesn't allow this.
404not_foundNo such resource, or it's outside your tenant.
406not_acceptableThe Accept header asks for a representation the API can't produce.
429rate_limitedThrottled. Honor the Retry-After header before retrying.
Get the project worklog summary
bash
curl -X GET \
  "https://api.plane.so/api/v2/workspaces/my-team/projects/4af68566-94a4-4eb3-94aa-50dc9427067b/worklogs/summary/" \
  -H "X-Api-Key: $PLANE_API_KEY"
Response200
json
[
  {
    "duration": 90,
    "work_item_id": "f960d3c2-8524-4a41-b8eb-055ce4be2a7f"
  }
]