---
title: "Get a list of Tag Sets"
method: GET
path: "/tagsets"
tags: ["TagSets"]
---

# Get a list of Tag Sets

`GET /tagsets`

Lists all of the Tag Sets in the supplied Octopus Deploy Space. The results will be sorted alphabetically by the `SortOrder` field on each tag set.

## Query parameters

- `ids` string[]
- `name` string
- `partialName` string
- `scopes` string[]
- `skip` integer
- `take` integer
- `types` string[]

## Response `200`

The list of matching Tag Sets, sorted alphabetically by the `SortOrder` field on each tag set.

- TagSetResourceCollection
  - `Id` string — Gets or sets a unique identifier for this resource.
  - `Items` TagSetResource[]
    - `Description` string — Gets or sets the description of this tag set.
    - `Id` string — Gets or sets a unique identifier for this resource.
    - `IsSystem` boolean — Whether this tag set is a system-managed tag set.
    - `LastModifiedBy` string — Gets or sets the username of the user who last modified this resource.
    - `LastModifiedOn` string, date-time — Gets or sets the date/time that this resource was last modified.
    - `Links` object — Gets or sets a dictionary of links to other related resources. These links can be used to navigate the resources on the server.
    - `Name` string, required — Gets or sets the name of this tag set.
    - `Scopes` string[] — The resource types this tag set applies to.
    - `SortOrder` integer — Gets or sets the sort order of this tag set.
    - `SpaceId` string
    - `Tags` TagResource[] — The tags that make up this tag set
      - `CanonicalTagName` string — This is the canonical name for the Tag formed as {TagSetName}/{TagName} which is easier to work with than the ID in certain scenarios.
      - `Color` string — Gets or sets the color of this tag.
      - `Description` string — Gets or sets the description of this tag.
      - `Id` string
      - `Name` string — Gets or sets the name of this tag.
      - `SortOrder` integer
    - `Type` string — The type of this tag set.
  - `ItemsPerPage` integer
  - `ItemType` string
  - `LastModifiedBy` string — Gets or sets the username of the user who last modified this resource.
  - `LastModifiedOn` string, date-time — Gets or sets the date/time that this resource was last modified.
  - `LastPageNumber` integer
  - `Links` object — Gets or sets a dictionary of links to other related resources. These links can be used to navigate the resources on the server.
  - `NumberOfPages` integer
  - `TotalResults` integer

## 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.dev/octopus/apis/octopus-server-api.md) · [All operations](https://skmtc.dev/octopus/apis/octopus-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/octopus/octopus-server-api/revisions/63b4166a0686/schema)
