# Brine analysis

### Request payload

```json
{
    "method": "scalechem.brineAnalysis",
    "params": {
        "chemistryModel": "chem",
        "waterAnalysisInputs": [
            ...<snip>...
        ]
    }
}
```

<table data-header-hidden><thead><tr><th width="223.33333333333334">params</th><th>type</th><th>description</th></tr></thead><tbody><tr><td><strong>params</strong></td><td>type</td><td>description</td></tr><tr><td>chemistryModel</td><td>string</td><td><a href="/pages/GD3eBn0fj7fXmpV6ePoy#chemistry-model">chemistry model name</a></td></tr><tr><td>waterAnalysisInputs</td><td>array of objects</td><td><a href="/pages/-MK1M9s-C6wqs4hucy1i">water analysis inputs</a></td></tr></tbody></table>

Brine analysis uses the same input options as the water analysis in OLI Engine API. Please refer to [water analysis](/group1/api-functions/wateranalysis.md) for the specifications of **params.waterAnalysisInputs**.

{% hint style="info" %}
In addition to the inputs shown above, some optional properties may also be specified. They can be viewed at [Optional Inputs](/optional-inputs.md).
{% endhint %}

### Response (status = PROCESSED)

Please refer to the [response ](/group1/api-functions/wateranalysis.md#response-status-processed)of water analysis in OLI Engine API.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://devdocs.olisystems.com/oli-scalechem-api/main-methods/brine-analysis.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
