Skip to content

Retrieve patients matching the filters

GET
/query

Gets a query ticket containing streamed information about patients that match the given query

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
page_size

Acceptable integer for querying

integer

The number of donors to return per page

Example
10
page

Acceptable integer for querying

integer

The page number to grab

Example
1
exclude_cohorts

Acceptable requested fields for querying

Array<string>

A list of cohorts that will be excluded from results

Example
SYNTHETIC-1

Responses

200

Retrieved donor information

Query response

object
summary

Summary statistics

object
results

Donors matching the query

array
next

URL to grab the next set of results

string
prev

URL to grab the previous set of results

string

400

The request was not processed, as the request parameters did not adhere to the specification

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
query
object
error
InvalidInput
message
FOO is not an acceptable field

404

The request was not processed, as the requested object was not found

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
query
object
error
NotFound
message
The requested resource could not be located

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