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

# GET /v1/projects/{projectsId}/locations/{locationsId}/teamFolders:search

`GET /v1/projects/{projectsId}/locations/{locationsId}/teamFolders:search`

## Request

- Base URL: `https://dataform.googleapis.com`
- URL: `https://dataform.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/teamFolders:search`
- Auth: one of:
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/bigquery`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/bigquery`
  - 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`

Returns all TeamFolders in a given location that the caller has access to and match the provided filter.

## Path parameters

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

## Query parameters

- `filter` string
- `orderBy` string
- `pageSize` integer
- `pageToken` string

## Response `200`

Successful response

- SearchTeamFoldersResponse: `SearchTeamFolders` response message.
  - `nextPageToken` string: A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
  - `results` TeamFolderSearchResult[]: List of TeamFolders that match the search query.
    - `teamFolder` TeamFolder: Represents a Dataform TeamFolder. This is a resource that sits at the project level and is used to organize Repositories and Folders with hierarchical access controls. They provide a team context and stricter access controls.
      - `createTime` string, google-datetime: Output only. The timestamp of when the TeamFolder was created.
      - `creatorIamPrincipal` string: Output only. The IAM principal identifier of the creator of the TeamFolder.
      - `displayName` string: Required. The TeamFolder's user-friendly name.
      - `internalMetadata` string: Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.
      - `name` string: Identifier. The TeamFolder's name.
      - `updateTime` string, google-datetime: Output only. The timestamp of when the TeamFolder was last updated.

## Changes

- **2026-11-03** `aa7c2fe4d752`: 4 info
  - the security scope `https://www.googleapis.com/auth/bigquery` was added to the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/bigquery` was added to the endpoint's security scheme `Oauth2c`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was removed from the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was removed from the endpoint's security scheme `Oauth2c`

[Operation history](https://skmtc.dev/google/apis/dataform/changes/v1/projects/:projectsId/locations/:locationsId/teamFolders:search/get.md)

---

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