> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.morphiaone.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.morphiaone.ai/_mcp/server.

# List the look revisions that pin a catalogue Variant

GET https://api.morphiaone.ai/v1/catalogue/variants/{variant_id}/references

Every revision of your looks that pins this variant: the look, the revision, the
variant revision it pinned, its `decision_state`, and whether it is its look's
active revision. Read it before retiring a variant: a look revision that pins a
retired variant can no longer be published. Retiring stays allowed; this read only
shows what it leaves behind. A variant that is not yours answers
`404 VARIANT_NOT_FOUND`.
Requires the `catalogue.read` scope, which your account operator provisions; no other
catalogue scope implies it. Served only where the catalogue is enabled for your
environment.

Reference: https://docs.morphiaone.ai/api-reference/endpoints/catalogue/variants-references

## Authentication

- `X-API-Key` header (required) — API key for one environment of your account. Keep server-side; never expose in browser clients.

## Request

### Path parameters

- `variant_id` (string, required)

## Response

### 200

The look revisions that pin the variant

- `pinned_by_looks` (list of CatalogueLookReference, required)
- `variant_id` (string, required)

## Errors

### 400 Bad Request Error

Invalid request

- `error` (ErrorDetail, required)

### 401 Unauthorized Error

Missing or invalid API key

- `error` (ErrorDetail, required)

### 403 Forbidden Error

API key lacks the catalogue.read scope

- `error` (ErrorDetail, required)

### 404 Not Found Error

No such variant or revision

- `error` (ErrorDetail, required)

### 503 Service Unavailable Error

Catalogue unavailable

- `error` (ErrorDetail, required)

## Types

### CatalogueLookReference

One look revision that pins the variant. ``active`` says it is the revision the look renders now.

- `active` (boolean, required)
- `decision_state` (enum, required)
  - Allowed values: `draft`, `approved`, `rejected`
- `look_id` (string, required)
- `revision` (integer, required)

### ErrorDetail

- `code` (string, required)
- `message` (string, required)
- `request_id` (string, required)
- `details` (ErrorDetailDetails, optional)
- `doc_url` (string, optional, nullable)
- `retryable` (boolean, optional, nullable)

### ErrorDetailDetails

- map from string to any
- list of map from string to any

## Examples

**Response**

```json
{
  "pinned_by_looks": [
    {
      "active": true,
      "decision_state": "approved",
      "look_id": "look_1m2n4p6q8r0s2t4v6w8x0y2z4a",
      "revision": 1
    }
  ],
  "variant_id": "var_1kz8m3q5r7t9v1x3z5b7d9f1h3"
}
```

**SDK Code**

```python Catalogue_variantsReferences_example
import requests

url = "https://api.morphiaone.ai/v1/catalogue/variants/variant_id/references"

headers = {"X-API-Key": "<apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Catalogue_variantsReferences_example
const url = 'https://api.morphiaone.ai/v1/catalogue/variants/variant_id/references';
const options = {method: 'GET', headers: {'X-API-Key': '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Catalogue_variantsReferences_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.morphiaone.ai/v1/catalogue/variants/variant_id/references"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-API-Key", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Catalogue_variantsReferences_example
require 'uri'
require 'net/http'

url = URI("https://api.morphiaone.ai/v1/catalogue/variants/variant_id/references")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java Catalogue_variantsReferences_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.morphiaone.ai/v1/catalogue/variants/variant_id/references")
  .header("X-API-Key", "<apiKey>")
  .asString();
```

```php Catalogue_variantsReferences_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.morphiaone.ai/v1/catalogue/variants/variant_id/references', [
  'headers' => [
    'X-API-Key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Catalogue_variantsReferences_example
using RestSharp;

var client = new RestClient("https://api.morphiaone.ai/v1/catalogue/variants/variant_id/references");
var request = new RestRequest(Method.GET);
request.AddHeader("X-API-Key", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift Catalogue_variantsReferences_example
import Foundation

let headers = ["X-API-Key": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.morphiaone.ai/v1/catalogue/variants/variant_id/references")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```