List Work Ledger Entries
List all work ledger entries for an instance with pagination, filtering, and sorting. Endpoint:GET /instances/:instanceId/work-ledger (inferred, not implemented)
Query Parameters:
page(number, optional) - Page number (0-based)size(number, optional) - Page sizesort(string, optional) - Sort field and direction (e.g., “createdAt,desc”)search(string, optional) - Search across multiple fieldsstatus(string, optional) - Filter by statustype(string, optional) - Filter by typepolicyStatus(string, optional) - Filter by policy status: “compliant”, “non_compliant”, “review_required”actors(string, optional) - Filter by actors: “AI”, “HUMAN”, “HYBRID”costMin(number, optional) - Minimum cost filtercostMax(number, optional) - Maximum cost filtertimeMin(number, optional) - Minimum time filter (seconds)timeMax(number, optional) - Maximum time filter (seconds)modelName(string, optional) - Filter by model name
Get Work Ledger Entry
Get a single work ledger entry by ID. Endpoint:GET /instances/:instanceId/work-ledger/:entryId (inferred, not implemented)
Response: Work ledger entry object
Source: Feature Inventory - API Surface (Work Ledger API)
Work Ledger Entry Structure
id(string) - Entry identifiertitle(string) - Entry titledescription(string) - Entry descriptiontype(string) - Entry type (e.g., “TWU”)status(string) - Execution statuscreatedAt(timestamp) - Creation timestampupdatedAt(timestamp) - Last update timestampentityId(string) - Related entity identifierrelatedEntity(string) - Related entity display nameactors(array) - Actor types: [“AI”], [“HUMAN”], or [“AI”, “HUMAN”]activeTime(number) - Active time in secondscost(number) - Cost in dollarspolicyStatus(string) - Policy compliance statusmodelName(string) - TWU model name used
Related
- Work Ledger Concept - Understand work ledger entries
- View Work Ledger Guide - Usage guide