---
title: "Index Tf Repo"
method: POST
path: "/github/index-tf"
---

# Index Tf Repo

`POST /github/index-tf`

## Request

- Base URL: `https://emfirge.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://emfirge.cloud/github/index-tf`
- Auth: none declared

Manually trigger TF indexing for a repo. Called after GitHub App install.

## Request body

- TFIndexRequest
  - `installation_id` integer, required
  - `repo` string, required

## Response `200`

Successful Response

- TFIndexResponse
  - `status` string, required
  - `resources_found` integer
  - `repo` string
  - `message` string

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/emfirge/apis/aws-risk-analysis-agent.md) · [All operations](https://skmtc.dev/emfirge/apis/aws-risk-analysis-agent/llms.txt) · [OpenAPI document](https://skmtc.dev/emfirge/apis/aws-risk-analysis-agent/revisions/149a9263d07a?raw)
