Skip to content

Time

Time logged on tasks, projects and clients, what it bills and costs, reports, your timer, budgets and retainers, and kinds of work. Every request needs an API key; the examples read it from $MAVATU_API_KEY. How lists, dates, money and errors work is in the API guide.

The budget object

An amount of time or money for a client's work (some of its projects, some kinds of work), once or every period, and where it stands this period: a retainer like 8 hours of web support a month.

objectstring

Always budget.

idstring
namestring
client{id, name}or null
project_idsarray of stringsor null
work_type_idsarray of stringsor null
measurestring

hours (amounts in seconds) or money (in minor units of currency).

currencystringor null
repeatsstring

How often it starts again, in words; empty when once.

rolloverstring

What carries into the next period: nothing, what's unused, or that and any overspend.

One of none, unused, both.

periodobjector null

This period; null before it starts.

starts_ondate
ends_ondate

The day after it ends; empty for a budget once without an end.

allowanceintegeror null

Null for a money budget, for someone who doesn't see money.

carried_inintegeror null
usedintegeror null
percent_usedinteger
urlstring
The budget object
{
"object": "budget",
"id": "bdg_01jcs9k2w7e4mxq0r5t8v3n6pb",
"name": "Web support",
"client": {
"id": "cmp_01jc7ag3bckkdjwbhp1g201cyf",
"name": "Honeybee Bakery"
},
"project_ids": [],
"work_type_ids": [
"wkt_01jc5r8t2y6n0w3q9k4m7e1vxa"
],
"measure": "hours",
"currency": null,
"repeats": "Monthly on the 1st",
"rollover": "unused",
"period": {
"starts_on": "2026-11-01",
"ends_on": "2026-12-01",
"allowance": 34200,
"carried_in": 5400,
"used": 24000,
"percent_used": 70
},
"url": "https://app.mavatu.com/kettle-kite/time/budgets?pane=bdg_01jcs9k2w7e4mxq0r5t8v3n6pb"
}

List budgets

GET/budgets

Budgets and retainers the key's person can see, with where each stands this period. Narrow to a client (client_id) or project (project_id). Money budgets' amounts only for someone who sees money.

Filters and paging

client_idstring
project_idstring

Returns

A list of budgets.

GET /budgets
curl "https://app.mavatu.com/api/v1/budgets?client_id=cmp_01jc7ag3bckkdjwbhp1g201cyf" \
-H "Authorization: Bearer $MAVATU_API_KEY"

The time entry object

Time someone spent: on a day, for so long, on a task, project, client, deal or conversation, or on other work. Whether it bills and its kind of work come from where it was logged, unless someone chose.

objectstring

Always time_entry.

idstring
person{id, name}or null
daystring

YYYY-MM-DD, in the workspace's calendar.

secondsinteger

How long; for a running timer, so far.

started_attimeor null

When it started, for a timer or a range; null otherwise.

ended_attimeor null
runningboolean
on{id, name}or null

The task, project, client, deal or conversation it was on; null for other work.

project{id, name}or null
client{id, name}or null

A company in the directory.

work_type{id, name}or null

Its kind of work.

billableboolean
notestring
fieldsobject

Custom field values the key's person can see, by field ID: see GET /fields?record_type=time. Single selects, each an option ID.

lockedboolean

Older than the workspace's lock, or billed: only someone who sees everyone's time changes it.

billedboolean

Marked billed to its client: locked, keeping what it bills at.

billed_attimeor null

When it was marked billed; null when it hasn't been.

billable_amountmoneyor null

What it bills, in its rate's currency: nothing (in the workspace's currency) when it doesn't bill. Null for someone who doesn't see money.

costmoneyor null

What its person's time cost, in their cost rate's currency: nothing when they have no cost rate. Null for someone who doesn't see costs.

