---
title: "Predict Preprocessed"
method: POST
path: "/predict/{molecule}"
---

# Predict Preprocessed

`POST /predict/{molecule}`

## Request

- Base URL: `https://api.respiq.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.respiq.com/predict/{molecule}`
- Auth: HTTP bearer

Predict from a single preprocessed spectral row.

    curl -X POST http://localhost:8080/predict/cyclohexanone
      -H "Authorization: Bearer <token>"
      -H "Content-Type: application/json"
      -d '{"350.0": 0.023, "350.3": 0.024, ...}'

## Path parameters

- `molecule` string, required

## Request body

- object

## Response `200`

Successful Response

- PredictionResponse
  - `molecule` string, required
  - `concentration` number, required
  - `unit` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/respiq/apis/respiq-prediction-api.md) - [All operations](https://skmtc.dev/respiq/apis/respiq-prediction-api/llms.txt) - [OpenAPI document](https://skmtc.dev/respiq/apis/respiq-prediction-api/revisions/64131f9fd4c3?raw)
