Harvest Time Entries API

The Time Entries API from Harvest — 5 operation(s) for time entries.

GitHub OpenAPI
Business capability
Timekeeping Management BC-4330.10

Operations 8

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /time_entries List time entries · List time entries #
Ask an LLM
“What time entries have I tracked this week?”
“Can I see all time entries across my projects?”
Tell an agent
List my time entries.
Show every time entry I've tracked.
POST /time_entries Track time on a task · Create a time entry #
Ask an LLM
“How do I record time spent on a task?”
“Can I log hours worked on a project?”
Tell an agent
Create a time entry for this task.
Log time worked on a project.
GET /time_entries/{time_entry_id} Retrieve a time entry · Retrieve a time entry #
Ask an LLM
“How do I look up one time entry?”
“What hours are recorded on a specific time entry?”
Tell an agent
Get time entry {time_entry_id}.
Show the hours on time entry {time_entry_id}.
PATCH /time_entries/{time_entry_id} Edit a time entry · Update a time entry #
Ask an LLM
“Can I change the hours on a time entry?”
“How do I correct a time entry I already logged?”
Tell an agent
Update time entry {time_entry_id}.
Change the hours on time entry {time_entry_id}.
DELETE /time_entries/{time_entry_id} Delete a time entry · Delete a time entry #
Ask an LLM
“Can I delete a time entry I tracked by mistake?”
“What happens when I remove a time entry?”
Tell an agent destructive · confirm first
Delete time entry {time_entry_id}.
Remove the time entry {time_entry_id}.
PATCH /time_entries/{time_entry_id}/restart Restart a stopped time entry · Restart a stopped time entry #
Ask an LLM
“How do I resume a time entry I stopped?”
“Can I restart a time entry that was paused?”
Tell an agent
Restart time entry {time_entry_id}.
Resume the stopped time entry {time_entry_id}.
PATCH /time_entries/{time_entry_id}/stop Stop a running time entry · Stop a running time entry #
Ask an LLM
“How do I stop a time entry that is still running?”
“Can I pause a time entry I'm tracking?”
Tell an agent
Stop time entry {time_entry_id}.
Pause the running time entry {time_entry_id}.
DELETE /time_entries/{time_entry_id}/external_reference Remove an external reference from a time entry · Remove external reference from a time entry #
Ask an LLM
“Can I unlink a time entry from the external system it was synced with?”
“How do I clear the external reference on a time entry?”
Tell an agent destructive · confirm first
Remove the external reference from time entry {time_entry_id}.
Unlink time entry {time_entry_id} from its external reference.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/harvest:harvest-time-entries-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

harvest-time-entries-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Harvest API v2 Time Entries API
  version: 2.0.0
  description: 'REST API for Harvest time tracking, projects, clients, invoices,

    estimates, expenses, tasks, users, roles, company settings, and reports.

    Authentication uses a personal access token or OAuth 2.0 bearer token in

    the Authorization header together with the Harvest-Account-Id header.'
  contact:
    name: Harvest API Documentation
    url: https://help.getharvest.com/api-v2/
servers:
- url: https://api.harvestapp.com/v2
  description: Harvest production API
security:
- bearerAuth: []
tags:
- name: Time Entries
paths:
  /time_entries:
    get:
      summary: List time entries
      operationId: listTimeEntries
      tags:
      - Time Entries
      responses:
        '200':
          description: List of time entries.
    post:
      summary: Create a time entry
      operationId: createTimeEntry
      tags:
      - Time Entries
      responses:
        '201':
          description: Time entry created.
  /time_entries/{time_entry_id}:
    get:
      summary: Retrieve a time entry
      operationId: getTimeEntry
      tags:
      - Time Entries
      parameters:
      - in: path
        name: time_entry_id
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: Time entry details.
    patch:
      summary: Update a time entry
      operationId: updateTimeEntry
      tags:
      - Time Entries
      parameters:
      - in: path
        name: time_entry_id
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: Time entry updated.
    delete:
      summary: Delete a time entry
      operationId: deleteTimeEntry
      tags:
      - Time Entries
      parameters:
      - in: path
        name: time_entry_id
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: Time entry deleted.
  /time_entries/{time_entry_id}/restart:
    patch:
      summary: Restart a stopped time entry
      operationId: restartTimeEntry
      tags:
      - Time Entries
      parameters:
      - in: path
        name: time_entry_id
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: Time entry restarted.
  /time_entries/{time_entry_id}/stop:
    patch:
      summary: Stop a running time entry
      operationId: stopTimeEntry
      tags:
      - Time Entries
      parameters:
      - in: path
        name: time_entry_id
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: Time entry stopped.
  /time_entries/{time_entry_id}/external_reference:
    delete:
      summary: Remove external reference from a time entry
      operationId: deleteTimeEntryExternalReference
      tags:
      - Time Entries
      parameters:
      - in: path
        name: time_entry_id
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: External reference removed.
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Personal access token or OAuth 2.0 access token passed in the

        Authorization header. The Harvest-Account-Id header (or account_id

        query parameter) is also required.

        '