# REST Module Output Consolidation

REST module output consolidation is a feature that groups all attributes into a single object called **"data"**, simplifying the process of passing and handling information in Skyone Studio. This means you can add or modify fields without updating the entire integration flow, and there's no need to pass each parameter individually.

### Practical example

In the flow below, note that we have a **REST module** followed by a **Return module**:

<figure><img src="/files/kORiKmQ7WOwNk2an7zi6" alt=""><figcaption><p>Flow example with REST module</p></figcaption></figure>

By default, we pass the fields in the **REST** module separately. Therefore, in the “**Return**” **module** we will see the attributes ungrouped, one by one:

<figure><img src="/files/jkJ3Y7ycPYdnOcjqMHel" alt=""><figcaption></figcaption></figure>

But if you activate the consolidation of the REST module's output, all the attributes will be sent as “**data**”:

<figure><img src="/files/VQXLAldA8LAF2yq7Orqy" alt=""><figcaption><p>The fields were grouped into "data"</p></figcaption></figure>

### How to activate consolidation

To consolidate the output of a REST module, follow these steps:

1. Click on “**Edit**” in the REST module.
2. Activate the “**Consolidate response**” option.

<figure><img src="/files/Zh9mnlZ9ty1zhDrQw7Fo" alt=""><figcaption></figcaption></figure>

3. Click on “**Next**” to test the module.
4. Finalize your changes by clicking “**Save**”.


---

# 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.skyone.cloud/english/skyone-studio/how-to/rest-module-output-consolidation.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.
