🔐 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
- Sandbox (requires Cloudflare Access headers)https://api.sandbox.aiwyn.app/gql/v1/task-types
- Staging (requires Cloudflare Access headers)https://api.staging.aiwyn.app/gql/v1/task-types
- Production (your live firm data; no Cloudflare Access headers)https://api.aiwyn.ai/gql/v1/task-types
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'Response
{ "taskTypes": [ { … }, { … } ], "total": { "aggregate": { … } } }