# StackDetection

> The StackDetection object in the Guv API.

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `summary` * | string |  |
| `has_manifest` | boolean |  |
| `services` * | array of object |  |
| `databases` | array of [DatabaseEngine](/docs/api/objects/database-engine/) |  |
| `variables` | array of object | Detected from .env.example and code. |
| `suggested_manifest` | string |  |

\* always present

## Example

```json
{
  "summary": "We'll build a Next.js app with Node 22 and give you a Postgres database.",
  "has_manifest": false,
  "services": [
    {
      "name": "string",
      "root": "string",
      "builder": "railpack",
      "language": "string",
      "framework": "string",
      "start": "string",
      "port": 1
    }
  ],
  "databases": [
    "postgres"
  ],
  "variables": [
    {
      "name": "string",
      "example": "string",
      "likely_secret": false
    }
  ],
  "suggested_manifest": "string"
}
```

## 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)
