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

{
    "data": {
        "type": "samples",
        "id": "SRS4294602",
        "attributes": {
            "biosample": "SAMN09094087",
            "longitude": -122.2981,
            "latitude": 37.8864,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-122.2981",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "USA: California",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2017-11-01",
                    "unit": null
                },
                {
                    "key": "environmental package",
                    "value": "Metagenome or environmental",
                    "unit": null
                },
                {
                    "key": "host taxid",
                    "value": "4565",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "37.8864",
                    "unit": null
                },
                {
                    "key": "host scientific name",
                    "value": "Triticum aestivum",
                    "unit": null
                }
            ],
            "accession": "SRS4294602",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "Leaf surface microbial communities from wheat plants in UC Gill Tract Community Farm, Albany, California, United States - DLSL W.R1",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "SAMN09094087",
            "sample-alias": "SAMN09094087",
            "host-tax-id": 4565,
            "species": null,
            "last-update": "2025-06-04T17:25:26"
        },
        "relationships": {
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4294602/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00006816",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006816?format=api"
                        }
                    }
                ]
            },
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Plants:Phylloplane"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Plants:Phylloplane?format=api"
                }
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4294602/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/SRS4294602?format=api"
        }
    }
}