Time Entries

Retrieve an employee’s current workday state

Return the derived state of an employee’s current workday (not_started/working/paused/finished), reconstructed from the open work span in the immutable ledger — there is no session table. employee_id (UUID v7) is required as a query parameter.

get/companies/{company}/time-entries/current

Request

  • Base URL: https://api.factuarea.com/v1
  • URL: https://api.factuarea.com/v1/companies/{company}/time-entries/current
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

companystring uuid required

Public identifier (UUID v7) of the company. Get it from GET /v1/me (data.scope[].id).

Query parameters

employee_idstring uuid required

Employee ID (UUID v7) whose workday status is queried.

Headers

Factuarea-Versionstring date
Example:2026-06-01

Pin the API version (YYYY-MM-DD, Stripe-style date versioning) for this request; omit to use the key's pinned version, or the latest if none. Unsupported version → 400 unsupported_api_version; malformed → 400 parameter_invalid_format. The effective version is echoed in the Factuarea-Version response header. See the Versioning guide.

Response

Example response

{
  "data": {
    "object": "workday_session",
    "status": "working",
    "since": "2026-05-04T09:03:00Z",
    "last_entry_type": "clock_in"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.