# List registered workflows Returns a paginated list of registered workflows cached from sync-apis. Supports filtering by account ID and workflow name. These workflows are cached locally for fast access during workflow execution. Endpoint: GET /register-workflows Version: 1.0.0 Security: bearerAuth ## Query parameters: - `accountId` (string) Filter by account ID Example: "scd-abc12345" - `name` (string) Filter by workflow name (case-insensitive partial match) Example: "classification" - `limit` (integer) Number of items to return Example: 20 - `offset` (integer,null) Number of items to skip ## Response 200 fields (application/json): - `items` (array, required) Array of registered workflows - `items.id` (string, required) Example: "123e4567-e89b-12d3-a456-426614174000" - `items.name` (string, required) Example: "Document Classification Workflow" - `items.description` (string, required) Example: "Workflow to classify documents and extract metadata" - `items.taskDag` (object, required) Example: {"789e0123-e89b-12d3-a456-426614174002":["abc1234d-e89b-12d3-a456-426614174003"],"abc1234d-e89b-12d3-a456-426614174003":[]} - `items.accountId` (string, required) Short account ID with scd- prefix Example: "scd-abc12345" - `items.createdAt` (string, required) Example: "2025-01-15T10:30:00Z" - `items.lastUpdatedAt` (string,null, required) Example: "2025-01-15T10:35:00Z" - `items.registeredAt` (string, required) Example: "2025-01-15T10:30:05Z" - `totalCount` (integer, required) Total number of workflows matching the filter Example: 25 - `limit` (integer, required) Number of items returned Example: 20 - `offset` (integer, required) Number of items skipped ## Response 401 fields (application/json): - `error` (string, required) Example: "Unauthorized" - `message` (string, required) Example: "Authentication required" ## Response 500 fields (application/json): - `error` (string, required) Example: "Internal Server Error" - `message` (string, required) Example: "An unexpected error occurred"