# StackDetectRequest

> The StackDetectRequest object in the Guv API.

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `installation_id` * | string |  |
| `repo` * | string |  |
| `branch` | string |  |
| `root` | string | Default `.`. |

\* always present

## Example

```json
{
  "installation_id": "string",
  "repo": "string",
  "branch": "string",
  "root": "."
}
```

## Used by

- [Detect the stack of a repository and suggest a guv.yaml](/docs/api/git-hub/#detect-the-stack-of-a-repository-and-suggest-a-guvyaml)
