# Importing Tool from a Zip file

<mark style="color:green;">`POST`</mark> `/api/v1/tools/import/file-metadata`

Imports new tool and all associated artifacts, such as schemas and VCs, from the provided zip file into the local DB. Only users with the Standard Registry role are allowed to make the request.

**Headers**

| Name          | Value              |
| ------------- | ------------------ |
| Content-Type  | `application/json` |
| Authorization | `Bearer <token>`   |

**Body**

| Name     | Type   | Description |
| -------- | ------ | ----------- |
| file     | string | File        |
| metadata | string | Metadata    |

**Response**

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

```json5
content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskDTO'
```

{% endtab %}

{% tab title="401: Unauthorized" %}

```json
{
  "error": "Invalid request"
}
```

{% endtab %}

{% tab title="403: Forbidden" %}

{% endtab %}

{% tab title="500" %}

```json5
content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorDTO'
```

{% endtab %}
{% endtabs %}
