GET /metagenomics/api/v1/studies/MGYS00006849/samples?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "links": {
        "first": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006849/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006849/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "SRS9791096",
            "attributes": {
                "longitude": -121.31,
                "biosample": "SAMN20775164",
                "latitude": 37.99,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "-121.31",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "USA: Stockton, California",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2019-06-10",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "human gut",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "human gut microbiome",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "stool",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "MIGS/MIMS/MIMARKS.human-gut;MIMARKS.survey",
                        "unit": null
                    },
                    {
                        "key": "host taxid",
                        "value": "9606",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "37.99",
                        "unit": null
                    },
                    {
                        "key": "host scientific name",
                        "value": "Homo sapiens",
                        "unit": null
                    }
                ],
                "accession": "SRS9791096",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "Keywords: GSC:MIxS MIMARKS:5.0",
                "environment-biome": "human gut",
                "environment-feature": "human gut microbiome",
                "environment-material": "stool",
                "sample-name": "4_baseline",
                "sample-alias": "4_baseline",
                "host-tax-id": 9606,
                "species": "Homo sapiens",
                "last-update": "2025-08-26T10:46:15"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Human:Digestive system:Large intestine:Fecal"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Digestive%20system:Large%20intestine:Fecal?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS9791096/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006849",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006849?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS9791096/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS9791096?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS9791098",
            "attributes": {
                "longitude": -121.31,
                "biosample": "SAMN20775166",
                "latitude": 37.99,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "-121.31",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "USA: Stockton, California",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2019-07-01",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "human gut",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "human gut microbiome",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "stool",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "MIGS/MIMS/MIMARKS.human-gut;MIMARKS.survey",
                        "unit": null
                    },
                    {
                        "key": "host taxid",
                        "value": "9606",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "37.99",
                        "unit": null
                    },
                    {
                        "key": "host scientific name",
                        "value": "Homo sapiens",
                        "unit": null
                    }
                ],
                "accession": "SRS9791098",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "Keywords: GSC:MIxS MIMARKS:5.0",
                "environment-biome": "human gut",
                "environment-feature": "human gut microbiome",
                "environment-material": "stool",
                "sample-name": "5_baseline",
                "sample-alias": "5_baseline",
                "host-tax-id": 9606,
                "species": "Homo sapiens",
                "last-update": "2025-08-26T10:12:24"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Human:Digestive system:Large intestine:Fecal"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Digestive%20system:Large%20intestine:Fecal?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS9791098/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006849",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006849?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS9791098/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS9791098?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS9791092",
            "attributes": {
                "longitude": -117.77,
                "biosample": "SAMN20775158",
                "latitude": 33.9,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "-117.77",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "USA: Orange County, California",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2018-10-24",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "human gut",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "human gut microbiome",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "stool",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "MIGS/MIMS/MIMARKS.human-gut;MIMARKS.survey",
                        "unit": null
                    },
                    {
                        "key": "host taxid",
                        "value": "9606",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "33.9",
                        "unit": null
                    },
                    {
                        "key": "host scientific name",
                        "value": "Homo sapiens",
                        "unit": null
                    }
                ],
                "accession": "SRS9791092",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "Keywords: GSC:MIxS MIMARKS:5.0",
                "environment-biome": "human gut",
                "environment-feature": "human gut microbiome",
                "environment-material": "stool",
                "sample-name": "1_baseline",
                "sample-alias": "1_baseline",
                "host-tax-id": 9606,
                "species": "Homo sapiens",
                "last-update": "2025-08-26T09:57:48"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Human:Digestive system:Large intestine:Fecal"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Digestive%20system:Large%20intestine:Fecal?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS9791092/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006849",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006849?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS9791092/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS9791092?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS9791100",
            "attributes": {
                "longitude": -121.31,
                "biosample": "SAMN20775168",
                "latitude": 37.99,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "-121.31",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "USA: Stockton, California",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2019-07-16",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "human gut",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "human gut microbiome",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "stool",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "MIGS/MIMS/MIMARKS.human-gut;MIMARKS.survey",
                        "unit": null
                    },
                    {
                        "key": "host taxid",
                        "value": "9606",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "37.99",
                        "unit": null
                    },
                    {
                        "key": "host scientific name",
                        "value": "Homo sapiens",
                        "unit": null
                    }
                ],
                "accession": "SRS9791100",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "Keywords: GSC:MIxS MIMARKS:5.0",
                "environment-biome": "human gut",
                "environment-feature": "human gut microbiome",
                "environment-material": "stool",
                "sample-name": "6_baseline",
                "sample-alias": "6_baseline",
                "host-tax-id": 9606,
                "species": "Homo sapiens",
                "last-update": "2025-08-26T09:44:03"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Human:Digestive system:Large intestine:Fecal"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Digestive%20system:Large%20intestine:Fecal?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS9791100/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006849",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006849?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS9791100/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS9791100?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS9791094",
            "attributes": {
                "longitude": -121.31,
                "biosample": "SAMN20775162",
                "latitude": 37.99,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "-121.31",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "USA: Stockton, California",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2019-03-08",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "human gut",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "human gut microbiome",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "stool",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "MIGS/MIMS/MIMARKS.human-gut;MIMARKS.survey",
                        "unit": null
                    },
                    {
                        "key": "host taxid",
                        "value": "9606",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "37.99",
                        "unit": null
                    },
                    {
                        "key": "host scientific name",
                        "value": "Homo sapiens",
                        "unit": null
                    }
                ],
                "accession": "SRS9791094",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "Keywords: GSC:MIxS MIMARKS:5.0",
                "environment-biome": "human gut",
                "environment-feature": "human gut microbiome",
                "environment-material": "stool",
                "sample-name": "3_baseline",
                "sample-alias": "3_baseline",
                "host-tax-id": 9606,
                "species": "Homo sapiens",
                "last-update": "2025-08-26T09:27:23"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Human:Digestive system:Large intestine:Fecal"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Digestive%20system:Large%20intestine:Fecal?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS9791094/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006849",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006849?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS9791094/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS9791094?format=api"
            }
        },
        {
            "type": "samples",
            "id": "SRS9791091",
            "attributes": {
                "longitude": -117.77,
                "biosample": "SAMN20775160",
                "latitude": 33.9,
                "sample-metadata": [
                    {
                        "key": "geographic location (longitude)",
                        "value": "-117.77",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "USA: Orange County, California",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2019-01-30",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "human gut",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "human gut microbiome",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "stool",
                        "unit": null
                    },
                    {
                        "key": "environmental package",
                        "value": "MIGS/MIMS/MIMARKS.human-gut;MIMARKS.survey",
                        "unit": null
                    },
                    {
                        "key": "host taxid",
                        "value": "9606",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "33.9",
                        "unit": null
                    },
                    {
                        "key": "host scientific name",
                        "value": "Homo sapiens",
                        "unit": null
                    }
                ],
                "accession": "SRS9791091",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "Keywords: GSC:MIxS MIMARKS:5.0",
                "environment-biome": "human gut",
                "environment-feature": "human gut microbiome",
                "environment-material": "stool",
                "sample-name": "2_baseline",
                "sample-alias": "2_baseline",
                "host-tax-id": 9606,
                "species": "Homo sapiens",
                "last-update": "2025-08-26T09:12:21"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Human:Digestive system:Large intestine:Fecal"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Digestive%20system:Large%20intestine:Fecal?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS9791091/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006849",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006849?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS9791091/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS9791091?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 6
        }
    }
}