---
title: "GET /branches/diff"
method: GET
path: "/branches/diff"
tags: ["branches"]
---

# GET /branches/diff

`GET /branches/diff`

Gets the length difference between the staging and release branch of all scripts.

## Query parameters

- `name` string

## Headers

- `X-Phantombuster-Org` string

## Response `200`

OK

- object[]
  - `id` string, required
  - `name` string, required
  - `diffLength` number, required
  - `stagingVisibility` 'private' | 'semi public' | 'public' | 'semi open source' | 'open source', required
  - `releaseVisibility` 'private' | 'semi public' | 'public' | 'semi open source' | 'open source'
  - `stagingAccessList` string[], nullable
  - `releaseAccessList` string[], nullable

---

[API](https://skmtc.dev/phantombuster/apis/phantombuster-api-v2.md) · [All operations](https://skmtc.dev/phantombuster/apis/phantombuster-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/phantombuster/phantombuster-api-v2/revisions/acf0049d7c7f/schema)
