---
title: "Uploads a file for extraction of metadata and returns file id"
method: POST
path: "/extractions/upload_file"
tags: ["extractions"]
---

# Uploads a file for extraction of metadata and returns file id

`POST /extractions/upload_file`

Saves the uploaded file and sends it for extraction to Rabbitmq. If the
optional URL parameter extract is set to false, it does not send the
file for extraction. Does not index the file. Same as upload() except
for upload()

## Query parameters

- `extract` boolean
- `showPreviews` string

## Response `200`

OK

---

[API](https://skmtc.net/clowder-framework/apis/clowder.md) · [All operations](https://skmtc.net/clowder-framework/apis/clowder/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clowder-framework/clowder/revisions/bcd187478e0d/schema)
