---
title: "GET /api/v1/scripts/references/count"
method: GET
path: "/api/v1/scripts/references/count"
tags: ["Scripts"]
---

# GET /api/v1/scripts/references/count

`GET /api/v1/scripts/references/count`

## Request

- Base URL: `https://api.immy.bot` (the document declares no server; this is the origin it was published from)
- URL: `https://api.immy.bot/api/v1/scripts/references/count`
- Auth: none declared

## Query parameters

- `scriptType` 'Global' | 'Local': The string or integer value may be used. Global = 0, Local = 1
- `id` integer

## Response `200`

OK

- ScriptReferenceCounts
  - `localSoftwareCount` integer
  - `localSoftwareVersionCount` integer
  - `localMaintenanceTaskCount` integer
  - `globalSoftwareCount` integer
  - `globalSoftwareVersionCount` integer
  - `globalMaintenanceTaskCount` integer
  - `total` integer

---

[API](https://skmtc.dev/immy/apis/immy-bot-api-2.md) · [All operations](https://skmtc.dev/immy/apis/immy-bot-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/immy/apis/immy-bot-api-2/revisions/75b50268fa51?raw)
