---
title: "Lists projects and deployments which are using an library variable set."
method: GET
path: "/{spaceId}/libraryvariablesets/{id}/usages"
tags: ["LibraryVariableSets"]
---

# Lists projects and deployments which are using an library variable set.

`GET /{spaceId}/libraryvariablesets/{id}/usages`

## Path parameters

- `spaceId` string, required
- `id` string, required

## Response `200`

The usages of the library variable set.

- GetLibraryVariableSetUsageResponse
  - `CountOfProjectsUserCannotSee` integer, required
  - `CountOfReleasesUserCannotSee` integer, required
  - `CountOfRunbookSnapshotsUserCannotSee` integer, required
  - `Projects` LibraryVariableSetProjectUsage[], required
    - `IsCurrentlyBeingUsedInProject` boolean
    - `ProjectId` string
    - `ProjectName` string
    - `ProjectSlug` string
    - `Releases` LibraryVariableSetReleaseUsageEntry[]
      - `ReleaseId` string
      - `ReleaseVersion` string
    - `RunbookSnapshots` LibraryVariableSetRunbookSnapshotUsageEntry[]
      - `SnapshotId` string
      - `SnapshotName` string

## Other responses

- `400` — Bad request. Either the payload was not structurally valid or business rules did not permit the operation.
- `404` — Not found. One or more of the entities involved in the operation was not found.

---

[API](https://skmtc.net/octopus/apis/octopus-server-api.md) · [All operations](https://skmtc.net/octopus/apis/octopus-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/octopus/octopus-server-api/versions/bc9158facfc7/schema)
