---
title: Get Single Value Set
slug: get-single-value-set
docTags: 
createdAt: 2026-08-25T19:28:59.170Z
---

{
  "id": "Cs3ypVRw9z3cBV6edlK4g",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://api.nue.io/metadata/valueSets/{valueSetName}",
    "servers": [
      {
        "url": "https://api.nue.io/metadata/valueSets/{valueSetName}",
        "description": "Nue Production API Endpoint"
      },
      {
        "url": "https://api.sandbox.nue.io/metadata/valueSets/{valueSetName}",
        "description": "Nue Sandbox API Endpoint"
      }
    ],
    "name": "Get Single Value Set",
    "description": "Retrieve all values and metadata for a specific value set by its name.",
    "contentType": "application/json",
    "request": {
      "pathParameters": [
        {
          "kind": "required",
          "name": "valueSetName",
          "type": "string",
          "description": "The value set name."
        }
      ],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        }
      ],
      "queryParameters": [],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "apiKeyAuth",
          "name": "nue-api-key",
          "kind": "optional",
          "type": "apiKey",
          "in": "header"
        }
      ],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "OK",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "customType": "CreateValueSetResponse",
            "schema": [
              {
                "name": "apiName",
                "kind": "optional",
                "type": "string",
                "description": ""
              },
              {
                "name": "name",
                "kind": "optional",
                "type": "string",
                "description": ""
              },
              {
                "name": "values",
                "kind": "optional",
                "type": "array",
                "description": "",
                "modelRef": "#/components/schemas/ValuePair",
                "customType": "ValuePair[]",
                "schema": [
                  {
                    "name": "apiName",
                    "kind": "optional",
                    "type": "string",
                    "description": "The API name of the value",
                    "example": "High"
                  },
                  {
                    "name": "name",
                    "kind": "optional",
                    "type": "string",
                    "description": "The display name of the value",
                    "example": "High Priority"
                  },
                  {
                    "name": "orderNumber",
                    "kind": "optional",
                    "type": "integer<int32>",
                    "description": "The sort order of this value in the list",
                    "example": 1,
                    "format": "int32"
                  },
                  {
                    "name": "active",
                    "kind": "optional",
                    "type": "boolean",
                    "description": "Whether this value is active and selectable",
                    "example": true
                  }
                ]
              },
              {
                "name": "defaultValue",
                "kind": "optional",
                "type": "string",
                "description": ""
              },
              {
                "name": "alphabeticallyOrdered",
                "kind": "optional",
                "type": "boolean",
                "description": ""
              }
            ],
            "modelRef": "#/components/schemas/CreateValueSetResponse",
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "HXR1qhRCYx7Rd6rDUkW5n",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url https://api.nue.io/metadata/valueSets/{valueSetName} \\\n     --header 'accept: application/json'"
        },
        {
          "id": "KrnSzVsuwykeFQ4WiWuHJ",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.nue.io/metadata/valueSets/{valueSetName}\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "QnjgAg9rkKghWZVh-jFPj",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.nue.io/metadata/valueSets/{valueSetName}\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "xmiFFnWgtpdynVBJRhEB7",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://api.nue.io/metadata/valueSets/{valueSetName}\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "HXR1qhRCYx7Rd6rDUkW5n"
    },
    "results": {
      "languages": [
        {
          "id": "18vth2ispfxvNx8LS3pK9",
          "language": "200",
          "code": "// OK\n{\n  \"apiName\": \"\",\n  \"name\": \"\",\n  \"values\": [\n    {\n      \"apiName\": \"High\",\n      \"name\": \"High Priority\",\n      \"orderNumber\": 1,\n      \"active\": true\n    }\n  ],\n  \"defaultValue\": \"\",\n  \"alphabeticallyOrdered\": false\n}"
        }
      ],
      "selectedLanguageId": "18vth2ispfxvNx8LS3pK9"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}