---
title: inspect_release_source
published: true
tier: free
index: 7
---

# inspect_release_source

Inspect the connected GitHub repo at a commit before publishing.

**Arguments.** `siteId` and full 40-character Git `commit`.

**Returns.** `{formats, version}` with detected formats and a suggested version. Release validation runs during publication.

```json
{"siteId":"PROJECT_ID","commit":"0123456789abcdef0123456789abcdef01234567"}
```
