> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# Get Current Time Entry

- Component: `appmixer.toggl.core.GetCurrentTimeEntry`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.toggl 1.0.0](https://connectors.appmixer.com/connector/appmixer.toggl/1.0.0.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.toggl/1.0.0/component/appmixer.toggl.core.GetCurrentTimeEntry>

Get the running timer of the connected user. Goes to the Not Found port when no timer is running.

## Input ports

### Port `in`

_No fields defined for this port._

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| Time Entry ID (`id`) | integer | - |
| Workspace ID (`workspace_id`) | integer | - |
| Project ID (`project_id`) | integer | - |
| Task ID (`task_id`) | integer | - |
| User ID (`toggl_user_id`) | integer | - |
| Type (`type`) | string | - |
| Description (`description`) | string | - |
| Start (`start`) | string | - |
| Stop (`stop`) | string | - |
| Duration (seconds) (`duration`) | integer | - |
| Billable (`billable`) | boolean | - |
| Tag IDs (`tag_ids`) | array | - |
| Time Zone (`timezone`) | string | - |
| Created At (`created_at`) | string | - |
| Updated At (`updated_at`) | string | - |

### Port `notFound`

_No fields defined for this port._

## Full metadata (component.json)

```json
{
  "name": "appmixer.toggl.core.GetCurrentTimeEntry",
  "label": "Get Current Time Entry",
  "description": "Get the running timer of the connected user. Goes to the Not Found port when no timer is running.",
  "author": "Appmixer <info@appmixer.com>",
  "version": "1.0.0",
  "auth": {
    "service": "appmixer:toggl"
  },
  "quota": {
    "manager": "appmixer:toggl",
    "resources": "requests",
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "inPorts": [
    {
      "name": "in"
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "schema": {
        "type": "object",
        "required": [
          "id",
          "workspace_id",
          "type"
        ],
        "properties": {
          "id": {
            "type": "integer",
            "title": "Time Entry ID",
            "example": 247977688
          },
          "workspace_id": {
            "type": "integer",
            "title": "Workspace ID",
            "example": 21808213
          },
          "project_id": {
            "type": "integer",
            "title": "Project ID",
            "example": 5302177
          },
          "task_id": {
            "type": "integer",
            "title": "Task ID",
            "example": 18514337
          },
          "toggl_user_id": {
            "type": "integer",
            "title": "User ID",
            "example": 7987332
          },
          "type": {
            "type": "string",
            "title": "Type",
            "example": "activity"
          },
          "description": {
            "type": "string",
            "title": "Description",
            "example": "Write release notes"
          },
          "start": {
            "type": "string",
            "format": "date-time",
            "title": "Start",
            "example": "2026-11-18T09:00:00Z"
          },
          "stop": {
            "type": "string",
            "format": "date-time",
            "title": "Stop",
            "example": "2026-11-18T10:30:00.000Z"
          },
          "duration": {
            "type": "integer",
            "title": "Duration (seconds)",
            "example": 5400
          },
          "billable": {
            "type": "boolean",
            "title": "Billable",
            "example": false
          },
          "tag_ids": {
            "type": "array",
            "title": "Tag IDs",
            "items": {
              "type": "integer"
            },
            "example": [
              16123
            ]
          },
          "timezone": {
            "type": "string",
            "title": "Time Zone",
            "example": "Europe/Prague"
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "title": "Created At",
            "example": "2026-11-18T10:30:05.655129Z"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "title": "Updated At",
            "example": "2026-11-18T10:30:05.655129Z"
          }
        }
      }
    },
    {
      "name": "notFound"
    }
  ],
  "icon": "(data URI omitted)"
}
```
