Skip to main content

Documentation Index

Fetch the complete documentation index at: https://developer.onecodex.com/llms.txt

Use this file to discover all available pages before exploring further.

You can list your assets using the following:
curl -u $ONE_CODEX_API_KEY: \
     -X GET -H "X-OneCodex-Api-Experimental: 1" \
     "https://app.onecodex.com/api/v1/assets"
This will return a list of JSON items such as the below.
[
  {
    "$uri": "/api/v1_experimental/assets/xxxxxxxxxxxxxxxx",
    "created_at": "2023-11-15T18:33:18.884095+00:00",
    "name": "my_filename.json",
    "organization_id": 01,
    "s3_uri": "s3://refgenomics-userdata-production-encrypted/user_YYYYYYYYYYYYYYYY/asset_xxxxxxxxxxxxxxxx/my_filename.json",
    "size": 5243096,
    "status": "available",
    "uploaded_by": {
      "$ref": "/api/v1_experimental/users/YYYYYYYYYYYYYYYY"
    },
    "uuid": "xxxxxxxxxxxxxxxx"
  }
]