GET /metagenomics/api/v1/studies/MGYS00006771/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/MGYS00006771/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006771/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "ERS23775589",
            "attributes": {
                "latitude": -23.872,
                "longitude": -53.897,
                "biosample": "SAMEA117789402",
                "sample-metadata": [
                    {
                        "key": "geographic location (latitude)",
                        "value": "-23.872",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "-53.897",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2024-02-01T10:00:00",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000022",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Brazil",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "Glasshouse, with 30 C of temperature",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "Plants were potted",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "It was summer",
                        "unit": null
                    },
                    {
                        "key": "depth",
                        "value": "0,1",
                        "unit": null
                    },
                    {
                        "key": "elevation",
                        "value": "781.0",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "PRJEB85876",
                        "unit": null
                    }
                ],
                "accession": "ERS23775589",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "Soil",
                "environment-biome": "Plants were potted",
                "environment-feature": "Glasshouse, with 30 C of temperature",
                "environment-material": "It was summer",
                "sample-name": "T2-A31",
                "sample-alias": "T2-A31",
                "host-tax-id": null,
                "species": null,
                "last-update": "2025-03-14T00:35:12"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Plants"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Plants?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS23775589/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006771",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006771?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS23775589/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS23775589?format=api"
            }
        },
        {
            "type": "samples",
            "id": "ERS23775591",
            "attributes": {
                "latitude": -23.872,
                "longitude": -53.897,
                "biosample": "SAMEA117789404",
                "sample-metadata": [
                    {
                        "key": "geographic location (latitude)",
                        "value": "-23.872",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "-53.897",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2024-02-01T10:00:00",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000022",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Brazil",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "Glasshouse, with 30 C of temperature",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "Plants were potted",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "It was summer",
                        "unit": null
                    },
                    {
                        "key": "depth",
                        "value": "0,1",
                        "unit": null
                    },
                    {
                        "key": "elevation",
                        "value": "781.0",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "PRJEB85876",
                        "unit": null
                    }
                ],
                "accession": "ERS23775591",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "Soil",
                "environment-biome": "Plants were potted",
                "environment-feature": "Glasshouse, with 30 C of temperature",
                "environment-material": "It was summer",
                "sample-name": "T4-A31+B56",
                "sample-alias": "T4-A31+B56",
                "host-tax-id": null,
                "species": null,
                "last-update": "2025-03-14T00:34:54"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Plants"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Plants?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS23775591/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006771",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006771?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS23775591/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS23775591?format=api"
            }
        },
        {
            "type": "samples",
            "id": "ERS23775588",
            "attributes": {
                "latitude": -23.872,
                "longitude": -53.897,
                "biosample": "SAMEA117789401",
                "sample-metadata": [
                    {
                        "key": "geographic location (latitude)",
                        "value": "-23.872",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "-53.897",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2024-02-01T10:00:00",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000022",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Brazil",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "Glasshouse, with 30 C of temperature",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "Plants were potted",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "It was summer",
                        "unit": null
                    },
                    {
                        "key": "depth",
                        "value": "0,1",
                        "unit": null
                    },
                    {
                        "key": "elevation",
                        "value": "781.0",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "PRJEB85876",
                        "unit": null
                    }
                ],
                "accession": "ERS23775588",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "Soil",
                "environment-biome": "Plants were potted",
                "environment-feature": "Glasshouse, with 30 C of temperature",
                "environment-material": "It was summer",
                "sample-name": "T1-Control",
                "sample-alias": "T1-Control",
                "host-tax-id": null,
                "species": null,
                "last-update": "2025-03-14T00:34:36"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Plants"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Plants?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS23775588/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006771",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006771?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS23775588/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS23775588?format=api"
            }
        },
        {
            "type": "samples",
            "id": "ERS23775590",
            "attributes": {
                "latitude": -23.872,
                "longitude": -53.897,
                "biosample": "SAMEA117789403",
                "sample-metadata": [
                    {
                        "key": "geographic location (latitude)",
                        "value": "-23.872",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "-53.897",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2024-02-01T10:00:00",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000022",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Brazil",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "Glasshouse, with 30 C of temperature",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "Plants were potted",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "It was summer",
                        "unit": null
                    },
                    {
                        "key": "depth",
                        "value": "0,1",
                        "unit": null
                    },
                    {
                        "key": "elevation",
                        "value": "781.0",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "PRJEB85876",
                        "unit": null
                    }
                ],
                "accession": "ERS23775590",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "Soil",
                "environment-biome": "Plants were potted",
                "environment-feature": "Glasshouse, with 30 C of temperature",
                "environment-material": "It was summer",
                "sample-name": "T3-B56",
                "sample-alias": "T3-B56",
                "host-tax-id": null,
                "species": null,
                "last-update": "2025-03-14T00:34:17"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Plants"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Plants?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS23775590/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006771",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006771?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS23775590/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS23775590?format=api"
            }
        },
        {
            "type": "samples",
            "id": "ERS23775592",
            "attributes": {
                "latitude": -23.872,
                "longitude": -53.897,
                "biosample": "SAMEA117789405",
                "sample-metadata": [
                    {
                        "key": "geographic location (latitude)",
                        "value": "-23.872",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "-53.897",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2024-02-01T10:00:00",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000022",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Brazil",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "Glasshouse, with 30 C of temperature",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "Plants were potted",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "It was summer",
                        "unit": null
                    },
                    {
                        "key": "depth",
                        "value": "0,1",
                        "unit": null
                    },
                    {
                        "key": "elevation",
                        "value": "781.0",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "PRJEB85876",
                        "unit": null
                    }
                ],
                "accession": "ERS23775592",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "Soil",
                "environment-biome": "Plants were potted",
                "environment-feature": "Glasshouse, with 30 C of temperature",
                "environment-material": "It was summer",
                "sample-name": "T1-Control 2",
                "sample-alias": "T1-Control 2",
                "host-tax-id": null,
                "species": null,
                "last-update": "2025-03-14T00:33:57"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Plants"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Plants?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS23775592/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006771",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006771?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS23775592/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS23775592?format=api"
            }
        },
        {
            "type": "samples",
            "id": "ERS23775593",
            "attributes": {
                "latitude": -23.872,
                "longitude": -53.897,
                "biosample": "SAMEA117789406",
                "sample-metadata": [
                    {
                        "key": "geographic location (latitude)",
                        "value": "-23.872",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "-53.897",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2024-02-01T10:00:00",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000022",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Brazil",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "Glasshouse, with 30 C of temperature",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "Plants were potted",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "It was summer",
                        "unit": null
                    },
                    {
                        "key": "depth",
                        "value": "0,1",
                        "unit": null
                    },
                    {
                        "key": "elevation",
                        "value": "781.0",
                        "unit": null
                    },
                    {
                        "key": "project name",
                        "value": "PRJEB85876",
                        "unit": null
                    }
                ],
                "accession": "ERS23775593",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "Soil",
                "environment-biome": "Plants were potted",
                "environment-feature": "Glasshouse, with 30 C of temperature",
                "environment-material": "It was summer",
                "sample-name": "T4-A31+B56 2",
                "sample-alias": "T4-A31+B56 2",
                "host-tax-id": null,
                "species": null,
                "last-update": "2025-03-14T00:33:34"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Plants"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Plants?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS23775593/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006771",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006771?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS23775593/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS23775593?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 6
        }
    }
}