---
title: "Trigger Google Drive Index"
method: POST
path: "/google-drive/installations/{installation_id}/index"
tags: ["Google Drive"]
---

# Trigger Google Drive Index

`POST /google-drive/installations/{installation_id}/index`

## Request

- Base URL: `https://apigcp.trynia.ai/v2`
- URL: `https://apigcp.trynia.ai/v2/google-drive/installations/{installation_id}/index`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/nozomio-labs/apis/nia-ai-api/docs/google-drive/installations/:installation_id/index/post.ts> (a function with typed inputs; its response is checked against the schema)

Trigger indexing for the selected Google Drive files and folders.

## Path parameters

- `installation_id` string, required

## Request body

- RoutesV2GoogleDriveGoogleDriveIndexRequest
  - `file_ids` string[]: Drive file IDs to index
  - `folder_ids` string[]: Drive folder IDs to index
  - `display_name` string, nullable: Optional custom display name for the indexed Drive source

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-03-09** `2277d31213d1`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nozomio-labs/apis/nia-ai-api/changes/google-drive/installations/:installation_id/index/post.md)

---

[API](https://skmtc.dev/nozomio-labs/apis/nia-ai-api.md) - [All operations](https://skmtc.dev/nozomio-labs/apis/nia-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nozomio-labs/apis/nia-ai-api/revisions/dbb602a3ef17?raw)
