---
title: "(ESM3) Inverse folds proteins. Defaults to esm3-open-2024-03 if no model is given"
method: POST
path: "/api/v1/inverse_fold"
tags: ["v1"]
---

# (ESM3) Inverse folds proteins. Defaults to esm3-open-2024-03 if no model is given

`POST /api/v1/inverse_fold`

## Request body

- InverseFoldRequest
  - `model` 'esm3-open-2024-03' | 'null', nullable — You may have access to additional, private models as well. These will be visible on the Rate Limits page under the Developer Console
  - `potential_sequence_of_concern` boolean — Disclose potential sequences of concern. For approved users, such sequences will not go through additional safety filtering. Reach out if you are interested in using this.
  - `coordinates` array[] — Coordinates of the N, CA, C atom sequence as a Nx37x3 array.
    - array[]
      - number[]
  - `inverse_folding_config` InverseFoldingConfig, required
    - `invalid_ids` integer[] — Token indices that should not be sampled.
    - `temperature` number — Temperature for sampling. For inverse folding models, we recommend getting diverse predictions by changing the seed and not by increasing the temperature.
  - `sequence` string, nullable — Sequence for sequence conditioning.

## Response `200`

Successful Response

- InverseFoldResponse
  - `model` 'esm3-open-2024-03', required — You may have access to additional, private models as well. These will be visible on the Rate Limits page under the Developer Console
  - `created` string, required — ISO formatted date time
  - `potential_sequence_of_concern` boolean — Indicate that the returned sequence may be of potential concerns.
  - `warning_messages` string[], nullable — Warning messages returned by FastAPI.
  - `sequence` string — Inverse folded sequence.

## Other responses

- `422` — Validation Error

---

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