Retrieve my time entry

Retrieves one canonical entry only when it belongs to both the resolved workspace and authenticated principal.

GET/api/v1/time-entries/:id

Authorization

time:read_selfapi key scoperequired
Required scope when calling with an API key.

Path parameters

idstringrequired
Canonical time-entry ID

Example: time_01k2...

Request

curl -X GET "https://www.digitalstack360.com/api/v1/time-entries/time_01k2..." \
  -H "Authorization: Bearer $DS_API_KEY"

Examples use a placeholder key from your environment. Store your key in $DS_API_KEY — never commit it.

Response

200 OK
{
  "data": {
    "id": "time_01k2...",
    "work_date": "2026-07-14",
    "duration_minutes": 90,
    "billable_status": "billable",
    "category_key": "client_delivery",
    "notes": "Implemented retry handling",
    "target_type": "project",
    "target_id": "proj_abc123",
    "project_id": "proj_abc123",
    "status": "draft",
    "version": 1,
    "source": {
      "kind": "manual",
      "external_source": null,
      "external_id": null
    },
    "created_at": "2026-07-14T18:22:04Z",
    "updated_at": "2026-07-14T18:22:04Z"
  },
  "meta": {
    "self_scoped": true
  }
}

Errors

401
missing_auth

No credentials provided

401
invalid_api_key

API key is invalid or revoked

403
scope_insufficient

Key lacks time:read_self scope

404
not_found

Entry does not exist or is outside the principal boundary