# REST Functions

{% hint style="info" %}
REST functions are only visible in the list if the Solution Creator defined functions that use the [REST data provider](/building-apps-with-jigx/data/data-providers/rest.md). Make sure that credentials such as API Keys are set up correctly in [Credentials](/administration/solutions/credentials.md) if they are being referenced in the function definition.
{% endhint %}

You can try out all functions of the solutions that use the REST data provider.

1. On the left side, you will see all input parameters of the function including the initial set values such as the `key` of the credential, in the example below there is an API Key reference called jigx.finnhub.token.
2. Enter values into the input parameter fields and click the **Preview** button at the top of the screen. The JSON editor on the right side will show the results returned by the function.
3. Click on **Show schema** to view the function definition.

{% hint style="success" %}
You can click the **copy to the clipboard** icon at the top and paste the JSON result into [JSONata Exerciser](https://try.jsonata.org/). This allows you to run and test [Expressions](/building-apps-with-jigx/logic/expressions.md) against real REST response data.
{% endhint %}

<figure><img src="/files/UPUncdPEXglWwS8U7szE" alt="Preview a REST function"><figcaption><p>Preview a REST function</p></figcaption></figure>


---

# 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://docs.jigx.com/administration/solutions/rest-functions.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.
