Skip to main content
You can list the assets available to your organization using the following:
curl -u $ONE_CODEX_API_KEY: \
     -X GET \
     "https://app.onecodex.com/api/v1/assets"
This will return a list of JSON items like the example below.
[
  {
    "$uri": "/api/v1/assets/xxxxxxxxxxxxxxxx",
    "created_at": "2023-11-15T18:33:18.884095+00:00",
    "filename": "my_filename.json",
    "name": "my_filename.json",
    "size": 5243096,
    "status": "available",
    "uploader": {
      "$ref": "/api/v1/users/YYYYYYYYYYYYYYYY"
    }
  }
]