---
title: "Get Mol From File"
method: POST
path: "/convert/files_to_mols"
tags: ["convert"]
---

# Get Mol From File

`POST /convert/files_to_mols`

## Query parameters

- `all_structures` boolean

## Request body

- File[]
  - `name` string, required
  - `text` string, required

## Response `200`

Successful Response

- MoleculesFromFile — unresolved $ref

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/rowansci/apis/eyrie.md) · [All operations](https://skmtc.dev/rowansci/apis/eyrie/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rowansci/eyrie/revisions/f786577eede6/schema)
