# Uploading chemistry model files for ScaleChem API

## Upload package

<mark style="color:green;">`POST`</mark> `https://api.olisystems.com/channel/upload/scalechem`

Upload zipped dbs files as a package

#### Headers

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

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

```javascript
{
    'file': [
    {
        'filename': 'mixerAll.zip', 
        'id': '4b9cffb4-23ae-4541-8c98-3cb11f43a480'
    }
    ], 
    'status': 'UPLOADED', 
    'type': 'scalechem'
}
```

{% endtab %}
{% endtabs %}

### Response description

| field              | type            | description                             |
| ------------------ | --------------- | --------------------------------------- |
| file               | array of object | information of files uploaded:          |
| file\[  ].filename | string          | name of file with extension             |
| file\[  ].id       | string          | unique identifier for the uploaded file |
| status             | string          | **"UPLOADED"** or **"FAILED"**          |
| type               | string          | type of file                            |
