API reference
/- List all task types
Search task types
Get task by ID
Search tasks
List WIP entries
Search WIP entries
Get WIP entry by ID
List available time management code record types
Get field schema for a time management code type
Create or update time management code records (upsert)
Lookup time management code records in pages (by type)
List available time management entry record types
Get field schema for a time management entry type
Create or update time management entry records (upsert)
Lookup time management entry records in pages (by type)
List all task types
🔐 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": { … } } }