/2026-07-14/time_entries
TimeEntry
Time entries record who worked on a project task, when they worked, the duration and its billing state.
Endpoints
/2026-07-14/time_entries/start
Start or resume a timer
Example request
curl -X POST \
-H "Content-Type: application/json" \
-d @body.json \
-H "Authorization: Bearer $BUEZLI_OAUTH_TOKEN" \
"https://api.buezli.app/2026-07-14/time_entries/start"
Writes need a member's OAuth token with the time_entries:write scope; account API tokens only read.
- Required body
- tracking_key, project_id, task_id, started_at
- Optional body
- notes
/2026-07-14/time_entries/checkpoint
Record a timer's progress
Example request
curl -X POST \
-H "Content-Type: application/json" \
-d @body.json \
-H "Authorization: Bearer $BUEZLI_OAUTH_TOKEN" \
"https://api.buezli.app/2026-07-14/time_entries/checkpoint"
Writes need a member's OAuth token with the time_entries:write scope; account API tokens only read.
- Required body
- tracking_key, checkpointed_at
- Optional body
- notes
/2026-07-14/time_entries/finish
Finish a timer
Example request
curl -X POST \
-H "Content-Type: application/json" \
-d @body.json \
-H "Authorization: Bearer $BUEZLI_OAUTH_TOKEN" \
"https://api.buezli.app/2026-07-14/time_entries/finish"
Writes need a member's OAuth token with the time_entries:write scope; account API tokens only read.
- Required body
- tracking_key, ended_at
- Optional body
- notes
/2026-07-14/time_entries
List records
Example request
curl \
-H "Authorization: Bearer $BUEZLI_API_TOKEN" \
"https://api.buezli.app/2026-07-14/time_entries?page=1&limit=50"
/2026-07-14/time_entries
Create a record
Example request
curl -X POST \
-H "Content-Type: application/json" \
-d @body.json \
-H "Authorization: Bearer $BUEZLI_OAUTH_TOKEN" \
"https://api.buezli.app/2026-07-14/time_entries"
Writes need a member's OAuth token with the time_entries:write scope; account API tokens only read.
- Required body
- project_id, task_id, spent_on, duration_seconds
- Optional body
- notes
/2026-07-14/time_entries/:id
Retrieve one record
Example request
curl \
-H "Authorization: Bearer $BUEZLI_API_TOKEN" \
"https://api.buezli.app/2026-07-14/time_entries/123"
/2026-07-14/time_entries/:id
Update a record
Example request
curl -X PATCH \
-H "Content-Type: application/json" \
-d @body.json \
-H "Authorization: Bearer $BUEZLI_OAUTH_TOKEN" \
"https://api.buezli.app/2026-07-14/time_entries/123"
Writes need a member's OAuth token with the time_entries:write scope; account API tokens only read.
- Optional body
- project_id, task_id, duration_seconds, notes
/2026-07-14/time_entries/:id
Delete a record
Example request
curl -X DELETE \
-H "Content-Type: application/json" \
-d @body.json \
-H "Authorization: Bearer $BUEZLI_OAUTH_TOKEN" \
"https://api.buezli.app/2026-07-14/time_entries/123"
Writes need a member's OAuth token with the time_entries:write scope; account API tokens only read.
Fields
| Field | Type | Description |
|---|---|---|
| id | integer | Unique identifier for the resource. |
| created_at | datetime | Timestamp when the resource was created. |
| updated_at | datetime | Timestamp when the resource was last updated. |
| client_id | integer | ID of the client associated with the project. |
| project_id | integer | ID of the project the time was recorded against. |
| task_id | integer | ID of the task assigned to the time entry. |
| membership_id | integer | ID of the team member whose time the entry records. |
| invoice_id | integer | ID of the invoice containing this time entry, or null when not invoiced. |
| spent_on | date | Date on which the time was worked. |
| duration_seconds | integer | Recorded and billable duration in seconds. For a running entry, the duration recorded so far. |
| notes | string | Free-form notes describing the recorded work. |
| billable | boolean | Whether the recorded time can be billed to the client. |
| billed | boolean | Whether the time entry has been billed, including outside Buezli. |
| billable_rate | money | Hourly rate used to calculate the billable value of the time entry. |
| cost_rate | money | Internal hourly cost rate applied to the time entry. |
| status | string | running while a timer is recording the entry, otherwise finished. |
| tracking_key | string | Key of the timer that recorded the entry, or null for an entry recorded by hand. |
| started_at | datetime | Timestamp when the timer started, or null for an entry recorded by hand. |
| ended_at | datetime | Timestamp when the timer finished, or null while it runs or for an entry recorded by hand. |
| last_heartbeat_at | datetime | Timestamp when the timer last confirmed the work, or null for an entry recorded by hand. |
| elapsed_duration_seconds | integer | Time the timer measured in seconds, before an agent's multiplier and rounding, or null for an entry recorded by hand. |
| agent_harness_id | integer | ID of the agent harness that recorded the entry, or null for the member's own time. |
| tracking_source | string | Name of the agent harness that recorded the entry, such as Codex, or null for the member's own time. |
Relationships
client
Returned as an ID. Add expand=client to include the related record.
project
Returned as an ID. Add expand=project to include the related record.
task
Returned as an ID. Add expand=task to include the related record.
membership
Returned as an ID. Add expand=membership to include the related record.
invoice
Returned as an ID. Add expand=invoice to include the related record.
agent_harness
Returned as an ID. Add expand=agent_harness to include the related record.