# Summary ## List tag key summary `client.resourceTagging.summary.get(SummaryGetParamsparams, RequestOptionsoptions?): SummaryGetResponse` **get** `/accounts/{account_id}/tags/summary` Lists all distinct tag keys and their distinct values across resources in an account. ### Parameters - `params: SummaryGetParams` - `account_id: string` Path param: Identifier. - `cursor?: string` Query param: Cursor for pagination. ### Returns - `SummaryGetResponse = Array` Contains an array of tag keys with their distinct values. - `key: string` A tag key. - `values: Array` All distinct values for this tag key. ### Example ```typescript import Cloudflare from 'cloudflare'; const client = new Cloudflare({ apiEmail: process.env['CLOUDFLARE_EMAIL'], // This is the default and can be omitted apiKey: process.env['CLOUDFLARE_API_KEY'], // This is the default and can be omitted }); const summaries = await client.resourceTagging.summary.get({ account_id: '023e105f4ecef8ad9ca31a8372d0c353', }); console.log(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 - `SummaryGetResponse = Array` Contains an array of tag keys with their distinct values. - `key: string` A tag key. - `values: Array` All distinct values for this tag key.