# Harvest list time entries

`harvest__list_time_entries`

## Access

Requires a project integration connection for `harvest`.

**Call type:** Can read or manage credentials.

## Arguments

| Field           | Type      | Required | Description and constraints                                                                                 |
| --------------- | --------- | -------- | ----------------------------------------------------------------------------------------------------------- |
| `account_id`    | `string`  | Yes      | Harvest Account ID (get it from [`harvest__list_accounts`](/docs/cloud/mcp/tools/harvest-list-accounts.md)) |
| `user_id`       | `number`  | No       | Filter by user ID                                                                                           |
| `client_id`     | `number`  | No       | Filter by client ID                                                                                         |
| `project_id`    | `number`  | No       | Filter by project ID                                                                                        |
| `task_id`       | `number`  | No       | Filter by task ID                                                                                           |
| `is_running`    | `boolean` | No       | Filter to only currently running timers                                                                     |
| `is_billed`     | `boolean` | No       | Filter by billed status                                                                                     |
| `from`          | `string`  | No       | Start date (YYYY-MM-DD). Return entries with `spent_date` >= from.                                          |
| `to`            | `string`  | No       | End date (YYYY-MM-DD). Return entries with `spent_date` <= to.                                              |
| `updated_since` | `string`  | No       | Only return entries updated after this ISO 8601 datetime                                                    |
| `page`          | `number`  | No       | Page number                                                                                                 |
| `per_page`      | `number`  | No       | Results per page (max 100)                                                                                  |

## Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See [MCP client setup](/docs/cloud/getting-started/connect-mcp.md).

```json title="request.json"
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "harvest__list_time_entries",
    "arguments": {
      "account_id": "example"
    }
  }
}
```

## Result

No output schema is published for this tool. The input contract does not define its return fields. Inspect the MCP response content and `isError`; do not assume a fixed object shape. See the [harvest integration reference](/docs/cloud/apis/integrations.md) for provider setup and tool context.

## Full schemas

```json title="input-schema.json"
{
  "type": "object",
  "properties": {
    "account_id": {
      "type": "string",
      "description": "Harvest Account ID (get it from harvest__list_accounts)"
    },
    "user_id": {
      "type": "number",
      "description": "Filter by user ID"
    },
    "client_id": {
      "type": "number",
      "description": "Filter by client ID"
    },
    "project_id": {
      "type": "number",
      "description": "Filter by project ID"
    },
    "task_id": {
      "type": "number",
      "description": "Filter by task ID"
    },
    "is_running": {
      "type": "boolean",
      "description": "Filter to only currently running timers"
    },
    "is_billed": {
      "type": "boolean",
      "description": "Filter by billed status"
    },
    "from": {
      "type": "string",
      "description": "Start date (YYYY-MM-DD). Return entries with spent_date >= from."
    },
    "to": {
      "type": "string",
      "description": "End date (YYYY-MM-DD). Return entries with spent_date <= to."
    },
    "updated_since": {
      "type": "string",
      "description": "Only return entries updated after this ISO 8601 datetime"
    },
    "page": {
      "type": "number",
      "description": "Page number"
    },
    "per_page": {
      "type": "number",
      "description": "Results per page (max 100)"
    }
  },
  "required": [
    "account_id"
  ],
  "description": "Arguments for the harvest__list_time_entries tool."
}
```
