> ## Documentation Index
> Fetch the complete documentation index at: https://kliio.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Time Entry

> Retrieves a single time entry by ID.

### Headers

<ParamField header="Authorization" type="string" required>
  `Bearer YOUR_API_KEY`
</ParamField>

### Path Parameters

<ParamField path="id" type="string" required>
  UUID of the time entry to retrieve.
</ParamField>

### Response

<ResponseField name="data" type="object">The time entry object, including embedded `project` and `task`.</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl https://kliio.app/api/v1/time-entries/te-uuid-... \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```

  ```js JavaScript theme={null}
  const res = await fetch('https://kliio.app/api/v1/time-entries/te-uuid-...', {
    headers: { Authorization: 'Bearer YOUR_API_KEY' }
  })
  const { data } = await res.json()
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "data": {
      "id": "te-uuid-...",
      "hours": 3,
      "hourly_rate": 120,
      "date": "2025-03-20",
      "description": "Wireframing",
      "project": { "id": "proj-uuid-...", "name": "Acme Rebrand" },
      "task": { "id": "task-uuid-...", "name": "Design homepage mockup" },
      "created_at": "2025-03-20T18:00:00.000Z"
    }
  }
  ```

  ```json 404 theme={null}
  { "error": "Time entry not found or access denied" }
  ```
</ResponseExample>
