# Databank Query

When dealing with species not readily available in public databanks within a thermodynamic framework, users can turn to a private databank. The databank query assists users in verifying if the species is supported by the private databank linked to a thermodynamic framework. Additionally, since the list of species in a databank changes over time and users may struggle to keep track of versions and associated species, the databank query streamlines the process by offering an up-to-date list of all species in both public and private databanks.

```json
{ 
    "params":{ 
        "thermodynamicFramework": "Aqueous (H+ ion)",
        "privateDatabanks": ["COR", "CER"]
    }
}
```

<table><thead><tr><th width="273.76195506047435" align="center">params</th><th width="130" align="center">required </th><th width="141" align="center">type</th><th>Description</th></tr></thead><tbody><tr><td align="center">thermodynamicFramework</td><td align="center"><span data-gb-custom-inline data-tag="emoji" data-code="2714">✔️</span></td><td align="center">String</td><td>The name of thermodynamic framework (e.g. Aqueous (H+ ion))</td></tr><tr><td align="center">privateDatabanks</td><td align="center"><span data-gb-custom-inline data-tag="emoji" data-code="2714">✔️</span></td><td align="center">Array of String</td><td>The array of private data bank codes (e.g. "COR" and "CER")</td></tr></tbody></table>

{% hint style="info" %}
The private databank is an optional field. If a user lists the private databanks, all the species contained in these databanks will be displayed in the output.
{% endhint %}

{% hint style="info" %}
The valid code representing a private databank can be accessed using [Query Output Results](/chemistry-model-files/chembuilder-api/chembuilder-query/query-output-results.md)
{% endhint %}

### Response (status=SUCCESS)

If no run-time [errors ](/chemistry-model-files/chembuilder-api/supporting-information-for-chembuilder/chembuilder-errors.md)are encountered, the [Query output](/chemistry-model-files/chembuilder-api/chembuilder-query/query-output-results.md) with the requested contents will be available for users to view.


---

# 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/chemistry-model-files/chembuilder-api/chembuilder-query/databank-query.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.
