# Summary ## List tag key summary `resource_tagging.summary.get(SummaryGetParams**kwargs) -> SummaryGetResponse` **get** `/accounts/{account_id}/tags/summary` Lists all distinct tag keys and their distinct values across resources in an account. ### Parameters - `account_id: str` Identifier. - `cursor: Optional[str]` Cursor for pagination. ### Returns - `List[SummaryGetResponseItem]` Contains an array of tag keys with their distinct values. - `key: str` A tag key. - `values: List[str]` All distinct values for this tag key. ### Example ```python import os from cloudflare import Cloudflare client = Cloudflare( api_email=os.environ.get("CLOUDFLARE_EMAIL"), # This is the default and can be omitted api_key=os.environ.get("CLOUDFLARE_API_KEY"), # This is the default and can be omitted ) summaries = client.resource_tagging.summary.get( account_id="023e105f4ecef8ad9ca31a8372d0c353", ) print(summaries) ``` #### Response ```json { "errors": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "messages": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "success": true, "result": [ { "key": "environment", "values": [ "production", "staging" ] }, { "key": "team", "values": [ "engineering", "platform" ] } ], "result_info": { "count": 20, "cursor": "eyJhY2NvdW50X2lkIjoxMjM0NTY3ODkwfQ" } } ``` ## Domain Types ### Summary Get Response - `List[SummaryGetResponseItem]` Contains an array of tag keys with their distinct values. - `key: str` A tag key. - `values: List[str]` All distinct values for this tag key.