> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.doc-detective.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.doc-detective.com/_mcp/server.

# sourceIntegration

> Information about the source integration for this screenshot, enabling upload of changed files back to the source CMS. Set automatically during test resolution for files from integrations.

Information about the source integration for this screenshot, enabling upload of changed files back to the source CMS. Set automatically during test resolution for files from integrations.

## Referenced In

* [Capture screenshot (detailed)](/reference/schemas/capture-screenshot-detailed)
* [Capture screenshot fields](/reference/schemas/capture-screenshot-fields)

## Fields

| Field           | Type   | Description                                                                                                                                | Default |
| :-------------- | :----- | :----------------------------------------------------------------------------------------------------------------------------------------- | :------ |
| type            | string | Required. The type of integration. Currently supported: 'heretto'. Additional types may be added in the future. Accepted values: `heretto` | —       |
| integrationName | string | Required. The name of the integration configuration in the config file. Used to look up authentication credentials.                        | —       |
| fileId          | string | Optional. The unique identifier (UUID) of the file in the source CMS. If not provided, the file will be looked up by path.                 | —       |
| filePath        | string | Optional. The path of the file in the source CMS. Used for lookup if fileId is not available.                                              | —       |
| contentPath     | string | Optional. The local path to the file that references this source. Used for resolving relative paths.                                       | —       |

## Examples

```json
{
  "type": "heretto",
  "integrationName": "my-heretto",
  "fileId": "8f3ed200-cbba-11e1-ac51-c82a1446d15c",
  "filePath": "/db/organizations/example/repositories/docs/images/screenshot.png"
}
```

```json
{
  "type": "heretto",
  "integrationName": "my-heretto",
  "filePath": "images/screenshot.png",
  "contentPath": "/tmp/doc-detective/heretto_abc123/topic.dita"
}
```