---
title: "Convert a blob or file containing instrument data to ASM (Allotrope Simple Model) JSON"
method: POST
path: "/connect/convert-to-asm"
tags: ["connect"]
---

# Convert a blob or file containing instrument data to ASM (Allotrope Simple Model) JSON

`POST /connect/convert-to-asm`

## Request

- Base URL: `https://{tenant_name}.benchling.com/api/v2`
- URL: `https://{tenant_name}.benchling.com/api/v2/connect/convert-to-asm`
- Auth: HTTP bearer

Converts an input blob or file containing instrument data to ASM (Allotrope Simple Model) JSON.

May provide the name of the instrument vendor (see /connect/list-allotropy-vendors) or the ID of a
connection associated with an instrument vendor.

## Request body

- ConvertToASM
  - `blobOrFileId` string, required: The ID of a blob link or the API ID of a file to process.
  - `connectionId` string: The ID of a connection to read the instrument vendor from.
  - `vendor` string: The instrument vendor to use for conversion. See /connect/list-allotropy-vendors.

## Response `200`

Blob ID of a blob containing the converted ASM

- ConnectConvertToASMResponse200
  - `blobId` string

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/benchling/apis/benchling-api-2.md) - [All operations](https://skmtc.dev/benchling/apis/benchling-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/benchling/apis/benchling-api-2/revisions/01d2fa8523cd?raw)
