Analysis Jobs
The public API supports submitting analysis jobs. To submit an analysis job, you must have already uploaded the files you wish to analyze to the Biodock filesystem, and you must have a published analysis pipeline.
Pipelines can only be created and published through the website, NOT the API.
Only user-created pipelines are supported through the public API, NOT Biodock pipelines.
To submit an analysis job, use the following endpoint:
Submit analysis job
POST
https://app.biodock.ai/api/external/analysis-jobs
Headers
Name | Type | Description |
---|---|---|
X-API-KEY* | String | API key. |
Request Body
Name | Type | Description |
---|---|---|
pipelineId* | String | Pipeline to use for analysis. |
filesystemIds* | List[String] | Filesystem items to analyze. |
name | String | Name of the job. |
You can view progress for your analysis job using the following endpoint:
Fetch analysis job
GET
https://app.biodock.ai/api/external/analysis-jobs/{id}
Path Parameters
Name | Type | Description |
---|---|---|
id* | String |
Headers
Name | Type | Description |
---|---|---|
X-API-KEY* | String | API key. |
You can view progress for all your analysis jobs using the following endpoint:
List analysis jobs
GET
https://app.biodock.ai/api/external/analysis-jobs
Query Parameters
Name | Type | Description |
---|---|---|
limit | Number | Maximum number of results to show. |
startingAfter | String | Pagination cursor id. |
Headers
Name | Type | Description |
---|---|---|
X-API-KEY* | String | API key. |
Masks data is not generated by default during an analysis job. If you would like to obtain the masks data for your analysis job, you must first generate the masks data with the following endpoint:
Submit download masks job
POST
https://app.biodock.ai/api/external/analysis-jobs/{id}/download-masks
Path Parameters
Name | Type | Description |
---|---|---|
id* | String |
Headers
Name | Type | Description |
---|---|---|
X-API-KEY* | String | API key. |
Once the masks generation has completed, the download link to the masks will be available. You can view the progress and obtain the download link with the following endpoint:
Fetch download masks job
GET
https://app.biodock.ai/api/external/analysis-jobs/{id}/download-masks
Path Parameters
Name | Type | Description |
---|---|---|
id* | String |
Headers
Name | Type | Description |
---|---|---|
X-API-KEY* | String | API key. |
Sample Usage
Submitting an analysis job
View the progress of a specific analysis job
View the progress of all your analysis jobs
Generate masks data for an analysis job
View the progress of masks generation
Last updated