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

# Get time entry

> Get a single time entry by ID.



## OpenAPI

````yaml /openapi.json get /time-entry/{id}
openapi: 3.1.0
info:
  title: Kaneo API
  version: 1.0.0
  description: Kaneo Project Management API - Manage projects, tasks, labels, and more
servers:
  - url: https://cloud.kaneo.app/api
    description: Kaneo API Server
security:
  - bearerAuth: []
paths:
  /time-entry/{id}:
    get:
      tags:
        - Time Entries
      summary: Get time entry
      description: Get a single time entry by ID.
      operationId: getTimeEntry
      parameters:
        - schema:
            type: string
          required: true
          name: id
          in: path
      responses:
        '200':
          description: Time entry details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TimeEntry'
        '400':
          description: Unknown entry, or its workspace could not be determined
          content:
            text/plain:
              schema:
                type: string
        '401':
          description: Missing or invalid credentials
        '403':
          description: No access to the entry's workspace
          content:
            text/plain:
              schema:
                type: string
components:
  schemas:
    TimeEntry:
      type: object
      properties:
        id:
          type: string
        taskId:
          type: string
        userId:
          type:
            - string
            - 'null'
          description: Null once the user who logged the time has been removed.
        description:
          type:
            - string
            - 'null'
        startTime:
          type: string
          format: date-time
        endTime:
          type:
            - string
            - 'null'
          format: date-time
          description: Null while the timer is still running.
        duration:
          type:
            - number
            - 'null'
          description: Elapsed seconds, filled in once the entry has an endTime.
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      required:
        - id
        - taskId
        - userId
        - description
        - startTime
        - endTime
        - duration
        - createdAt
        - updatedAt
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key or session token (Bearer)

````