API referencehttps://staging.api.genome.computerhttps://api.genome.computer
A small connection API.
Methods, fields, and response shapes for the Genome Computer API. Use these endpoints to create and list genome connections, read their state, and follow progress.
The API evolves through additive fields and webhook event types. A breaking change requires a new major API version.
Authentication
Send an environment-scoped bearer key from your backend. Staging access is provisioned explicitly; production requires separate approval and setup.
Header
HTTP header
Authorization: Bearer $GC_API_KEY
OpenAPI schema
Download the same schema used to render this endpoint reference.
Create, list, and read durable genome connections, then follow their normalized progress. User-facing actions happen only in the hosted Genome Computer flow.
Genome connections
GET/v2/genome_connections
List genome connections.
Scope: genome_connections:read
Returns this organization's connections for the API key environment, newest first. User identity is never returned.
Parameter
In
Type
Required
Description
limit
query
integer
No
Maximum number of connections to return. Default: 25.
cursor
query
string
No
Opaque cursor returned by the previous page.
client_user_reference
query
string
No
Exact opaque client user reference to match.
Response status codes: 200, 400, 403.
POST/v2/genome_connections
Create a hosted genome connection.
Scope: genome_connections:write
Creates a short-lived Genome Computer URL from the client's authenticated backend.
Parameter
In
Type
Required
Description
idempotency-key
header
string
Yes
A unique key for this create attempt. Reuse it only when retrying the same request.
client_user_reference
body
string
Yes
Your opaque reference for the signed-in user. Do not send an email address, name, or other direct identifier.
return_url
body
string
Yes
An HTTPS URL whose origin has been approved for your organization.
Response status codes: 201, 400, 403, 409, 503.
GET/v2/genome_connections/{genome_connection_id}
Get a genome connection.
Scope: genome_connections:read
Returns the durable client-scoped connection and its current access state. User identity is never returned.
Returns the current panel state and, when ready, its derived findings. Raw genome files and user identity are not returned.
Parameter
In
Type
Required
Description
genome_connection_id
path
string
Yes
The durable genome connection identifier.
insight_panel_id
path
string
Yes
A stable insight panel identifier configured for the organization.
Response status codes: 200, 403, 404.
Webhooks
GET/v2/webhooks
List registered webhook endpoints.
Scope: webhooks:read
No request parameters.
Response status codes: 200.
POST/v2/webhooks
Register a lifecycle webhook endpoint.
Scope: webhooks:write
Endpoints may not target private or local hosts; production endpoints must be HTTPS. Supported event types: genome_connection.connected, genome_connection.progress.updated, genome_connection.ready, genome_connection.access.revoked, insight_panel.status.updated.
Parameter
In
Type
Required
Description
url
body
string
Yes
HTTPS endpoint that will receive events.
description
body
string
No
Human-readable label.
event_types
body
string[]
No
Event types to subscribe to. Defaults to all. Default: ["genome_connection.connected","genome_connection.progress.updated","genome_connection.ready","genome_connection.access.revoked","insight_panel.status.updated"].
Response status codes: 201, 400.
DELETE/v2/webhooks/{webhookId}
Disable a webhook endpoint.
Scope: webhooks:write
Parameter
In
Type
Required
Description
webhookId
path
string
Yes
Public webhook id (wh_...).
Response status codes: 200, 404.
Representative responses
Examples use only client-scoped identifiers. User identity and Genome Computer's canonical genome identifier are not exposed.
Use the browser return only to restore your product experience. Read the resource or process a verified webhook before changing durable state in your system.