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

{
    "data": {
        "type": "samples",
        "id": "ERS3885105",
        "attributes": {
            "latitude": 51.5531,
            "longitude": 0.1658,
            "sample-metadata": [
                {
                    "key": "project name",
                    "value": "Pathogen enrichment of the airway microbiome in people living with HIV despite antiretroviral therapy",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "0.1658",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "United Kingdom",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2016-04-12",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "Airways",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "Lower Respiratory",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "Sputum",
                    "unit": null
                },
                {
                    "key": "sequencing method",
                    "value": "Illumina Miseq",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "51.5531",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000014",
                    "unit": null
                }
            ],
            "biosample": "SAMEA6084695",
            "accession": "ERS3885105",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "Sputum Microbiome",
            "environment-biome": "Airways",
            "environment-feature": "Lower Respiratory",
            "environment-material": "Sputum",
            "sample-name": "JB29",
            "sample-alias": "JB29",
            "host-tax-id": 9606,
            "species": "Homo sapiens",
            "last-update": "2025-03-25T11:51:00"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Host-associated:Human:Respiratory system"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Human:Respiratory%20system?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS3885105/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00006790",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006790?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS3885105/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS3885105?format=api"
        }
    }
}