---
title: "GET /samples/view"
method: GET
path: "/samples/view"
tags: ["Samples"]
---

# GET /samples/view

`GET /samples/view`

For a given sample identifier, get a list of sample custody events as well as any parent and child sample identifiers that currently exist.

## Query parameters

- `sampleTag` string
- `sampleClass` string
- `sampleUuid` string
- `barcode` string
- `archiveGuid` string

## Response `200`

List of sample views.

- object
  - `data` Views
    - `sampleViews` SampleView[] — array of sample views for a given sample
      - `sampleUuid` string — UUID for a given sample
      - `sampleTag` string — Sample Tag for a given sample
      - `sampleClass` string — Sample Class for a given sample
      - `barcode` string — Sample Barcode for a given sample
      - `archiveGuid` string — Archive GUID for a given sample
      - `sampleEvents` SampleEvent[]
        - `ingestTableName` string — Ingest Table Name
        - `smsFieldEntries` SmsField[]
          - `smsKey` string — SMS Field Name
          - `smsValue` string — SMS Field Value
      - `parentSampleIdentifiers` SampleInfo[]
        - `sampleUuid` string — UUID for a given sample
        - `sampleTag` string — Sample Tag for a given sample
        - `sampleClass` string — Sample Class for a given sample
        - `barcode` string — Sample Barcode for a given sample
        - `archiveGuid` string — Archive GUID for a given sample
      - `childSampleIdentifiers` SampleInfo[]
        - `sampleUuid` string — UUID for a given sample
        - `sampleTag` string — Sample Tag for a given sample
        - `sampleClass` string — Sample Class for a given sample
        - `barcode` string — Sample Barcode for a given sample
        - `archiveGuid` string — Archive GUID for a given sample

## Other responses

- `400` — Bad Request
- `404` — Sample Not Found
- `default` — General error

---

[API](https://skmtc.dev/neonscience/apis/neon-data-api-requests.md) · [All operations](https://skmtc.dev/neonscience/apis/neon-data-api-requests/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/neonscience/neon-data-api-requests/revisions/e108051ab4bc/schema)
