🔐 Required role:
API_ADMIN📖 Data dictionary: Engagement
Project engagement tracking with comprehensive workflow management
Uses standard limit/offset pagination via pageSize and page — see Pagination. Use total.aggregate.count to detect the end.
This endpoint delivers complete project engagement management including:
- Client engagement tracking with date-based filtering
- Multi-level staff assignment management (partner and manager roles)
- Project status workflow tracking and reporting
- Template-driven engagement naming and standardization
- Date range analysis for project timeline management
Project Management Capabilities:
- Start and end date tracking for project lifecycles
- Status-based workflow management (DRAFT, SENT, EXECUTED, etc.)
- Staff assignment tracking at partner and manager levels
- Client relationship management for engagement context
Workflow Features:
- Template-based engagement creation for consistency
- Status progression tracking for project milestones
- Staff allocation and responsibility assignment
- Client-specific engagement history and analysis
Business Intelligence:
- Engagement duration analysis and reporting
- Staff utilization and assignment tracking
- Client engagement patterns and history
- Project status distribution and workflow analysis
Filtering: this operation accepts only pageSize and page, and any other body property is rejected with 400. To filter or sort, use POST /gql/v1/engagements/search.
Rows are ordered by name ascending, then createdAt descending. The response holds the rows in engagements and the total number of engagements in total.aggregate.count.
Limit — number of records to return (not a page count). Hasura maps this to limit.
- Sandbox (requires Cloudflare Access headers)https://api.sandbox.aiwyn.app/gql/v1/engagements
- Staging (requires Cloudflare Access headers)https://api.staging.aiwyn.app/gql/v1/engagements
- Production (your live firm data; no Cloudflare Access headers)https://api.aiwyn.ai/gql/v1/engagements
curl -i -X POST \
https://api.sandbox.aiwyn.app/gql/v1/engagements \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'CF-Access-Client-Id: YOUR_API_KEY_HERE' \
-H 'CF-Access-Client-Secret: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"pageSize": 25,
"page": 0
}'{ "engagements": [ { … } ], "total": { "aggregate": { … } } }