- List WIP entries
🔐 Required role:
API_ADMIN📖 Data dictionary: Work in progress (WIP)
Work in Progress tracking with comprehensive financial lifecycle management
Uses standard limit/offset pagination via pageSize and page — see Pagination. Use <tenant>_vw_wip_unified_aggregate.aggregate.count to detect the end.
Response keys are tenant-specific. Unlike the other list endpoints, this response is not aliased: the records are under <tenant>_vw_wip_unified and the totals under <tenant>_vw_wip_unified_aggregate, where <tenant> is your tenant's schema name (for example acme_vw_wip_unified). Read the two keys by suffix rather than by a fixed name. POST /gql/v1/wips/search returns fixed keys.
This advanced endpoint provides complete WIP management including:
- WIP value tracking from creation through billing completion
- Outstanding balance calculations for unbilled work
- Multi-dimensional analysis (client, job, date-based)
- Financial aggregations for WIP reporting and analysis
- Integration with client data for complete context
Financial Tracking Features:
- WIP value recording and outstanding balance calculation
- Billed amount tracking for revenue recognition
- Write-off amount management for uncollectible WIP
- Job and client correlation for project profitability
WIP Lifecycle Management:
- Creation date logging for aging analysis
- WIP type categorization (TIME, EXPENSE, FIXED_FEE, etc.)
- Outstanding value calculation for billing preparation
- Billed amount reconciliation for revenue tracking
Business Intelligence & Reporting:
- Client-specific WIP analysis and aging
- Job-based profitability and WIP tracking
- WIP aging reports for collections management
- Revenue recognition and billing pipeline analysis
Financial Aggregations:
- Total WIP value across filtered records
- Outstanding WIP calculations for billing preparation
- Billed amount summaries for revenue analysis
- Write-off tracking for financial reporting
Filtering: this endpoint accepts only pageSize and page; any other body property is rejected with 400 (Unexpected variable …). To filter (by client, job, WIP type, logged date, …) or sort, use POST /gql/v1/wips/search.
Active Record Filtering:
- Only active WIP records are returned (inactive records represent deletions), newest
loggedDatefirst - Each record includes
isActiveso clients can distinguish active from inactive when querying by ID
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/wip
- Staging (requires Cloudflare Access headers)https://api.staging.aiwyn.app/gql/v1/wip
- Production (your live firm data; no Cloudflare Access headers)https://api.aiwyn.ai/gql/v1/wip
curl -i -X POST \
https://api.sandbox.aiwyn.app/gql/v1/wip \
-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
}'{ "acme_vw_wip_unified": [ { … }, { … }, { … } ], "acme_vw_wip_unified_aggregate": { "aggregate": { … } } }