---
title: "GET /v1/projects/{projectsId}/locations/{locationsId}/accessSummaries"
method: GET
path: "/v1/projects/{projectsId}/locations/{locationsId}/accessSummaries"
tags: ["projects"]
---

# GET /v1/projects/{projectsId}/locations/{locationsId}/accessSummaries

`GET /v1/projects/{projectsId}/locations/{locationsId}/accessSummaries`

## Request

- Base URL: `https://agentidentity.googleapis.com`
- URL: `https://agentidentity.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/accessSummaries`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/cloud-platform`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`

Lists access summaries in a given project and location. Supported filters: - `workload_id`: Filter by the SPIFFE ID of the agent. Example: `workload_id="spiffe://example.com/ns/default/sa/my-agent"`

## Path parameters

- `projectsId` string, required
- `locationsId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string
- `filter` string
- `orderBy` string
- `pageSize` integer
- `pageToken` string

## Response `200`

Successful response

- ListAccessSummariesResponse: Response message for `ListAccessSummaries`.
  - `accessSummaries` AccessSummary[]: The list of access summaries.
    - `authProvider` string: Output only. The auth provider that this access summary is associated with.
    - `authProviderType` 'AUTH_PROVIDER_TYPE_UNSPECIFIED' | 'AUTH_PROVIDER_TYPE_THREE_LEGGED_OAUTH' | 'AUTH_PROVIDER_TYPE_TWO_LEGGED_OAUTH' | 'AUTH_PROVIDER_TYPE_API_KEY' | 'AUTH_PROVIDER_TYPE_GEMINI_ENTERPRISE' | 'AUTH_PROVIDER_TYPE_CROSS_APP_ACCESS' | 'AUTH_PROVIDER_TYPE_CONNECTOR_REFERENCE': Output only. The auth provider type used to create this access summary.
    - `firstAccessTime` string, google-datetime: Output only. The first time this user interacted with this workload, rounded to the previous hour.
    - `labels` object: Optional. Labels as key-value pairs.
    - `lastAccessTime` string, google-datetime: Output only. The most recent time this user interacted with this workload, rounded to the previous hour.
    - `name` string: Output only. Identifier. The resource name of the access summary.
    - `purgeTime` string, google-datetime: Output only. The time when this access summary is permanently deleted.
    - `scopes` string[]: Output only. All scopes that have been used by this user with this workload. The number of scopes is limited to 200.
    - `tokenUrl` string: Output only. The URL of the authentication server that was accessed.
    - `userId` string: Output only. The user ID provided by the workload application for this user. Not verified by Google.
    - `workloadId` string: Output only. The identity bound to the workload that this user interacted with to produce this access summary. Typically an agentic SPIFFE ID.
  - `nextPageToken` string: A token identifying a page of results the server should return.
  - `unreachable` string[]: Unordered list. Locations that could not be reached.

---

[API](https://skmtc.dev/google/apis/agentidentity.md) - [All operations](https://skmtc.dev/google/apis/agentidentity/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/agentidentity/revisions/f532280f07f9?raw)
