> For the complete documentation index, see [llms.txt](https://devdocs.olisystems.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://devdocs.olisystems.com/oli-scalechem-api/get-list-of-uploaded-scalechem-model-files.md).

# Get list of uploaded ScaleChem model files

## Get list of packages in a private channel

<mark style="color:blue;">`GET`</mark> `https://api.olisystems.com/channel/scalechem`

| Name          | Type   | Description               |
| ------------- | ------ | ------------------------- |
| Authorization | String | Bearer {access\_tokentabl |

#### Parameters

<table><thead><tr><th width="173">Name</th><th>Type</th><th width="170">Description</th><th>Default Value</th><th>Max Value</th></tr></thead><tbody><tr><td>page (optional)</td><td>Integer</td><td>Start page</td><td>0</td><td>100000</td></tr><tr><td>count (optional)</td><td>Integer</td><td>Results per page</td><td>20</td><td>100</td></tr></tbody></table>

{% tabs %}
{% tab title="200: OK " %}

```json
{
  "data": {
    "files": [
      {
        "createdAt": "Tue, 15 Mar 2022 17:28:01 GMT",
        "createdBy": "bbb27a13-bf4b-45c3-af76-a8a4ea8fd27d",
        "creatorName": "creater name",
        "fileId": "6d73c011-8eaf-4a1c-9ced-27aa1e27e614",
        "name": "mixerAll.zip",
        "path": "OLI_APP_FILES/00130000000JsxhAAC/scalechem/bbb27a13-bf4b-45c3-af76-a8a4ea8fd27d/6d73c011-8eaf-4a1c-9ced-27aa1e27e614/mixerAll.zip",
        "status": "ACTIVE",
        "updatedAt": "Tue, 15 Mar 2022 17:28:01 GMT",
        "updatedBy": "bbb27a13-bf4b-45c3-af76-a8a4ea8fd27d",
        "updatorName": "update name"
      },
      {
        "createdAt": "Tue, 15 Mar 2022 17:30:10 GMT",
        "createdBy": "bbb27a13-bf4b-45c3-af76-a8a4ea8fd27d",
        "creatorName": "creater name",
        "fileId": "3a078037-2bd8-4e75-91d0-c10ba322d3b0",
        "name": "mixerAll2.zip",
        "path": "OLI_APP_FILES/00130000000JsxhAAC/scalechem/bbb27a13-bf4b-45c3-af76-a8a4ea8fd27d/3a078037-2bd8-4e75-91d0-c10ba322d3b0/mixerAll.zip",
        "status": "ACTIVE",
        "updatedAt": "Tue, 15 Mar 2022 17:30:10 GMT",
        "updatedBy": "bbb27a13-bf4b-45c3-af76-a8a4ea8fd27d",
        "updatorName": "update name"
      }]
    },
  "message": "Channel file and package list returned successfully",
  "status": "SUCCESS"
  }
}
```

{% endtab %}
{% endtabs %}

## Download package by file id

<mark style="color:blue;">`GET`</mark> `https://api.olisystems.com/channel/download/file/{fileId}`

#### Headers

| Name          | Type   | Description            |
| ------------- | ------ | ---------------------- |
| Authorization | String | Bearer {access\_token} |

## Delete uploaded package by file id

<mark style="color:red;">`DELETE`</mark> `https://api.olisystems.com/channel/file/{fileId}`

#### Headers

| Name          | Type   | Description            |
| ------------- | ------ | ---------------------- |
| Authorization | String | Bearer {access\_token} |

{% tabs %}
{% tab title="200: OK " %}

```javascript
{
  "message": "File deleted successfully",
  "status": "SUCCESS"
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://devdocs.olisystems.com/oli-scalechem-api/get-list-of-uploaded-scalechem-model-files.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
