## List `products.list() -> ProductListResponse` **get** `/products` Lists all products for the workspace ### Returns - `class ProductListResponse: …` List of products - `data: List[Data]` - `id: str` Unique identifier for the product - `code: str` User-defined product identifier. - `created: datetime` ISO 8601 timestamp when the product was created - `description: str` Description of the product - `paid_by_roles: List[DataPaidByRole]` User roles that can pay for this product - `id: str` The unique ID of the role - `name: str` The name of the role - `paid_to_roles: List[DataPaidToRole]` User roles that receive payment for this product - `id: str` The unique ID of the role - `name: str` The name of the role - `update_version: float` Version number for optimistic locking - `workspace_id: str` Workspace ID this product belongs to ### Example ```python from fragment import Fragment client = Fragment() products = client.products.list() print(products.data) ```