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.
objectstringAlways budget.
idstringnamestringclient{id, name}or nullproject_idsarray of stringsor nullwork_type_idsarray of stringsor nullmeasurestringhours (amounts in seconds) or money (in minor units of currency).
currencystringor nullrepeatsstringHow often it starts again, in words; empty when once.
rolloverstringWhat carries into the next period: nothing, what's unused, or that and any overspend.
One of
none,unused,both.periodobjector nullThis period; null before it starts.
starts_ondateends_ondateThe day after it ends; empty for a budget once without an end.
allowanceintegeror nullNull for a money budget, for someone who doesn't see money.
carried_inintegeror nullusedintegeror nullpercent_usedinteger
urlstring
{ "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.
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.
objectstringAlways time_entry.
idstringperson{id, name}or nulldaystringYYYY-MM-DD, in the workspace's calendar.
secondsintegerHow long; for a running timer, so far.
started_attimeor nullWhen it started, for a timer or a range; null otherwise.
ended_attimeor nullrunningbooleanon{id, name}or nullThe task, project, client, deal or conversation it was on; null for other work.
project{id, name}or nullclient{id, name}or nullA company in the directory.
work_type{id, name}or nullIts kind of work.
billablebooleannotestringfieldsobjectCustom field values the key's person can see, by field ID: see
GET /fields?record_type=time. Single selects, each an option ID.lockedbooleanOlder than the workspace's lock, or billed: only someone who sees everyone's time changes it.
billedbooleanMarked billed to its client: locked, keeping what it bills at.
billed_attimeor nullWhen it was marked billed; null when it hasn't been.
billable_amountmoneyor nullWhat 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 nullWhat 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.
urlstringcreated_attimeupdated_attime
{ "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
limitintegerHow many to return, 1 to 100. Default 25.
cursorstringnext_cursor from the previous page.
sortstringcreated_at (the default: in the order they were made) or updated_at (by when they last changed).
orderstringdesc (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_sincetimeOnly what changed at or after this time (RFC 3339, e.g. 2026-11-06T09:00:00Z): for polling.
person_idstringWhose time: me (the default), a member's ID, or everyone, for someone who sees everyone's time.
fromdateThe first day, YYYY-MM-DD.
todateThe last day, YYYY-MM-DD.
on_idstringOnly time on this record (a task's includes its subtasks').
client_idstringOnly time for this client (a company in the directory).
billablebooleantrue for billable time only, false for the rest.
billedbooleanfalse for time not marked billed yet, true for time that is: with client_id and billable=true, what's left to invoice.
Returns
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.
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
idstringYour own ID for it (tim_…), or leave it out.
person_idstringWhose time: me (the default), or a member's, for someone who sees everyone's time.
daydateYYYY-MM-DD; today by default.
secondsintegerHow long, up to 86400. Needed unless started_at and ended_at are given.
started_attimeended_attimeon_idstringA task, project, client, deal or conversation ID; leave it out for other work.
work_type_idstringA kind of work: see
GET /work_types.billablebooleanWhether it bills, for someone who sees money; by default what its project says.
notestringfieldsobjectCustom field values, by field ID or name: see
GET /fields?record_type=time. Over the fields' defaults.
Returns
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
idstringrequiredThe time entry's ID.
Body
daydateor nullsecondsintegeror nullstarted_attimeor nullended_attimeor nullon_idstringor nullnull for other work.
work_type_idstringor nullbillablebooleanor nullnull: as its project says.
notestringor nullfieldsobjectCustom field values by field ID or name, merged into its others: a null value clears that field.
Returns
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.
objectstringAlways time_report.
fromstringtostringgroup_byarray of stringsor nullcurrencystringWhat amounts and costs are in: the workspace's currency, converted at each day's rates.
roundingintegerThe minutes each entry was rounded up to; 0 for none.
everyonebooleantrue 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 nullA 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 nullWhat the row is a group of, one for each grouping, in group_by's order.
bystringOne of
client,project,task,person,kind,billable,month,week,day.idstringor nullThe 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.
namestringWhat 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.
secondsintegerTime logged, rounded as rounding says.
billable_secondsintegerentriesintegerbillable_amountmoneyor nullWhat it bills. Null for someone who doesn't see money.
costmoneyor nullWhat its people's time cost. Null for someone who doesn't see costs.
totalobjectsecondsintegerbillable_secondsintegerentriesintegerbillable_amountmoneyor nullcostmoneyor null
cappedbooleanThere were more than 5,000 rows and the rest were left out: narrow the days, or group by less.
{ "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
fromdateThe first day, YYYY-MM-DD: the first of this month by default.
todateThe last day, YYYY-MM-DD: today by default. Up to ten years after from.
group_bystringUp to three groupings, outermost first, separated by commas: client, project, task, person, kind (of work), billable, month, week or day. client by default.
person_idstringOnly this person's time: me, or a member's ID.
client_idstringOnly time for this client (a company in the directory).
project_idstringOnly time on this project.
portfolio_idstringOnly time on the projects in this portfolio that the key's person can see.
work_type_idstringOnly this kind of work: see
GET /work_types.billablebooleantrue for billable time only, false for the rest.
notestringOnly time whose note has these words in it.
roundingintegerRound each entry up to this many minutes, 0 to 60: the workspace's rounding by default.
Returns
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.
objectstringAlways timer.
entryobjector nullThe running timer's entry; null when none is running.
objectstringAlways time_entry.
idstringperson{id, name}or nulldaystringYYYY-MM-DD, in the workspace's calendar.
secondsintegerHow long; for a running timer, so far.
started_attimeor nullWhen it started, for a timer or a range; null otherwise.
ended_attimeor nullrunningbooleanon{id, name}or nullThe task, project, client, deal or conversation it was on; null for other work.
project{id, name}or nullclient{id, name}or nullA company in the directory.
work_type{id, name}or nullIts kind of work.
billablebooleannotestringfieldsobjectCustom field values the key's person can see, by field ID: see
GET /fields?record_type=time. Single selects, each an option ID.lockedbooleanOlder than the workspace's lock, or billed: only someone who sees everyone's time changes it.
billedbooleanMarked billed to its client: locked, keeping what it bills at.
billed_attimeor nullWhen it was marked billed; null when it hasn't been.
billable_amountmoneyor nullWhat 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 nullWhat 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.
urlstringcreated_attimeupdated_attime
{ "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
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
idstringYour own ID for its entry (tim_…), or leave it out.
on_idstringA task, project, client, deal or conversation ID; leave it out for other work.
work_type_idstringnotestringfieldsobjectCustom field values, by field ID or name: see
GET /fields?record_type=time. Over the fields' defaults.
Returns
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.
objectstringAlways work_type.
idstringnamestringbillablebooleanWhether its time bills, where its project bills.
archivedboolean
{ "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.
Returns
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).
objectstringAlways timer_stop.
entryobjector nullThe entry it made; null when nothing ran, or it ran under a minute and wasn't kept.
objectstringAlways time_entry.
idstringperson{id, name}or nulldaystringYYYY-MM-DD, in the workspace's calendar.
secondsintegerHow long; for a running timer, so far.
started_attimeor nullWhen it started, for a timer or a range; null otherwise.
ended_attimeor nullrunningbooleanon{id, name}or nullThe task, project, client, deal or conversation it was on; null for other work.
project{id, name}or nullclient{id, name}or nullA company in the directory.
work_type{id, name}or nullIts kind of work.
billablebooleannotestringfieldsobjectCustom field values the key's person can see, by field ID: see
GET /fields?record_type=time. Single selects, each an option ID.lockedbooleanOlder than the workspace's lock, or billed: only someone who sees everyone's time changes it.
billedbooleanMarked billed to its client: locked, keeping what it bills at.
billed_attimeor nullWhen it was marked billed; null when it hasn't been.
billable_amountmoneyor nullWhat 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 nullWhat 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.
urlstringcreated_attimeupdated_attime
{ "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.
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"}'