urlstring
created_attime
updated_attime
The time entry object
{
"object": "time_entry",
"id": "tim_01jcq8w2m4gsd5hw6r1v0k3bzn",
"person": {
"id": "mem_01jc3e28jt97kb6cq643dzvmxx",
"name": "Wren Abbott"
},
"day": "2026-11-06",
"seconds": 5400,
"started_at": "2026-11-06T09:00:00Z",
"ended_at": "2026-11-06T10:30:00Z",
"running": false,
"on": {
"id": "tsk_01jc5gqapenecfseczp11hygcp",
"name": "Send the moodboard to Priya"
},
"project": {
"id": "prj_01jc9ee0zbgj09tqm83xssss6y",
"name": "Honeybee Bakery rebrand"
},
"client": {
"id": "cmp_01jc7ag3bckkdjwbhp1g201cyf",
"name": "Honeybee Bakery"
},
"work_type": {
"id": "wkt_01jc4m0d3x2rbk7n9e5f8q1hya",
"name": "Branding"
},
"billable": true,
"note": "Moodboard round two, with the softer greens",
"fields": {
"fld_01jd2c5r8t4kq0v6w9m3n7b1ha": "opt_01jd2c5r8v7mx1p3s5d9f2g4jk"
},
"locked": false,
"billed": false,
"billed_at": null,
"billable_amount": {
"amount": 14250,
"currency": "GBP"
},
"cost": {
"amount": 6000,
"currency": "GBP"
},
"url": "https://app.mavatu.com/kettle-kite/time?day=2026-11-06",
"created_at": "2026-11-06T10:30:04Z",
"updated_at": "2026-11-06T10:30:04Z"
}

List time entries

GET/time_entries

Time logged, newest first: the key's person's own, or anyone's or everyone's (person_id) for someone who sees everyone's time. Narrow by days (from, to), what it was on, the client, and whether it bills or has been billed: client_id with billable=true and billed=false is what's left to invoice.

Filters and paging

limitinteger

How many to return, 1 to 100. Default 25.

cursorstring

next_cursor from the previous page.

sortstring

created_at (the default: in the order they were made) or updated_at (by when they last changed).

orderstring

desc (the default: newest first) or asc (oldest first). To sync everything that changed, use sort=updated_at&order=asc with updated_since: what changes while you page through comes again at the end.

updated_sincetime

Only what changed at or after this time (RFC 3339, e.g. 2026-11-06T09:00:00Z): for polling.

person_idstring

Whose time: me (the default), a member's ID, or everyone, for someone who sees everyone's time.

fromdate

The first day, YYYY-MM-DD.

todate

The last day, YYYY-MM-DD.

on_idstring

Only time on this record (a task's includes its subtasks').

client_idstring

Only time for this client (a company in the directory).

billableboolean

true for billable time only, false for the rest.

billedboolean

false for time not marked billed yet, true for time that is: with client_id and billable=true, what's left to invoice.

Returns

A list of time entries.

GET /time_entries
curl "https://app.mavatu.com/api/v1/time_entries?person_id=me&from=2026-11-02&to=2026-11-08" \
-H "Authorization: Bearer $MAVATU_API_KEY"

Get a time entry

GET/time_entries/{id}

One time entry: who, which day, how long, what it was on and whether it bills.

Path

idstringrequired

The time entry's ID.

Returns

The time entry.

GET /time_entries/{id}
curl https://app.mavatu.com/api/v1/time_entries/tim_01jcq8w2m4gsd5hw6r1v0k3bzn \
-H "Authorization: Bearer $MAVATU_API_KEY"

Log time

POST/time_entries

Log time on a task, project, client, deal or support conversation (on_id), or on other work (no on_id, where the workspace allows): seconds, or a start and end. Whether it bills, and its kind of work, come from where it's logged unless you say.

Needs a key that can read and change. Send an Idempotency-Key to try it again safely.

Body

idstring

Your own ID for it (tim_…), or leave it out.

person_idstring

Whose time: me (the default), or a member's, for someone who sees everyone's time.

daydate

YYYY-MM-DD; today by default.

secondsinteger

How long, up to 86400. Needed unless started_at and ended_at are given.

started_attime
ended_attime
on_idstring

A task, project, client, deal or conversation ID; leave it out for other work.

work_type_idstring

A kind of work: see GET /work_types.

billableboolean

Whether it bills, for someone who sees money; by default what its project says.

notestring
fieldsobject

Custom field values, by field ID or name: see GET /fields?record_type=time. Over the fields' defaults.

Returns

The time entry, with 201 Created.

POST /time_entries
curl -X POST https://app.mavatu.com/api/v1/time_entries \
-H "Authorization: Bearer $MAVATU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"on_id": "tsk_01jc5gqapenecfseczp11hygcp",
"day": "2026-11-06",
"seconds": 5400,
"note": "Moodboard round two, with the softer greens"
}'

