---
title: "Compare a project's Bridge env vars against the app and list every difference with its fix."
method: POST
path: "/account/integration/diagnose"
tags: ["account"]
---

# Compare a project's Bridge env vars against the app and list every difference with its fix.

`POST /account/integration/diagnose`

## Request

- Base URL: `https://api.thebridge.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.thebridge.dev/account/integration/diagnose`
- Auth: none declared

## Request body

- DiagnoseIntegrationRequestDto
  - `env` object, required: The project's Bridge-related environment variables, name → value. Secret variables (API keys, secrets) are checked for presence and placement only: send any placeholder such as "<set>", never the real value.
  - `framework` 'svelte' | 'react' | 'nextjs' | 'angular' | 'nestjs' | 'express': The framework the project uses. Inferred from the variable names when omitted.

## Response `200`

---

[API](https://skmtc.dev/thebridge/apis/bridge-api.md) · [All operations](https://skmtc.dev/thebridge/apis/bridge-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thebridge/apis/bridge-api/revisions/290fffcb3d80?raw)
