Skip to content

Retrieve summary statistics on the metadata for each program that match the given query parameters.

GET
/discovery/query

Retrieve summary statistics on the metadata for each program that match the given query parameters.

Authorizations

Parameters

Query Parameters

treatment

Acceptable requested fields for querying

Array<string>

A pipe-separated list of treatments to look for

Example
Bone marrow transplant|Chemotherapy
primary_site

Acceptable requested fields for querying

Array<string>

A pipe-separated list of affected primary sites to look for

Example
Adrenal gland|Bladder
drug_name

Acceptable requested fields for querying

Array<string>

A pipe-separated list of drug names to look for

Example
FLUOROURACIL|LEUCOVORIN
chrom

Acceptable requested string for querying

string

A chromosome to search for variants within. This cannot be used with a geneParam, and must be of the format chr#:start-end

gene

Acceptable requested fields for querying

Array<string>

A gene name to search for variants within. This cannot be used with chrParam

Example
ZYG11A
assembly

Acceptable requested string for querying

string

A genomic assembly to search for variants within.

Example
hg38
exclude_cohorts

Acceptable requested fields for querying

Array<string>

A list of cohorts that will be excluded from results

Example
SYNTHETIC-1

Responses

200

Summary statistics

Discovery programs

object
site

Whole-site summary statistics

object
programs

Per-program summary statistics

array

5XX

Unspecified server error encountered

object
query
required

Error object container

object
error
required

Name/type of the error that occurred

string
ServerError
message
required

Message explaining why the error occurred

string
An unspecified server error occurred