Skip to content

Time management

Track and manage time, expense, operational, and PTO entries, and the codes they are logged against.

List all task types

Request

🔐 Required role: API_ADMIN

📖 Data dictionary: Task type

Retrieve all task types

Returns every active task type for the tenant, ordered alphabetically by display name. Deactivated task types are not returned; use the search endpoint with { "active": { "_eq": false } } to list them. Task types classify the work performed on time entries and projects, and carry billing and tax settings used downstream in invoicing.

Each task type includes:

  • Display name, code, and description
  • Billing and tax flags (billable, taxable)
  • Optional custom hourly rate and rate type
  • Service line and category associations
  • Usage counts across projects and invoices
  • Aiwyn-managed vs firm-defined indicators
  • Active status and audit timestamps
Security
(BearerAuth and CfAccessClientId and CfAccessClientSecret) or BearerAuth
curl -i -X GET \
  https://api.sandbox.aiwyn.app/gql/v1/task-types \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'CF-Access-Client-Id: YOUR_API_KEY_HERE' \
  -H 'CF-Access-Client-Secret: YOUR_API_KEY_HERE'

Responses

Task types retrieved successfully

Bodyapplication/json
taskTypesArray of objects

List of task types ordered by display name

totalobject

Aggregate count information

Response
{ "taskTypes": [ { … }, { … } ], "total": { "aggregate": { … } } }