Skip to content

Get the work report

GET
/reports/work
Code sample: Shell / cURL
curl --request GET \
--url 'https://example.com/api/v1/reports/work?page=1&perPage=25' \
--header 'Authorization: Bearer <token>'

Completed, assigned and open work per team member, with totals and where the activity history starts.

Completed. Distinct tasks this person completed during the period. A task counts once per person even if it was reopened and completed again. Credit goes to whoever completed it, not to the current assignee. Changes made by automation rules or imports are not counted.

Assigned. Assignments this person made during the period: each time they added someone to a task. Adding someone who is already on the task is not counted. Credit goes to who made the assignment, not to who was assigned.

Open. Tasks assigned to this person that are not completed, archived or merged, as of now. Not limited to the period.

Overdue. Open tasks whose due date is before today in the workspace time zone.

Due soon. Open tasks due today or within the next 7 days in the workspace time zone.

Totals. Completed and open totals count each task once, so they can be lower than the sum of the rows when a task is shared by several people. Assigned totals count every assignment.

A figure the activity history cannot back is null, never zero, and history says since when it is recorded. Every filter and the caller’s task scope are applied before counting. Without time.view_team the caller sees only their own row, and tasks.view_all is what lifts the task scope from the caller’s projects to every task. A filter value the caller cannot use is listed in unavailableFilters and returns nothing rather than widening the report.

Requires the reports.view and tasks.view permissions and both the Reports and Projects and boards modules.

startDate

Start of the period, YYYY-MM-DD, in the workspace timezone. Defaults to the first day of the current month.

string
/^\d{4}-\d{2}-\d{2}$/

Start of the period, YYYY-MM-DD, in the workspace timezone. Defaults to the first day of the current month.

endDate

End of the period, YYYY-MM-DD, inclusive. Defaults to the last day of the current month.

string
/^\d{4}-\d{2}-\d{2}$/

End of the period, YYYY-MM-DD, inclusive. Defaults to the last day of the current month.

memberId

Only this team member. Without team-level reporting access (time.view_team) only the caller’s own id is usable.

string
>= 1 characters

Only this team member. Without team-level reporting access (time.view_team) only the caller’s own id is usable.

teamId

Only members who belonged to this team at any point in the period.

string
>= 1 characters

Only members who belonged to this team at any point in the period.

projectId

Only tasks linked to this project. Must be a project the caller can open.

string
>= 1 characters

Only tasks linked to this project. Must be a project the caller can open.

page
integer
default: 1 >= 1 <= 9007199254740991
perPage
integer
default: 25 >= 1 <= 100

Per-member work figures for the period, totals and history coverage.

Media typeapplication/json
object
data
required

Completed, assigned and open work per team member.

object
asOf
required

When the open, overdue and due-soon counts were read.

string
dueSoonDays
required
integer
>= -9007199254740991 <= 9007199254740991
filters
required
object
endDate
required
string
memberId
required
string | null
projectId
required
string | null
startDate
required
string
teamId
required
string | null
history
required
object
assigned
required

Where a history-based metric starts.

object
availableSince
required

Workspace-local day (YYYY-MM-DD) of the earliest recorded row. Null when none was ever recorded.

string | null
status
required

complete: the log covers the whole period. partial: it starts inside the period and earlier days are not counted. none: it starts after the period, so the figure is null.

string
Allowed values: complete partial none
completed
required

Where a history-based metric starts.

object
availableSince
required

Workspace-local day (YYYY-MM-DD) of the earliest recorded row. Null when none was ever recorded.

string | null
status
required

complete: the log covers the whole period. partial: it starts inside the period and earlier days are not counted. none: it starts after the period, so the figure is null.

string
Allowed values: complete partial none
pagination
required
object
page
required
integer
>= -9007199254740991 <= 9007199254740991
perPage
required
integer
>= -9007199254740991 <= 9007199254740991
totalCount
required
integer
>= -9007199254740991 <= 9007199254740991
totalPages
required
integer
>= -9007199254740991 <= 9007199254740991
rows
required
Array<object>

One team member’s work figures.

object
assigned
required

Assignments this member made in the period. Null, not zero, when no history covers the period.

Any of:
integer
>= -9007199254740991 <= 9007199254740991
completed
required

Distinct tasks this member completed in the period. Null, not zero, when no history covers the period.

Any of:
integer
>= -9007199254740991 <= 9007199254740991
dueSoon
required

Open tasks due today or within 7 days.

integer
>= -9007199254740991 <= 9007199254740991
isActive
required
boolean
memberId
required
string
name
required
string
open
required

Open tasks assigned to this member as of asOf, whatever the period.

integer
>= -9007199254740991 <= 9007199254740991
overdue
required

Open tasks due before today.

integer
>= -9007199254740991 <= 9007199254740991
timezone
required
string
totals
required

Figures over distinct tasks across every member the filters left, not the sum of the page’s rows.

object
assigned
required
Any of:
integer
>= -9007199254740991 <= 9007199254740991
completed
required
Any of:
integer
>= -9007199254740991 <= 9007199254740991
dueSoon
required
integer
>= -9007199254740991 <= 9007199254740991
memberCount
required
integer
>= -9007199254740991 <= 9007199254740991
open
required
integer
>= -9007199254740991 <= 9007199254740991
overdue
required
integer
>= -9007199254740991 <= 9007199254740991
reachableTasksOnly
required

True when only tasks in projects the caller can open were counted, so the totals are not the workspace’s.

boolean
scope
required

workspace: every team member. filtered: the members the filters left. own: the caller alone, who lacks team-level reporting access.

string
Allowed values: workspace filtered own
unavailableFilters
required

Filters whose value the caller cannot use. Nothing is returned for them; the report is never widened instead.

Array<string>
Allowed values: memberId teamId projectId

Example

{
"data": {
"history": {
"assigned": {
"status": "complete"
},
"completed": {
"status": "complete"
}
},
"totals": {
"scope": "workspace"
},
"unavailableFilters": [
"memberId"
]
}
}

Validation error. Parse failures include field paths and expectations.

Media typeapplication/json

Validation error with safe field paths and expected values; submitted values are never returned.

object
error
required
object
code
required

Stable machine-readable error code.

string
issues
Array<object>
object
expected
required
string
message
required
string
path
required
Array<string | number>
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Unauthorized.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Missing the reports.view or tasks.view permission.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

The Reports or Projects and boards module is turned off.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Rate limit exceeded. Wait for Retry-After before retrying.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}
RateLimit-Limit
string
/^\d+$/

Maximum requests in the current quota window.

RateLimit-Policy
string

Quota policy in requests and window seconds, for example 60;w=60.

RateLimit-Remaining
string
/^\d+$/

Requests left in this quota window (zero when blocked).

RateLimit-Reset
string
/^\d+$/

Seconds until the current quota window resets, when available from the rate-limit store.

Retry-After
string
/^\d+$/

Seconds until another request may be attempted.