/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

POST /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
POST /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
POST /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
GET /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"
POST /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
GET /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"
PATCH /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
DELETE /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

FieldTypeDescription
idintegerUnique identifier for the resource.
created_atdatetimeTimestamp when the resource was created.
updated_atdatetimeTimestamp when the resource was last updated.
client_idintegerID of the client associated with the project.
project_idintegerID of the project the time was recorded against.
task_idintegerID of the task assigned to the time entry.
membership_idintegerID of the team member whose time the entry records.
invoice_idintegerID of the invoice containing this time entry, or null when not invoiced.
spent_ondateDate on which the time was worked.
duration_secondsintegerRecorded and billable duration in seconds. For a running entry, the duration recorded so far.
notesstringFree-form notes describing the recorded work.
billablebooleanWhether the recorded time can be billed to the client.
billedbooleanWhether the time entry has been billed, including outside Buezli.
billable_ratemoneyHourly rate used to calculate the billable value of the time entry.
cost_ratemoneyInternal hourly cost rate applied to the time entry.
statusstringrunning while a timer is recording the entry, otherwise finished.
tracking_keystringKey of the timer that recorded the entry, or null for an entry recorded by hand.
started_atdatetimeTimestamp when the timer started, or null for an entry recorded by hand.
ended_atdatetimeTimestamp when the timer finished, or null while it runs or for an entry recorded by hand.
last_heartbeat_atdatetimeTimestamp when the timer last confirmed the work, or null for an entry recorded by hand.
elapsed_duration_secondsintegerTime the timer measured in seconds, before an agent's multiplier and rounding, or null for an entry recorded by hand.
agent_harness_idintegerID of the agent harness that recorded the entry, or null for the member's own time.
tracking_sourcestringName 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.