Update a time entry

PATCH/time_entries/{id}

Change a time entry's length, day, note, kind of work or what it was on. Only the fields you send change; null clears one. Locked time can be changed only by someone who sees everyone's time.

Needs a key that can read and change. Send an Idempotency-Key to try it again safely.

Path

idstringrequired

The time entry's ID.

Body

daydateor null
secondsintegeror null
started_attimeor null
ended_attimeor null
on_idstringor null

null for other work.

work_type_idstringor null
billablebooleanor null

null: as its project says.

notestringor null
fieldsobject

Custom field values by field ID or name, merged into its others: a null value clears that field.

Returns

The time entry.

PATCH /time_entries/{id}
curl -X PATCH https://app.mavatu.com/api/v1/time_entries/tim_01jcq8w2m4gsd5hw6r1v0k3bzn \
-H "Authorization: Bearer $MAVATU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"seconds": 6300,
"note": "Moodboard round two, and the packaging sketches"
}'

The time report object

Time summed up over some days, grouped up to three ways, outermost first: a row for each group at the last grouping, with its hours, billable hours and, for those who see them, what it bills and costs in the workspace's currency.

objectstring

Always time_report.

fromstring
tostring
group_byarray of stringsor null
currencystring

What amounts and costs are in: the workspace's currency, converted at each day's rates.

roundinginteger

The minutes each entry was rounded up to; 0 for none.

everyoneboolean

true when it's everyone's time; false when it's only the key's person's, for someone who doesn't see everyone's.

rowsarray of objector null

A row for each group at the last grouping, its outer groups together: each level the most hours first, days, weeks and months in order.

groupsarray of objector null

What the row is a group of, one for each grouping, in group_by's order.

bystring

One of client, project, task, person, kind, billable, month, week, day.

idstringor null

The client's, project's, task's, person's or kind of work's ID; null for none (time with no client) and for billable, month, week and day.

namestring

What it's called, as the key's person may see it: No client, Billable, a month as 2026-11, a week by its first day.

secondsinteger

Time logged, rounded as rounding says.

billable_secondsinteger
entriesinteger
billable_amountmoneyor null

What it bills. Null for someone who doesn't see money.

costmoneyor null

What its people's time cost. Null for someone who doesn't see costs.

totalobject
secondsinteger
billable_secondsinteger
entriesinteger
billable_amountmoneyor null
costmoneyor null
cappedboolean

There were more than 5,000 rows and the rest were left out: narrow the days, or group by less.

The time report object
{
"object": "time_report",
"from": "2026-10-01",
"to": "2026-10-31",
"group_by": [
"client",
"project"
],
"currency": "GBP",
"rounding": 0,
"everyone": true,
"rows": [
{
"groups": [
{
"by": "client",
"id": "cmp_01jc7ag3bckkdjwbhp1g201cyf",
"name": "Honeybee Bakery"
},
{
"by": "project",
"id": "prj_01jc9ee0zbgj09tqm83xssss6y",
"name": "Honeybee Bakery rebrand"
}
],
"seconds": 297000,
"billable_seconds": 270000,
"entries": 61,
"billable_amount": {
"amount": 712500,
"currency": "GBP"
},
"cost": {
"amount": 330000,
"currency": "GBP"
}
},
{
"groups": [
{
"by": "client",
"id": null,
"name": "No client"
},
{
"by": "project",
"id": null,
"name": "No project"
}
],
"seconds": 43200,
"billable_seconds": 0,
"entries": 14,
"billable_amount": {
"amount": 0,
"currency": "GBP"
},
"cost": {
"amount": 48000,
"currency": "GBP"
}
}
],
"total": {
"seconds": 340200,
"billable_seconds": 270000,
"entries": 75,
"billable_amount": {
"amount": 712500,
"currency": "GBP"
},
"cost": {
"amount": 378000,
"currency": "GBP"
}
},
"capped": false
}

Report on time

GET/time_report

Time summed up as the Reports page does it: over some days, grouped up to three ways (by client, then project, say), filtered, with each group's hours, billable hours, billable amount and cost. Everyone's time for someone who sees everyone's, otherwise the key's person's own; amounts for someone who sees money, costs for someone who sees costs.

Filters and paging

fromdate

