This page provides details on each of the IDC API endpoints.
get
Get links to the IDC API Swagger UI and IDC documentation
Responses
200
API Description and link to SwaggerUI interface.
500
Server error message
get
/about
get
Returns a list of IDC data versions and activation dates
Responses
200
A list of IDC data versions and metadata
500
Server error message
get
/versions
get
Returns a list of collections, and associated metadata, in the current IDC data version.
Responses
200
A list of collections
500
Server error message
get
/collections
get
Returns a list of the analysis results, and associated metadata, in the current IDC data version
Responses
200
A list of analysis results
500
Server error message
get
/analysis_results
get
Returns a list of 'filters', organized by data source (BQ table), for the current IDC data version. An IDC cohort is defined by a 'filterset', a set of (filter,[values]) pairs, and the IDC version against which the filterset is applied. The returned data is grouped by source (the BQ table that contains the corresponding filter values). For each filter, its data type and units, when available, are reported.
Responses
200
A list of filters
500
Server error message
get
/filters
get
Return a list of the values accepted for a 'categorical filter'. A categorical filter is a filter having a data type of 'Categorical String' or 'Categorical Number'.
Path parameters
filterstringRequired
Categorical filter whose values are to be returned
Responses
200
A list of accepted values
500
Server error message
get
/filters/values/{filter}
get
Return a list of queryable manifest fields.
Path parameters
versionstringRequired
IDC data version whose data is to be returned. If the version is 'current', the fields of the current IDC version are returned.
Responses
200
A list of fields
500
Server error message
get
/fields/{version}
post
Returns a manifest of a 'previewed cohort' as defined by a specified filterset. The filterset is always applied to the current IDC version. The metadata to be returned in the manifest is configurable. A previewed cohort is not saved in the user's IDC account.
Body
countsstringOptional
If True, return counts of DICOM objects
Default: False
group_sizestringOptional
If True, return size in bytes of instances in group
Default: False
sqlstringOptional
If True, return the BQ SQL for this query.
Default: False
page_sizeintegerOptional
Maximum number of rows to return
Default: 1000
Responses
200
Preview cohort spec and manifest
202
Timeout waiting for BQ job to complete
500
Server error message
post
/cohorts/manifest/preview
get
Returns the next page of a /cohorts/manifest/preview request, when additional data is available.
Query parameters
next_pagestringRequired
The next_page token returned by a previous access of the /cohorts/manifest/preview endpoint. The token identifies the next page to be retrieved
page_sizeintegerOptional
The maximum number of rows to be returned. If the manifest contains additional rows, another 'next_page' token is returned.