API referencehttps://staging.api.genome.computerhttps://api.genome.computer
Endpoint reference.
Methods, paths, request fields, and response shapes for the genome.computer API. Endpoints are shared by staging and production unless marked as staging-only.
Authentication
Send the API key in the Authorization header. Staging keys start with gc_test_. Production keys start with gc_live_.
Header
HTTP header
Authorization: Bearer $GC_API_KEY
OpenAPI
The API also exposes machine-readable OpenAPI JSON and Swagger UI for internal testing.
{"panel_result_id":"pan_9y2m1q","panel_id":"nutrition_micronutrients","genome_id":"gen_test_nutrition_001","interpretation_version":"2026.05.1","summary":"This panel found user-specific nutrition and metabolic context with moderate evidence. It is suitable for an evidence summary card, not diagnosis or treatment advice.","sections":[{"title":"Metabolic Context","summary":"1 user-specific finding relevant to glucose handling.","interpretation":"For this user, TCF7L2 rs7903146 CT is relevant to glucose handling and diet-adjacent metabolic context.","evidence_level":"moderate","user_findings":[{"gene":"TCF7L2","variant_id":"rs7903146","user_result":"CT","interpretation":"The user carries one T allele at rs7903146, a common variant associated with glucose and type 2 diabetes risk in population studies.","relevance":"Useful as inherited metabolic context alongside diet, labs, history, and clinician review.","evidence_basis":"Moderate evidence based on GWAS Catalog and gnomAD."}]}],"citations":[{"source":"GWAS Catalog","url":"https://www.ebi.ac.uk/gwas/","accessed_at":"2026-05-20"},{"source":"gnomAD","url":"https://gnomad.broadinstitute.org/","accessed_at":"2026-05-20"}],"limitations":["DNA does not measure current glucose, insulin sensitivity, diet, or symptoms.","This panel does not diagnose diabetes or recommend a nutrition protocol."],"clinical_boundary":"Use as inherited context for education and clinician review. Do not present as diagnosis, treatment, or dosing guidance."}
Natural-language answer
Q&A response
{"answer_id":"ans_4az91r","genome_id":"gen_test_nutrition_001","response_length":"medium","answer":"This genome can support peptide-related decision making indirectly. The relevant genetic context is around metabolic handling, inflammation and recovery pathways, connective tissue repair, cardiovascular safety, endocrine signaling, and medication response. It should be presented as inherited pathway context for clinician review, not as a peptide prescription, deficiency assessment, or yes/no treatment recommendation.","citations":[{"source":"interpretation_artifact","version":"2026.05.1"}],"safety":{"clinical_advice":false,"requires_clinician_review":true},"usage":{"input_tokens":2190,"output_tokens":142,"model_name":"gpt-5.5"}}
Advanced context
Context response
{"context_id":"ctx_7v1a9k","genome_id":"gen_test_nutrition_001","domain":"nutrition","detail_level":"standard","summary":"Nutrition context includes folate handling, caffeine response, lactose persistence, lipid metabolism, and selected cardiometabolic markers.","structured_findings":[{"id":"nutr_folate_mthfr","title":"Folate and methylation context","evidence_level":"moderate","genes":["MTHFR","MTR","MTRR"],"client_display":"Show as inherited folate-pathway context, not as a diagnosis or supplement instruction."}],"citations":[{"source":"ClinVar","accessed_at":"2026-05-20","url":"https://www.ncbi.nlm.nih.gov/clinvar/"}],"interpretation_version":"2026.05.1"}
Use the interpretation record for quick status and version display. Use panel results for structured product UI, Q&A for plain-English explanation, and context responses only when you need deterministic grounding artifacts.