The first day, YYYY-MM-DD: the first of this month by default.

todate

The last day, YYYY-MM-DD: today by default. Up to ten years after from.

group_bystring

Up to three groupings, outermost first, separated by commas: client, project, task, person, kind (of work), billable, month, week or day. client by default.

person_idstring

Only this person's time: me, or a member's ID.

client_idstring

Only time for this client (a company in the directory).

project_idstring

Only time on this project.

portfolio_idstring

Only time on the projects in this portfolio that the key's person can see.

work_type_idstring

Only this kind of work: see GET /work_types.

billableboolean

true for billable time only, false for the rest.

notestring

Only time whose note has these words in it.

roundinginteger

Round each entry up to this many minutes, 0 to 60: the workspace's rounding by default.

Returns

The time report.

GET /time_report
curl "https://app.mavatu.com/api/v1/time_report?from=2026-10-01&to=2026-10-31&group_by=client,project" \
-H "Authorization: Bearer $MAVATU_API_KEY"

The timer object

The key's person's timer: the entry it's making, or null when nothing's running.

objectstring

Always timer.

entryobjector null

The running timer's entry; null when none is running.

objectstring

Always time_entry.

idstring
person{id, name}or null
daystring

YYYY-MM-DD, in the workspace's calendar.

secondsinteger

How long; for a running timer, so far.

started_attimeor null

When it started, for a timer or a range; null otherwise.

ended_attimeor null
runningboolean
on{id, name}or null

The task, project, client, deal or conversation it was on; null for other work.

project{id, name}or null
client{id, name}or null

A company in the directory.

work_type{id, name}or null

Its kind of work.

billableboolean
notestring
fieldsobject

Custom field values the key's person can see, by field ID: see GET /fields?record_type=time. Single selects, each an option ID.

lockedboolean

Older than the workspace's lock, or billed: only someone who sees everyone's time changes it.

billedboolean

Marked billed to its client: locked, keeping what it bills at.

billed_attimeor null

When it was marked billed; null when it hasn't been.

billable_amountmoneyor null

What it bills, in its rate's currency: nothing (in the workspace's currency) when it doesn't bill. Null for someone who doesn't see money.

costmoneyor null

What its person's time cost, in their cost rate's currency: nothing when they have no cost rate. Null for someone who doesn't see costs.

urlstring
created_attime
updated_attime
The timer object
{
"object": "timer",
"entry": {
"object": "time_entry",
"id": "tim_01jcr2y7q9t3vbn5d8w0k6h4ma",
"person": {
"id": "mem_01jcm9s346q3d25vt4f5v37e3s",
"name": "Imogen Hale"
},
"day": "2026-11-08",
"seconds": 1260,
"started_at": "2026-11-08T14:05:00Z",
"ended_at": null,
"running": true,
"on": {
"id": "tsk_01jcwpq5e6eycndy0yp57rcybv",
"name": "Agree the brief"
},
"project": {
"id": "prj_01jc9ee0zbgj09tqm83xssss6y",
"name": "Honeybee Bakery rebrand"
},
"client": {
"id": "cmp_01jc7ag3bckkdjwbhp1g201cyf",
"name": "Honeybee Bakery"
},
"work_type": null,
"billable": true,
"note": "",
"fields": {},
"locked": false,
"billed": false,
"billed_at": null,
"billable_amount": {
"amount": 3325,
"currency": "GBP"
},
"cost": {
"amount": 1575,
"currency": "GBP"
},
"url": "https://app.mavatu.com/kettle-kite/time?day=2026-11-08",
"created_at": "2026-11-08T14:05:00Z",
"updated_at": "2026-11-08T14:05:00Z"
}
}

Get your timer

GET/timer

The key's person's running timer, or null when none is.

Returns

The timer.

GET /timer
curl https://app.mavatu.com/api/v1/timer \
-H "Authorization: Bearer $MAVATU_API_KEY"

Start your timer

POST/timer

Start the key's person's timer on what on_id names (or on other work, with a note). A timer already running stops first and keeps its time.

Needs a key that can read and change. Send an Idempotency-Key to try it again safely.

Body

idstring

Your own ID for its entry (tim_…), or leave it out.

on_idstring

A task, project, client, deal or conversation ID; leave it out for other work.

work_type_idstring
notestring
fieldsobject

