# Retrieve master value list

These endpoints allow you to retrieve the values of a master value list(s).

## Get master value list

<mark style="color:blue;">`GET`</mark> `https://ris.rightsline.com/v4/master-value-list`

This endpoint allows you to retrieve the master value list.

#### Headers

| Name           | Type   | Description             |
| -------------- | ------ | ----------------------- |
| x-api-key      | string | Your company's API key. |
| Authentication | string | Authentication token.   |

{% tabs %}
{% tab title="200 List retrieved successfully." %}

```javascript
[
    {
        "id": "196949bc-ea41-e511-9457-0af1f058195a",
        "name": " Audio Bitrate Kbps"
    },
    {
        "id": "1f6949bc-ea41-e511-9457-0af1f058195a",
        "name": " Audio Bits Per Sample"
    },
    {
        "id": "246949bc-ea41-e511-9457-0af1f058195a",
        "name": " Audio Codec"
    },
    {
        "id": "276949bc-ea41-e511-9457-0af1f058195a",
        "name": " Audio Container"
    }
]
```

{% endtab %}
{% endtabs %}

## Get master value list by ID

<mark style="color:blue;">`GET`</mark> `https://ris.rightsline.com/v4/master-value-list/:id`

This endpoint allows you to retrieve a list by ID.

#### Path Parameters

| Name | Type   | Description                         |
| ---- | ------ | ----------------------------------- |
| id   | string | GUID of the master value list item. |

#### Headers

| Name           | Type   | Description             |
| -------------- | ------ | ----------------------- |
| x-api-key      | string | Your company's API key. |
| Authentication | string | Authentication token.   |

{% tabs %}
{% tab title="200 List item retrieved successfully." %}

```javascript
{
        "id": "196949bc-ea41-e511-9457-0af1f058195a",
        "name": " Audio Bitrate Kbps",
        "values": [
            {
                "id": 1,
                "label": "1125",
                "xref": null,
                "status": "Active"
            },
            {
                "id": 2,
                "label": "96",
                "xref": null,
                "status": "Active"
            },
            {
                "id": 3,
                "label": "320",
                "xref": null,
                "status": "Active"
            }
        ]
    }
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api-docs.rightsline.com/config/lists/retrieve-master-value-list.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
