Skip to main content
GET
/
api
/
v1
/
workspaces
/
{workspace_slug}
/
projects
/
{project_id}
/
total-worklogs
/
Get total time for each work item
curl --request GET \
  --url https://api.plane.so/api/v1/workspaces/{workspace_slug}/projects/{project_id}/total-worklogs/ \
  --header 'x-api-key: <api-key>'

Path parameters

workspace_slug
string
required
The workspace_slug represents the unique workspace identifier for a workspace in Plane. It can be found in the URL. For example, in the URL https://app.plane.so/my-team/projects/, the workspace slug is my-team.
project_id
string
required
The unique identifier of the project

Response

    [
        {
            "issue_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
            "duration": 3.5
        },
        {
            "issue_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
            "duration": 8
        },
    ]