Custom field values, by field ID or name: see GET /fields?record_type=time. Over the fields' defaults.

Returns

The timer.

POST /timer
curl -X POST https://app.mavatu.com/api/v1/timer \
-H "Authorization: Bearer $MAVATU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"on_id": "tsk_01jcwpq5e6eycndy0yp57rcybv"
}'

The work type object

One of the workspace's kinds of work, such as Design or Web support: what a retainer can count, and what a rate can follow.

objectstring

Always work_type.

idstring
namestring
billableboolean

Whether its time bills, where its project bills.

archivedboolean
The work type object
{
"object": "work_type",
"id": "wkt_01jc5r8t2y6n0w3q9k4m7e1vxa",
"name": "Web support",
"billable": true,
"archived": false
}

List kinds of work

GET/work_types

The workspace's kinds of work (Design, Web support…), for work_type_id.

GET /work_types
curl https://app.mavatu.com/api/v1/work_types \
-H "Authorization: Bearer $MAVATU_API_KEY"

The timer stop object

What stopping your timer made: the entry it kept, or null when nothing ran (or it ran under a minute, which isn't kept).

objectstring

Always timer_stop.

entryobjector null

The entry it made; null when nothing ran, or it ran under a minute and wasn't kept.

objectstring

Always time_entry.

idstring
person{id, name}or null
daystring

YYYY-MM-DD, in the workspace's calendar.

secondsinteger

How long; for a running timer, so far.

started_attimeor null

When it started, for a timer or a range; null otherwise.

ended_attimeor null
runningboolean
on{id, name}or null

The task, project, client, deal or conversation it was on; null for other work.

project{id, name}or null
client{id, name}or null

A company in the directory.

work_type{id, name}or null

Its kind of work.

billableboolean
notestring
fieldsobject

Custom field values the key's person can see, by field ID: see GET /fields?record_type=time. Single selects, each an option ID.

lockedboolean

Older than the workspace's lock, or billed: only someone who sees everyone's time changes it.

billedboolean

Marked billed to its client: locked, keeping what it bills at.

billed_attimeor null

When it was marked billed; null when it hasn't been.

billable_amountmoneyor null

What it bills, in its rate's currency: nothing (in the workspace's currency) when it doesn't bill. Null for someone who doesn't see money.

costmoneyor null

What its person's time cost, in their cost rate's currency: nothing when they have no cost rate. Null for someone who doesn't see costs.

urlstring
created_attime
updated_attime
The timer stop object
{
"object": "timer_stop",
"entry": {
"object": "time_entry",
"id": "tim_01jcr2y7q9t3vbn5d8w0k6h4ma",
"person": {
"id": "mem_01jcm9s346q3d25vt4f5v37e3s",
"name": "Imogen Hale"
},
"day": "2026-11-08",
"seconds": 2700,
"started_at": "2026-11-08T14:05:00Z",
"ended_at": "2026-11-08T14:50:00Z",
"running": false,
"on": {
"id": "tsk_01jcwpq5e6eycndy0yp57rcybv",
"name": "Agree the brief"
},
"project": {
"id": "prj_01jc9ee0zbgj09tqm83xssss6y",
"name": "Honeybee Bakery rebrand"
},
"client": {
"id": "cmp_01jc7ag3bckkdjwbhp1g201cyf",
"name": "Honeybee Bakery"
},
"work_type": null,
"billable": true,
"note": "Agreed the three routes with Priya",
"fields": {},
"locked": false,
"billed": false,
"billed_at": null,
"billable_amount": {
"amount": 7125,
"currency": "GBP"
},
"cost": {
"amount": 3375,
"currency": "GBP"
},
"url": "https://app.mavatu.com/kettle-kite/time?day=2026-11-08",
"created_at": "2026-11-08T14:05:00Z",
"updated_at": "2026-11-08T14:50:00Z"
}
}

Stop your timer

POST/timer/stop

Stop the key's person's running timer, with an optional note. Returns the entry it made; one that ran under a minute isn't kept.

Needs a key that can read and change. Send an Idempotency-Key to try it again safely.

Body

notestring

What was done, kept on the entry.

Returns

The timer stop.

POST /timer/stop
curl -X POST https://app.mavatu.com/api/v1/timer/stop \
-H "Authorization: Bearer $MAVATU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"note": "Agreed the three routes with Priya"
}'