add_invoice_item
ChatGPTAdd a line to a DRAFT invoice. A line is either a fixed price, a unit line (amount x price), or built from timeRecordIds / billingItemIds (expenses); with timeRecordIds/billingItemIds also pass price = their billable total (the backend requires it on lines without a unit).
add_member
ChatGPTAdd users to a project or client by userId, each with optional role ids (list_roles kind=project/client).
add_member_teams
ChatGPTAttach whole teams to a project or client, each with optional role ids (list_roles kind=project/client).
add_team_member
ChatGPTAdd users to a team by userId, each with optional team role ids (list_roles kind=team).
add_workflow_status
ChatGPTAdd a status to a workflow — by default reachable from everywhere and transitioning to all existing statuses (pass transitionsTo to restrict). Transitions are only ENFORCED against statuses whose alwaysAccessible is false. A new status gets NO board column: on an ADVANCED project's board it stays unmapped (invisible) until create_board_column (or update_board_column) maps it via statusIds. The API replaces the whole status graph; this tool rebuilds it around one change. Works on the task workflow of ANY project, SIMPLE included.
approve_time_records
ChatGPTApprove (lock) or unapprove a batch of time records by id. Approval marks the records as reviewed; pass approve: false to revert it.
archive_bank_account
ChatGPTArchive a bank account (reversible with unarchive_bank_account).
archive_billable_rate
ChatGPTArchive a billable rate (reversible with unarchive_billable_rate).
archive_client
ChatGPTArchive a client (reversible).
archive_contact_person
ChatGPTArchive a client's contact person (reversible with unarchive_contact_person).
archive_expense
ChatGPTArchive an expense (reversible with unarchive_expense).
archive_expense_template
ChatGPTArchive an expense template (reversible with unarchive_expense_template).
archive_invoice
ChatGPTArchive an invoice (reversible with unarchive_invoice).
archive_project
ChatGPTArchive a project (reversible).
archive_report_template
ChatGPTArchive a report (export) template (reversible with unarchive_report_template).
archive_role
ChatGPTArchive a role. Reversible with unarchive_role.
archive_tag
ChatGPTArchive a tag/label (reversible with unarchive_tag).
archive_task
ChatGPTArchive a task (reversible).
archive_team
ChatGPTArchive a team. Reversible with unarchive_team.
bulk_create_clients
ChatGPTCreate up to 100 clients in ONE all-or-nothing call: if any item fails, NOTHING is created and every failing item is reported by its index. On success the created items come back in input order. Split longer lists into several calls. Each item takes the create_client fields; code is optional (Primatime generates it). Sends no notifications. Before calling, show the user what will be created and get an explicit yes. For importing a file, follow import_guide.
bulk_create_projects
ChatGPTCreate up to 100 projects in ONE all-or-nothing call: if any item fails, NOTHING is created and every failing item is reported by its index. On success the created items come back in input order. Split longer lists into several calls. Each item takes the create_project fields; code is optional (Primatime generates it). Link a project to its client by clientId — for clients created moments ago use the ids bulk_create_clients returned, never a title that is not unique. A status the workflow does not allow at creation is applied right after, in a second step (see statusNote). Sends no notifications. Before calling, show the user what will be created and get an explicit yes.
bulk_create_tasks
ChatGPTCreate up to 100 tasks in ONE all-or-nothing call: if any item fails, NOTHING is created and every failing item is reported by its index. On success the created tasks come back in input order, with one link per project. Split longer lists into several calls. Items may span several projects. Each item takes the create_task fields; link it to its project by projectId (for projects created moments ago use the ids bulk_create_projects returned) and set the status by name within that project's workflow (a status not allowed at creation is applied right after, in a second step — see statusNote). Assignees are NOT notified. The reporter defaults to the current user. Before calling, show the user what will be created and get an explicit yes.
bulk_create_time_records
ChatGPTCreate up to 100 time records in ONE all-or-nothing call: if any item fails, NOTHING is created and every failing item is reported by its index. On success the created items come back in input order. Split longer lists into several calls. Each item takes the create_time_record fields (start + end or a duration; times without an offset are in the organization timezone). Unknown tag names are an error — create tags first (create_tag) after the user approves. Before calling, show the user what will be logged and get an explicit yes.
cancel_timer
ChatGPTDiscard the timer WITHOUT creating a time record. Requires confirm: true. Acts on the current timer if no id is given.
clear_todo_section
ChatGPTMove ALL tasks of one of YOUR OWN TODO-list sections into another section; requires a target (targetSectionId or targetSectionName) different from the source. Move individual tasks with patch_task's sectionId/sectionName.
complete_sprint
ChatGPTComplete a sprint. Unfinished (not-done) tasks can be moved to the backlog (moveUnfinishedToBacklog: true) or carried over to another sprint (followupSprintId).
confirm_task_attachment_upload
ChatGPTFinish an upload started with initiate_task_attachment_upload once the file bytes were PUT to the presigned URL, and link the attachment to taskId when given.
create_bank_account
ChatGPTCreate an organization bank account (for invoicing); needs title, currency and a valid iban.
create_billable_rate
ChatGPTCreate a billable (hourly) rate. Scope it with any combination of clientId / projectId / taskId / userId / teamId / tagIds — the most specific match wins per time record; no scope = the organization default rate.
create_board_column
ChatGPTAdd a column to a project's board. On an ADVANCED project a newly added workflow status has NO column — create one with statusIds to make it visible (SIMPLE boards show every status automatically); statuses in no column come back as unassigned from list_board_columns.
create_client
ChatGPTCreate a client. Code is auto-generated from the title if omitted.
create_contact_person
ChatGPTAdd a contact person to a client. Needs name plus clientId (or clientName).
create_expense
ChatGPTCreate an expense; needs title, date and totalValue (totalValue may be omitted when amount + unitPrice are given — it is derived). The user defaults to you.
create_expense_from_template
ChatGPTCreate an expense from a template's presets (templateId — see list_expense_templates). Any field you pass overrides the preset, and the date falls back to the template's preset date, else today (as in the app).
create_expense_template
ChatGPTCreate an expense template (needs title). data holds the preset expense values applied when the template is used.
create_flat_rate
ChatGPTCreate a flat rate (fixed fee); needs title, totalValue, startDate and repeatPeriod (WEEKLY/MONTHLY/YEARLY). The fee bills each period at periodPosition (default 1) until endDate.
create_invoice
ChatGPTCreate an invoice DRAFT for a client. mode=empty starts blank (add lines with add_invoice_item); mode=from_time_range pulls uninvoiced billable work in from..to (optionally one project); mode=from_time_records builds drafts from specific time record ids. Set billingReport=true for a billing report instead. Finalize with finalize_invoice.
create_project
ChatGPTCreate a project. Code is auto-generated from the title if omitted; status defaults to the project workflow's initial status. Pass public:false for a private project — privacy CANNOT be changed after creation (there is no public flag on update). A private project can still be billable and have a client, but members cannot be added while it is private. Use blocks/blockedBy (project refs) to set cross-project dependencies.
create_project_from_template
ChatGPTCreate a new project from a template (see list_project_templates).
create_quick_filter
ChatGPTSave a quick filter: a reusable filters+orders set for an entity type (max 20 per type).
create_report_template
ChatGPTCreate a report (export) template with its saved query (filters/orders) and, for timeRecords/billingItems, grouping. columns are the family's report-column enum values (e.g. TITLE, CLIENT, STATUS, TOTAL_TRACKED_TIME — validated by the server; get_report_template on an existing template shows a reference).
create_role
ChatGPTCreate a role of any kind. permissions must be values from list_role_permissions for that kind, at least one.
create_sprint
ChatGPTCreate a sprint in a project (added to the backlog, not started). Provide the project by id or name. Duration defaults to TWO_WEEKS; start/end dates are optional (required for CUSTOM duration).
create_tag
ChatGPTCreate a new organization tag (immediately usable as a time-tracking tag). Use when no existing tag matches and the user has approved creating one — check list_tags / list_time_tracking_tags first to avoid duplicates. Color is an optional hex value; a default is used if omitted. defaultHourlyRate (org currency; RateInput has no currency field) is optional.
create_task
ChatGPTCreate a task in a project. Provide the project by id or name. Status defaults to the project workflow's initial status; priority defaults to MEDIUM. The reporter defaults to the current user; assigneeId/reporterId take a user id from list_project_members. The description is Markdown. Pass sprintId to put the task straight into a sprint (see list_sprints). Pass tags (see list_tags) and blocks/blockedBy (task refs) to label the task and set its dependencies.
create_team
ChatGPTCreate a team, optionally with initial members and labels. Teams have no description / notes field (backend limitation) — use labels to categorize them.
create_template_from_project
ChatGPTCreate a project TEMPLATE from an existing project. This is a COPY — the source project stays untouched (verified). The details/tasks flags choose what the template keeps; defaults match the web app (members & roles, workflow, labels, billable status, custom views; tasks are NOT kept unless copyTasks is true).
create_time_record
ChatGPTCreate a time record (worklog). Give start + either end or a duration (durationHours/durationMinutes). Logs for you unless userId (an id, email, or name) names someone you can log time for. Project/task/client by id or name — they form ONE hierarchy (task > project > client): the broader levels are derived from the narrowest one given, so a client passed alongside a project is ignored (the project's own client wins, even when it has none). billable defaults to the project's billable flag. Example: {start:'2026-06-07T09:00:00+02:00', durationHours:2, projectName:'Acme', tags:['Development']}.
create_todo_section
ChatGPTCreate a section in YOUR OWN TODO list (the API does not expose other users' lists).
create_view
ChatGPTCreate a saved view on a page: saved filters+orders+grouping via query (query.groupBy is the group dimension, settings.groupSorts the per-group sort) and per-page settings JSON. Discover valid filter fields/operators with list_filter_fields.
deactivate_user
ChatGPTDeactivate a user, which frees their license. Reversible with reactivate_user.
delete_bank_account
ChatGPTDelete a bank account. Requires confirm: true.
delete_billable_rate
ChatGPTDelete a billable rate (moved to trash). Requires confirm: true.
delete_board_column
ChatGPTDelete a column from a project's board. Requires confirm: true.
delete_client
ChatGPTDelete a client (moved to trash, recoverable). Requires confirm: true. Deleting a client does NOT cascade: the backend detaches its projects (they stay, without a client). A client that still has projects is refused unless detachProjects: true acknowledges that; the response lists the detached projects. To also remove the projects, delete them first with delete_project.
delete_contact_person
ChatGPTDelete a client's contact person. Requires confirm: true.
delete_expense
ChatGPTDelete an expense (moved to trash). Requires confirm: true.
delete_expense_template
ChatGPTDelete an expense template. Requires confirm: true.
delete_flat_rate
ChatGPTDelete a flat rate (moved to trash; reversible with restore_flat_rate). Requires confirm: true.
delete_invoice
ChatGPTDelete an invoice. Requires confirm: true.
delete_project
ChatGPTDelete a project (moved to trash, recoverable). Requires confirm: true.
delete_quick_filter
ChatGPTDelete a saved quick filter. Requires confirm: true.
delete_report_template
ChatGPTDelete a report (export) template. Requires confirm: true.
delete_role
ChatGPTDelete a role (moved to trash). Requires confirm: true.
delete_sprint
ChatGPTDelete a sprint (moved to trash, recoverable). Tasks in the sprint are not deleted. Requires confirm: true.
delete_tag
ChatGPTDelete a tag/label (moved to trash). Requires confirm: true.
delete_task
ChatGPTDelete a task (moved to trash, recoverable). Requires confirm: true.
delete_task_attachment
ChatGPTPermanently delete an attachment file. Requires confirm: true; to only unlink it from a task use detach_task_attachment.
delete_team
ChatGPTDelete a team (moved to trash). Requires confirm: true.
delete_time_record
ChatGPTDelete a time record (moved to trash, recoverable). Requires confirm: true.
delete_todo_section
ChatGPTDelete one of YOUR OWN TODO-list sections; its tasks fall back to the default section. Requires confirm: true.
delete_user
ChatGPTDelete a user; the user is anonymized. Requires confirm: true.
delete_view
ChatGPTDelete a saved view. Requires confirm: true.
detach_task_attachment
ChatGPTUnlink an attachment from a task without deleting the file. To let the user download an attachment, give them the downloadUrl from get_task as a link — do not fetch the file yourself.
duplicate_expense
ChatGPTDuplicate an expense: copies everything except invoice links and keeps the source's date unless you pass date.
duplicate_view
ChatGPTCopy a saved view, optionally under a new title. The copy always starts with autosave OFF so an open web client cannot clobber API writes — the safe way to customize a system view.
export_report
ChatGPTRender a report family into a downloadable CSV / PDF / XLSX file. Creates the export and returns immediately: when status is COMPLETED, result.downloadUrl is a time-limited download link — give it to the user as a clickable link; do NOT fetch or download the file yourself. When status is still IN_QUEUE / IN_PROGRESS, call this tool again with just exportId after ~5 seconds. templateId (see list_report_templates) reuses a saved export template's columns and filters. A from/to range (or a named period) is required for every family except billing_items.
finalize_invoice
ChatGPTIssue a DRAFT invoice: assigns its number, and any field overrides passed are applied. Issuing needs a client, dateOfIssue and dueDate, plus a bankAccountId when paymentMethod is BANK_TRANSFER — pass any that are missing to this call itself; it names all the gaps at once rather than one per attempt.
get_bank_account
ChatGPTFetch one of the organization's bank accounts by id.
get_billable_rate
ChatGPTFetch one billable rate by id, with its value, scope (client / project / task / user / team / tags) and validity range.
get_client
ChatGPTFetch a single client by id.
get_contact_person
ChatGPTFetch one of a client's contact persons by id.
get_expense
ChatGPTFetch one expense (billing item) by id.
get_expense_template
ChatGPTFetch one expense template by id, including its data presets.
get_flat_rate
ChatGPTFetch one flat rate (fixed fee) by id.
get_invoice
ChatGPTFetch one invoice including its line items.
get_invoice_settings
ChatGPTThe organization's invoicing defaults: VAT, rounding, due period, numbering sequence, header/footer, email defaults, and nextNumber — the serial the sequence will assign next (for year, default the current year). billingReport: true reads the separate billing-report settings instead (own numbering series).
get_profile
ChatGPTReturn the profile represented by this request's authenticated credentials: the user within the connected organization. The opaque id is unique within this app and unchanged across token refresh and reconnection. For everything else (timezone, recent projects, links) call whoami.
get_project
ChatGPTFetch a single project by id, including its description as Markdown (null if empty).
get_report_template
ChatGPTFetch one report (export) template — columns, saved query (filters/orders) and grouping. Returns null when no template of that family has the id.
get_role
ChatGPTFetch one role including its permissions.
get_sprint
ChatGPTFetch a single sprint by id, including its task summary (todo / inprogress / done counts). To list its tasks, call list_tasks with sprintId.
get_tag
ChatGPTFetch one tag/label with its description, defaultHourlyRate (org currency; null if unset), and archived state.
get_task
ChatGPTFetch a single task by id, including its description as Markdown (null if empty) and its attachments. Each attachment carries a time-limited downloadUrl — give it to the user as a clickable link; do not fetch the file yourself.
get_team
ChatGPTFetch a team with its members and labels. Member entries carry a membership id (for update_team_member / remove_team_member), the user, and the member's team roles.
get_time_record
ChatGPTFetch a single time record by id.
get_timer
ChatGPTReturn the current running/paused stopwatch (or null if none).
get_user
ChatGPTFetch one user with the full attribute set: position, cost rate, billable rate, commission, contract, work capacity, working schedule, global roles, and teams.
get_workflow
ChatGPTFetch a workflow's statuses including transitions (transitionsTo), initial flags, alwaysAccessible, and each status's chartCoordinates on the designer canvas. type=PROJECT is the org-wide project workflow; type=TASK is a project's task workflow — every project has one, SIMPLE projects included. Statuses come back in the order of the workflow's status array, which is the board order only when the board has no columns of its own; the returned orderNote says which lever applies (see also list_task_statuses).
import_guide
ChatGPTPlaybook for importing a user's existing data (a spreadsheet, CSV, export or pasted list of clients, projects, tasks or time records) into Primatime: how to map columns, find and ask about ambiguous links, and which bulk tools to call in which order. Call it before the first bulk create of an import. Read-only.
initiate_task_attachment_upload
ChatGPTStart uploading a file attachment: returns an attachmentId and a presigned storage URL to HTTP-PUT the REAL file bytes to, then call confirm_task_attachment_upload. That PUT requires direct access to the file (a local MCP setup or an agent with shell access) — from hosted chat an uploaded file's original bytes never reach this server, so uploading is NOT possible there. NEVER generate or reconstruct file content yourself — without access to the original bytes, do not upload.
invite_user
ChatGPTInvite a new user by email (createUser — the user starts in state INVITED). access FULL_ACCESS consumes a license; VIEW_ONLY does not. Optional attributes (position, rates, capacity, schedule, contract, commission, phone, labels, global roles) can be set right away. The display name (first/last name) is set by the invitee when they accept the invite; it is not settable via the API.
list_bank_accounts
ChatGPTList the organization's bank accounts (for invoicing).
list_billable_rates
ChatGPTList hourly/billable rates. Each rate attaches a money-per-interval value to a combination of client / project / task / user / team / tags; the most specific match wins per time record. Date-ranged via validFrom/validTo. Filter by any combination of userId / clientId / projectId / taskId / teamId.
list_board_columns
ChatGPTList a project's board columns IN BOARD ORDER (each with its index and the task statuses it shows), the way the app renders the board. ADVANCED projects have real board columns (reorder with reorder_board_columns); SIMPLE projects have no column entities — their board is one column per task-workflow status, so those columns carry no column id and follow the STATUS order, which cannot be reordered through this server.
list_clients
ChatGPTList clients, optionally filtered by a search term.
list_contact_persons
ChatGPTList a client's contact persons (name, position, email, phone) — the people list on the client's detail page.
list_expense_templates
ChatGPTList expense (billing item) templates — reusable presets for recurring expenses.
list_expenses
ChatGPTList expenses — "Additional items" in the app, billingItem in the API: one-off billable or internal costs tied to a client/project/user, invoiceable alongside time records. Filterable on the app's grid dimensions (client, project, user, billable, billed, invoiced, dates, price…) — call list_filter_fields with entityType BILLING_ITEM for the field/operator catalog.
list_filter_fields
ChatGPTDiscover the FilterField and FilterOperator enum values usable in a view / quick-filter / report query (the field and operator of each filter/order/groupBy). FilterField has ~450 values grouped by scope; pass scope (a name prefix, e.g. CLIENT, TASK, TIME_RECORD_REPORT, USER) to narrow — plural view-scope spellings (BILLING_ITEMS, INVOICES) are accepted and normalized, and an unknown scope errors instead of returning empty. Read-only runtime introspection — always current.
list_flat_rates
ChatGPTList flat rates (fixed fees): recurring fixed-price billing items — retainers and capped-fee work. Each repeats per repeatPeriod (WEEKLY/MONTHLY/YEARLY) between startDate and endDate.
list_invoices
ChatGPTList invoices and billing reports (billingReport=true). status DRAFT vs ISSUED; effectiveCode is the invoice number. Filterable on the app's invoice-grid dimensions (paid, status, client, dates, price, mail status…) — call list_filter_fields with entityType INVOICE for the field/operator catalog.
list_members
ChatGPTList a project's or client's members with their roles and teams. Each entry has a membership id (use it for update_member / remove_member) and direct=false when the membership is inherited via a team (those can only be removed with remove_member_team). For task assignees use list_project_members instead.
list_my_time_records
ChatGPTList the authenticated user's time records within a date range (or a named period like this_week). Returns compact rows + a summary with total hours.
list_organizations
ChatGPTList the organizations (tenants) the signed-in account can access, marking the one this session is currently connected to (active).
list_project_members
ChatGPTList the people who can be a task's assignee or reporter in a project. Returns each member's userId (pass it as assigneeId / reporterId on create_task / patch_task) with their name and email. Optionally filter by a search term.
list_project_statuses
ChatGPTList the statuses available when creating/updating a project (the organization's project workflow).
list_project_templates
ChatGPTList the organization's project templates. A template is a project marked as template — apply one with create_project_from_template.
list_projects
ChatGPTList projects, optionally filtered by client and/or search term.
list_quick_filters
ChatGPTList the saved quick filters for an entity type (max 20 per type). Each item's query is in create_quick_filter's input shape — hand it straight back to create_quick_filter / update_quick_filter.
list_report_templates
ChatGPTList report/export templates (saved column sets + filters used when exporting reports) per entity family.
list_role_permissions
ChatGPTThe valid permission enum values for each role kind (from the live schema). Use these in create_role and update_role.
list_roles
ChatGPTList roles of one of the four kinds (global / project / client / team). assignableOnly limits to roles the current user may assign. Use list_role_permissions for the valid permission values per kind.
list_sprints
ChatGPTList a project's sprints. Provide the project by id or name; use filter to select all / active / future / incomplete.
list_tags
ChatGPTList the organization's tags (optionally filtered), each with its defaultHourlyRate (org currency; null if unset).
list_task_statuses
ChatGPTList the statuses available for tasks in a project's workflow (every project has one, SIMPLE projects included). Use to pick a status id when creating/updating a task. Each status carries the board column it sits in, and the list is ordered the way the BOARD shows them. The returned note says whether that order is changeable: reorder_board_columns when boardColumns is non-empty; when it is empty the board follows the workflow's status order, which cannot be reordered here. boardColumns: null means the board could not be read at all — the order and every boardColumn are then UNKNOWN, not empty.
list_tasks
ChatGPTList tasks, optionally filtered by project, status, sprint, and search term. Pass sprintId to list the tasks in a sprint. Pass sectionId/sectionName to list a personal TODO section instead (sections are per-user — this lists YOUR section; see my_todo_list / list_todo_sections). Tasks inside project templates are not part of this list (by design) — they are only visible in the template itself.
list_teams
ChatGPTList the organization's teams.
list_time_records
ChatGPTList time records across the organization, filtered by project / client / task / date range / search term.
list_time_tracking_tags
ChatGPTList the tags valid for time tracking, optionally scoped to a project/client. Some organizations require a time-tracking tag on every time record — use these values for create_time_record.
list_todo_sections
ChatGPTThe current user's personal TODO-list sections, each with a task count (id, title, default, taskCount). taskCount is the OPEN tasks — the same total my_todo_list reports for the section; completed ones are in completedCount. Both are exact at any size. A cheap overview (no task rows) before drilling into one with my_todo_list(sectionName).
list_users
ChatGPTList the organization's users (state: ACTIVATED / INVITED, plus DEACTIVATED when includeDeactivated is true), with position, global roles, and teams.
list_views
ChatGPTList the saved custom views of a page (scope), each with its saved query (filters, orders, and groupBy grouping dimension) and settings (columns, groupSorts...). The default view's saved orders act as the page's default sort.
mark_invoice_paid
ChatGPTMark an invoice as paid and set its dateOfPayment (defaults to today).
move_tasks_to_sprint
ChatGPTAssign one or more tasks to a sprint. Omit sprintId (or pass null) to move the tasks to the backlog instead. Up to 100 tasks per call.
my_daily_summary
ChatGPTThe authenticated user's tracked hours per day over a date range (handy for timesheet review).
my_todo_list
ChatGPTThe current user's personal TODO list: their assigned tasks organized into the sections they see in Primatime (e.g. "Today's plan" / "This week" / "Do later"). Use this to see what to work on. Rows are COMPACT by default (id, code, title, status, priority, dueDate, storyPoints, section, tags, url) — pass detailed: true for fuller task objects (dependencies, sprint, assignee, reporter, board column, dates, recurrence, …); use get_task for descriptions and budgets. Completed (DONE) tasks are hidden unless includeCompleted is true. Per section, taskCount is how many tasks MATCH (the section total, unaffected by limit — the same number list_todo_sections reports), returnedCount how many rows came back, and hasMore whether limit cut it short. Narrow to one section with sectionId/sectionName. To work on an item, use patch_task (e.g. set its status); to (re)organize, pass section on create_task / patch_task.
patch_task
ChatGPTPartial update of a task — only the fields you pass change. To set a status by name, also pass the projectId (or it is looked up). The description is Markdown; an empty string clears it. Manage tags via tags/addTags/removeTags and dependencies via blocks/blockedBy (replace) or addBlocks/removeBlocks/addBlockedBy/removeBlockedBy (incremental).
patch_tasks
ChatGPTApply partial updates to MANY tasks in one call (max 50 items). Each item takes a task ref (taskId or code) plus the same fields as patch_task; only the fields you pass change. Ideal for weekly planning (e.g. move 20 tasks to a sprint or section at once). Items whose resulting changes are identical are sent as a single bulk mutation for you; if that grouped bulk call fails, its items are retried individually so failures are attributed per item. The batch is NON-ATOMIC: it continues past a failing item and returns a per-item result [{id, ok, error?}] — check it for partial failures.
patch_time_record
ChatGPTPartial update of a time record — only the fields you pass change. Pass null for projectId / clientId / taskId / hourlyRate to clear that field. client/project/task are one hierarchy and only the level you name changes: clearing the task keeps project and client, clearing the project keeps the client (the task goes with it), re-setting the record's own client keeps project and task; moving to ANOTHER client or project drops the narrower levels (a project can only belong to its own client).
patch_time_records
ChatGPTPartial update of MANY time records (max 100 items), e.g. move last week's records to another project or make them non-billable. Each item takes a record id plus the patch_time_record fields. Items whose changes are identical are sent together as one bulk write; different changes go out as separate writes, so a partial failure is possible — check the per-item result [{id, ok, error?}] and retry only the failed items (retrying is safe). A record listed twice with different changes is rejected before anything is written.
pause_timer
ChatGPTPause the current (or given) timer. The elapsed segment becomes a time record, so in organizations that require time-tracking tags pass tags here (see list_time_tracking_tags), like when stopping.
reactivate_user
ChatGPTReactivate a deactivated user (the reverse of deactivate_user).
remove_invoice_item
ChatGPTPermanently delete a line from a DRAFT invoice.
remove_member
ChatGPTRemove a direct member from a project or client by membership id (from list_members). Members inherited via a team are removed with remove_member_team.
remove_member_team
ChatGPTDetach a team from a project or client, which also removes the memberships inherited through it.
remove_team_member
ChatGPTRemove a member from a team by membership id (from get_team).
remove_workflow_status
ChatGPTRemove a status from a workflow; move the entities in it to another status first. The API replaces the whole status graph; this tool rebuilds it around one change. Works on the task workflow of ANY project, SIMPLE included.
rename_todo_section
ChatGPTRename one of YOUR OWN TODO-list sections, optionally moving it to a new position.
rename_workflow
ChatGPTRetitle a workflow — the org-wide project workflow or any project's task workflow, SIMPLE projects included.
reorder_board_columns
ChatGPTReorder a project's board columns. The column order IS the board's left-to-right order and the only ordering task statuses have; this rewrites the whole board, and any column you omit keeps its relative position after the ones you name.
reorder_todo_sections
ChatGPTReorder YOUR OWN TODO-list sections: pass ALL section ids in the new order.
reorder_views
ChatGPTReorder the saved views of a page (scope): pass all view ids in the new order.
resend_user_invite
ChatGPTSend the invitation email again to a user in state INVITED.
resolve_client
ChatGPTSearch clients by name or code; returns candidate ids.
resolve_project
ChatGPTSearch projects by name or code; returns candidate ids. Use to turn a project name into an id before other calls.
resolve_task
ChatGPTSearch tasks by title/code, optionally within a project; returns candidate ids.
resolve_user
ChatGPTSearch the people you can log/edit time for, by name or email; returns each one's userId. Use to turn a name/email into a userId before assigning a time record to someone else. (create_time_record / patch_time_record also accept a name or email directly in userId.)
restore_flat_rate
ChatGPTRestore a deleted flat rate from the trash (the reverse of delete_flat_rate).
resume_timer
ChatGPTResume the current (or given) paused timer.
revoke_user_invite
ChatGPTRevoke the pending invitation of a user in state INVITED.
send_invoice_email
ChatGPTEmail an invoice to the client (or to a specific contact person) with the given subject and message. Sends a real email; each call sends again.
set_default_todo_section
ChatGPTMake one of YOUR OWN TODO-list sections the default — the section tasks fall back to when their section is deleted.
set_default_view
ChatGPTMake a saved view the default of its page (scope), including its saved sort order.
setup_primatime
ChatGPTGuided onboarding of a NEW organization. Call ONLY when the user explicitly asks to set up / onboard their primaTime organization — never proactively or as a suggestion. Only the organization owner can run it, and only while the organization has little data. Read-only: returns what already exists, the progress per stage and the next step with its questions ({id, text, options?}) — ask them as buttons where your client supports it, otherwise as a short numbered list. Call it again after each stage to get the next step. It never creates anything itself.
start_sprint
ChatGPTStart (activate) a sprint, making it the project's running sprint. Optionally override title/description/duration/dates; otherwise it starts with its current settings.
start_timer
ChatGPTStart a stopwatch for the current user. Project/task/client by id or name — they form ONE hierarchy (task > project > client): the backend derives the broader levels from the narrowest one given, so a client passed alongside a project is ignored in favour of the project's own. Starts now unless start is given.
stop_timer
ChatGPTStop the timer; it becomes a time record (returned). Optionally set tags / descriptions on stop. Acts on the current timer if no id is given.
time_report_by
ChatGPTBreak tracked time down by a dimension (project, client, task, or user) over a date range. Each row has hours, billable hours, count, costs, revenues, profit. Example: {period:'last_week', groupBy:'project'}. A record overlapping the range boundary counts IN FULL (not clipped), so do not sum sub-ranges to build a total — query the full range instead.
time_report_by_tag
ChatGPTTracked time grouped by tag over a date range (hours, billable hours, costs, revenues, profit per tag). A record carrying several tags counts into EACH tag's row, so the rows sum to MORE than the real total when multi-tag records exist — use time_summary for the true total.
time_report_for
ChatGPTONE entity's tracked time broken down by a dimension — the app's report detail grids. entity: project / client / user / tag (by id or name); groupBy: what to break it down by. Valid combinations: project by user/task/tag; client by user/project/tag; user by client/project/task/tag; tag by client/project/task/user. Example: a project's time per tag = {entity:'project', entityName:'Acme', groupBy:'tag', period:'this_month'}. Rows and the summary are computed by the backend.
time_summary
ChatGPTTotals for tracked time over a date range: hours, billable hours, costs, revenues, profit. Optionally filter by project / client / task / user / billable. Example: {period:'this_week'}. A record overlapping the range boundary counts IN FULL (not clipped), so do not sum sub-ranges to build a total — query the full range instead.
unarchive_bank_account
ChatGPTUnarchive a bank account (the reverse of archive_bank_account).
unarchive_billable_rate
ChatGPTUnarchive a billable rate (the reverse of archive_billable_rate).
unarchive_client
ChatGPTUnarchive a client (the reverse of archive_client).
unarchive_contact_person
ChatGPTUnarchive a client's contact person (the reverse of archive_contact_person).
unarchive_expense
ChatGPTUnarchive an expense (the reverse of archive_expense).
unarchive_expense_template
ChatGPTUnarchive an expense template (the reverse of archive_expense_template).
unarchive_invoice
ChatGPTUnarchive an invoice (the reverse of archive_invoice).
unarchive_project
ChatGPTUnarchive a project (the reverse of archive_project).
unarchive_report_template
ChatGPTUnarchive a report (export) template (the reverse of archive_report_template).
unarchive_role
ChatGPTUnarchive a role (the reverse of archive_role).
unarchive_tag
ChatGPTUnarchive a tag/label (the reverse of archive_tag).
unarchive_task
ChatGPTUnarchive a task (the reverse of archive_task).
unarchive_team
ChatGPTUnarchive a team (the reverse of archive_team).
update_bank_account
ChatGPTPartial update of a bank account — only the fields you pass change.
update_billable_rate
ChatGPTUpdate a billable rate: merges with the current rate, so omitted fields keep their values; scope fields can be overridden but not cleared (recreate the rate to clear its scope). The write is VERIFIED and errors if the backend silently kept the old value (a known backend defect).
update_board_column
ChatGPTChange a board column's title, the task statuses it shows (statusIds — see list_task_statuses and list_board_columns), or move a single custom column with index. Only the fields you pass change.
update_client
ChatGPTPartial update of a client — only the fields you pass change.
update_clients
ChatGPTPartial update of MANY clients (max 100 items). Each item names a client (id, code or title) plus the update_client fields to change. Items whose changes are identical are sent together as one bulk write; different changes go out as separate writes, so a partial failure is possible — check the per-item result [{id, ok, error?}] and retry only the failed items (retrying is safe). A client listed twice with different changes is rejected before anything is written.
update_contact_person
ChatGPTPartial update of a client's contact person — only provided fields change (phoneNumber: null clears the number).
update_expense
ChatGPTUpdate an expense: merges with the current expense — only provided fields change, the owner stays unless userId is passed, and fields can be overridden but not cleared.
update_expense_template
ChatGPTUpdate an expense template: merges with the current template — omitted fields (including individual data presets) keep their values.
update_flat_rate
ChatGPTPartially update a flat rate (fixed fee) — omitted fields keep their values.
update_invoice
ChatGPTPartial edit of an invoice — only the fields you pass change. To issue a draft use finalize_invoice.
update_invoice_item
ChatGPTEdit a line on a DRAFT invoice, merged with the current line: omitted fields keep their values; passing any of price/unit/timeRecordIds/billingItemIds replaces the line's substance with exactly what you pass (when passing timeRecordIds/billingItemIds, also pass price = their billable total; the backend requires it on lines without a unit).
update_invoice_settings
ChatGPTPartial update of the organization's invoicing defaults, including the invoice-numbering scheme, the default invoice email, and nextNumber (repoint a year's numbering sequence — pass year to target another year). billingReport: true updates the separate billing-report settings instead (no constantSymbol there).
update_member
ChatGPTReplace one project or client member's roles. Takes the membership id from list_members and the member's userId.
update_project
ChatGPTPartial update of a project — only the fields you pass change. Privacy (public/private) CANNOT be changed after creation, so there is no public field here. A private project can be billable and have a client, but members cannot be added while it is private. Manage cross-project dependencies via blocks/blockedBy (replace) or addBlocks/removeBlocks/addBlockedBy/removeBlockedBy (incremental).
update_projects
ChatGPTPartial update of MANY projects (max 100 items), e.g. connect 100 projects to their clients. Each item names a project (id, code or title) plus the update_project fields to change. Items whose changes are identical are sent together as one bulk write; different changes go out as separate writes, so a partial failure is possible — check the per-item result [{id, ok, error?}] and retry only the failed items (retrying is safe). A project listed twice with different changes is rejected before anything is written.
update_quick_filter
ChatGPTPartial update of a saved quick filter — omitted fields keep their current values.
update_report_template
ChatGPTPartial update of a report (export) template — only the fields you pass change, including its saved query and grouping. columns are the family's report-column enum values (e.g. TITLE, CLIENT, STATUS, TOTAL_TRACKED_TIME — validated by the server; get_report_template on an existing template shows a reference).
update_role
ChatGPTUpdate a role's title, description and/or permissions (values from list_role_permissions for that kind). System (built-in) roles cannot be edited.
update_sprint
ChatGPTPartial update of a sprint — only the fields you pass change.
update_tag
ChatGPTPartial update of a tag/label: title, description, color, defaultHourlyRate (org currency; null clears it). (Attach labels to projects/clients via update_project / update_client tags and timeTrackingTags.)
update_team
ChatGPTRename a team and/or replace its labels; pass at least one of title and labels. Teams have no description / notes field (backend limitation) — use labels to categorize them.
update_team_member
ChatGPTReplace one team member's team roles. Takes the membership id from get_team and the member's userId.
update_user
ChatGPTPartial update of a user — only the fields you pass change. Covers position, cost/billable rate, commission, contract, phone (null clears), labels, work capacity, working schedule, access level, and global roles (add/remove/replaceWith role ids).
update_view
ChatGPTPartial update of a saved view — title, public, autosave, saved filters+orders+grouping via query (query.groupBy is the group dimension, settings.groupSorts the per-group sort), settings JSON. System views CAN be edited and edits affect EVERYONE — prefer duplicate_view and editing the copy.
update_workflow_status
ChatGPTRename, retype, set initial / alwaysAccessible, set the transitions of, or move on the designer canvas one workflow status — only the fields you pass change. Transitions are only ENFORCED against statuses whose alwaysAccessible is false. Board ORDER is changed with reorder_board_columns (ADVANCED projects). The API replaces the whole status graph; this tool rebuilds it around one change. Works on the task workflow of ANY project, SIMPLE included.
whoami
ChatGPTBootstrap call: returns the authenticated user, organization (tenant), timezone, and recently used projects. Use this first to avoid extra lookups. Valid time-tracking tags are PER-PROJECT — get them with list_time_tracking_tags after picking a project. Note: times in this API are UTC — use the returned timezone to convert local times (or pass ISO 8601 with an offset).