Appearance
Time Entries API
Time entries record work done on an issue. Each entry is linked to a user and an issue.
Permissions
| Action | Minimum Role | Scope |
|---|---|---|
| Search / list | Member | Results scoped to accessible projects (admins see all) |
| Create | Member | On issues within accessible projects |
| Update | Member | Own entries only (admins can update any) |
| Delete | Member | Own entries only (admins can delete any) |
| List / read closed periods | Member | Only periods whose labels all sit in projects you can access (admins with access to every project see all) |
| Close / delete a closed period | Admin | Workspace admins only |
Viewers cannot access time entry endpoints. Non-admin users only see time entries from projects assigned to their teams — this is enforced server-side, not just filtered in the UI.
Endpoints
| Method | Endpoint | Description |
|---|---|---|
GET | /api/time-entries | Search time entries across projects |
GET | /api/time-entries/summary | Total hours per label, user, project, team, issue or day |
GET | /api/time-entries/export | Download time entries as an Excel file |
GET | /api/closed-periods | List the closed periods you can read |
POST | /api/closed-periods | Close a period for a set of labels |
GET | /api/closed-periods/{periodId} | A closed period with its filed totals and later changes |
DELETE | /api/closed-periods/{periodId} | Delete a closed period |
GET | /api/projects/{projectId}/issues/{issueId}/time-entries | List time entries for an issue |
POST | /api/projects/{projectId}/issues/{issueId}/time-entries | Create a time entry |
PUT | /api/projects/{projectId}/issues/{issueId}/time-entries/{entryId} | Update a time entry |
DELETE | /api/projects/{projectId}/issues/{issueId}/time-entries/{entryId} | Delete a time entry |
Search Time Entries
GET /api/time-entries
Query time entries across all projects within a date range, optionally filtered by project.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
start_date | date | Yes | Start of date range (ISO 8601) |
end_date | date | Yes | End of date range (must be on or after start_date) |
project_id | integer | No | Filter to a specific project |
bash
curl "https://{tenant}.kendo.dev/api/time-entries?start_date=2026-03-01&end_date=2026-03-15&project_id=1" \
-H "Authorization: Bearer your-token"json
[
{
"id": 15,
"user_id": 1,
"issue_id": 42,
"project_id": 1,
"minutes_spent": 120,
"started_at": "2026-03-13T09:00:00.000000Z",
"note": "Implemented cursor-based pagination.",
"created_at": "2026-03-13T11:00:00.000000Z",
"issue_title": "Add pagination to issues list",
"issue_key": "KD-42"
}
]Export Time Entries
GET /api/time-entries/export
Downloads the time entries in a date range as an .xlsx file named time-entries-YYYY-MM-DD.xlsx, with one row per entry: Date, User, Project, Issue, Time Spent, Start Time and Note. It takes the same permission as Search Time Entries and covers only the projects you can reach.
| Parameter | Type | Required | Description |
|---|---|---|---|
start_date | date | Yes | Start of the range |
end_date | date | Yes | End of the range, on or after start_date, at most 92 days after it |
project_ids | integer[] | No | Up to 500 projects |
user_ids | integer[] | No | Up to 500 users |
search | string | No | Matches the issue's title or key, max 255 characters |
bash
curl -G https://{tenant}.kendo.dev/api/time-entries/export \
-H "Authorization: Bearer your-token" \
--data-urlencode "start_date=2026-11-01" \
--data-urlencode "end_date=2026-11-30" \
--data-urlencode "project_ids[]=1" \
-o time-entries.xlsxSummarize Time Entries
GET /api/time-entries/summary
Total the minutes logged in a date range across the projects you can access, grouped by one dimension. Optionally limit it to entries whose issue carries any of a set of labels. Totals are aggregated server-side, so there is no cap on the length of the range.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
start_date | date | Unless closed_period_id | Start of date range (YYYY-MM-DD, no time), matched against the day the work started, or the creation day when started_at is not set |
end_date | date | Unless closed_period_id | End of date range (YYYY-MM-DD, no time; on or after start_date) |
group_by | string | Yes | One of label, user, project, team, issue, day; with closed_period_id, label or user |
label_ids[] | integer[] | No | Entries whose issue carries any of these labels (max 100); with closed_period_id, only the period's own labels |
closed_period_id | integer | No | Read a closed period as it was filed instead of live totals. Takes no dates |
Response
total_minutes and total_entries count each entry once. groups holds one item per group, the group with the newest entry first (with closed_period_id, labels by project name then label name, and people by name): key (the id, the YYYY-MM-DD day, or null for No Team and No label), label (the display name), minutes, entries, and for label groups project_id and project.
With group_by=label, an entry counts under every label of its issue, so the group minutes can add up to more than total_minutes. With label_ids[], only those labels become groups. Without it, entries on unlabelled issues fall under No label, whose key, project_id and project are null. Labels are read as issues carry them now, so a past range's label totals change when labels change. To keep a filed period's figures, close it and read it back with closed_period_id: every figure then comes from what the close counted, whatever happens to labels, issues or entries afterwards. A period you cannot read answers 404 exactly like one that does not exist, and a grouping other than label or user answers 422.
bash
curl "https://{tenant}.kendo.dev/api/time-entries/summary?start_date=2026-07-01&end_date=2026-09-30&group_by=label&label_ids[]=3" \
-H "Authorization: Bearer your-token"json
{
"total_minutes": 12750,
"total_entries": 431,
"groups": [
{
"key": 3,
"label": "S&O SCRP/2026/1",
"minutes": 12750,
"entries": 431,
"project_id": 1,
"project": "Kendo.dev"
}
]
}json
{
"message": "One or more labels were not found."
}The 422 above is the same whether a label does not exist or sits in a project you cannot access. Invalid parameters (a missing group_by, a date with a time, end_date before start_date, more than 100 label_ids) return the usual validation errors.
Create Time Entry
POST /api/projects/{projectId}/issues/{issueId}/time-entries
Request Fields
| Field | Type | Required | Description |
|---|---|---|---|
minutes_spent | integer | Yes | Time spent in minutes, min 1 |
started_at | datetime | No | When the work started (ISO 8601), cannot be in the future |
note | string | No | Description of work done, max 10,000 characters |
bash
curl -X POST https://{tenant}.kendo.dev/api/projects/1/issues/42/time-entries \
-H "Authorization: Bearer your-token" \
-H "Content-Type: application/json" \
-d '{
"minutes_spent": 120,
"started_at": "2026-03-13T09:00:00Z",
"note": "Implemented cursor-based pagination for the issues API endpoint."
}'json
{
"id": 15,
"user_id": 1,
"issue_id": 42,
"project_id": 1,
"minutes_spent": 120,
"started_at": "2026-03-13T09:00:00.000000Z",
"note": "Implemented cursor-based pagination for the issues API endpoint.",
"created_at": "2026-03-13T11:00:00.000000Z",
"issue_title": "Add pagination to issues list",
"issue_key": "KD-42"
}Update Time Entry
PUT /api/projects/{projectId}/issues/{issueId}/time-entries/{entryId}
Partial update. Every field is optional, but at least one must be present. An omitted field keeps its stored value; started_at and note sent as null (or as an empty string) are cleared.
Request Fields
| Field | Type | Required | Description |
|---|---|---|---|
minutes_spent | integer | No | Time spent in minutes, min 1 |
started_at | datetime or null | No | When the work started (ISO 8601), cannot be in the future; null or "" clears it |
note | string or null | No | Description of work done, 1 to 10,000 characters when set; null or "" clears it |
bash
curl -X PUT https://{tenant}.kendo.dev/api/projects/1/issues/42/time-entries/15 \
-H "Authorization: Bearer your-token" \
-H "Content-Type: application/json" \
-d '{
"minutes_spent": 150,
"started_at": "2026-03-13T09:00:00Z",
"note": "Implemented and tested cursor-based pagination."
}'json
{
"id": 15,
"user_id": 1,
"issue_id": 42,
"project_id": 1,
"minutes_spent": 150,
"started_at": "2026-03-13T09:00:00.000000Z",
"note": "Implemented and tested cursor-based pagination.",
"created_at": "2026-03-13T11:00:00.000000Z",
"issue_title": "Add pagination to issues list",
"issue_key": "KD-42"
}Closed Periods
A closed period freezes the hours of a date range for a set of labels, for a filing such as WBSO. Closing it copies every entry in the range under each of the period's labels its issue carries at that moment, with the label, project and person names, so close and check the figures before you file them. Afterwards, removing or deleting a label, editing or moving an entry, or removing a person changes none of the period's figures.
You can read a period only when you can read time entries and access every project its labels belong to. If you cannot access all projects, any other period, including one with a label in a project that has since been deleted, answers 404 {"message": "Closed period not found."}, exactly like an id that does not exist. Only workspace admins can close or delete a period.
Close a Period
POST /api/closed-periods — admins only, at most 5 closes per minute.
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | E.g. WBSO 2026 Q3 (max 255) |
start_date | date | Yes | First day, YYYY-MM-DD |
end_date | date | Yes | Last day, YYYY-MM-DD, on or after start_date and at most 366 days from it, counting both |
label_ids | integer[] | Yes | 1 to 100 label ids |
A label can be in only one closed period per day. A close that overlaps one returns 422 naming the existing period, who closed it and when, so retrying a close whose response you lost tells you it is already filed. An unknown or unreachable label returns the same 422 as on the summary.
bash
curl -X POST https://{tenant}.kendo.dev/api/closed-periods \
-H "Authorization: Bearer your-token" -H "Content-Type: application/json" \
-d '{"name":"WBSO 2026 Q3","start_date":"2026-07-01","end_date":"2026-09-30","label_ids":[3]}'json
{
"id": 7,
"name": "WBSO 2026 Q3",
"start_date": "2026-07-01",
"end_date": "2026-09-30",
"closed_by_name": "Ada Admin",
"closed_at": "2026-10-02T09:14:00.000000Z",
"labels": [
{ "label_id": 3, "label_name": "S&O SCRP/2026/1", "project_id": 1, "project_name": "Kendo.dev" }
]
}json
{
"message": "A label overlaps closed period \"WBSO 2026 Q3\" (2026-07-01 to 2026-09-30), closed by Ada Admin at 2026-10-02T09:14:00+00:00."
}List Closed Periods
GET /api/closed-periods returns the periods you can read, newest end date first, each in the shape of the 201 above.
Read a Closed Period
GET /api/closed-periods/{periodId} adds total_minutes and total_entries (each entry once) and edits: what changed inside the period since it was closed, newest first, at most 100, with has_more_edits.
kind | Meaning |
|---|---|
updated | An entry the period counted was edited; old_values and new_values hold the entry before and after |
deleted | An entry the period counted was deleted |
added | An entry inside the window, on an issue that carries one of the period's labels now, that the period did not count: logged after the close, moved into the window, or on an issue that gained the label since |
Each edit carries time_entry_id, at and by (who made the change, or who logged the added entry). For the hours per label or per person, use the summary with closed_period_id.
Delete a Closed Period
DELETE /api/closed-periods/{periodId} — admins only. Returns 204 No Content. The period's labels, totals and hours per label and person stay in the audit log. Closing it again counts the labels issues carry at that moment, which can differ from what was filed.
Delete Time Entry
DELETE /api/projects/{projectId}/issues/{issueId}/time-entries/{entryId}
Returns 204 No Content on success.
bash
curl -X DELETE https://{tenant}.kendo.dev/api/projects/1/issues/42/time-entries/15 \
-H "Authorization: Bearer your-token"See Also
- Issues API — Issues that time is logged against
- Sprints API — Track time during sprints
- Time Tracking guide — Time tracking in the UI