CURIO | APIs

Uploading Project Files
To upload a file via the API you simply need to make an HTTP "PUT" request with the file to a URL in the following form:

https://curio-genomics-cloud-uploads.storage.googleapis.com/<CURIO PROJECT ID>/

Note that the trailing slash "/" character is required, and the "<CURIO PROJECT ID>" portion should be replaced with the unique id of the CURIO project that you would like the file uploaded into.

To authenticate the request, you also need to pass your Curio API Key on an HTTP header with the name of:

x-goog-meta-curio-api-key
There are many ways to do this, but here is an example of using the 'curl' command to upload a file with name "sample.fastq" into the project with id "ABC-PROJECT-789" using an API key of "XYZ-API-KEY-123":

curl --upload-file /tmp/sample.fastq -H "x-goog-meta-curio-api-key:XYZ-API-KEY-123" https://curio-genomics-cloud-uploads.storage.googleapis.com/ABC-PROJECT-ID-789/

Or, here is an example that would find all files ending in the extension ".gz" within the current directory and bulk upload them into a project:

find . -name "*.gz" -exec curl --upload-file {} -H "x-goog-meta-curio-api-key:XYZ-API-KEY-123" https://curio-genomics-cloud-uploads.storage.googleapis.com/ABC-PROJECT-ID-789/ \;
Test Drive Curio for 14 Days
Let us know you're interested, and we'll get you started...