# messagesReportBlock

## 1. messagesReportBlock:

This Block allows to create report based on the inter-referenced messages.

![image1.png](/files/QIZXi1f6VcL2U38quLNL)

## **1.1 Properties**

Does not contain additional settings.

## **1.2 Data format**

### **GET**

**status** – current report status

1. FAILED – error encountered during the building
2. STARTED – reporting building is in progress
3. FINISHED – reporting building has been successfully completed

**target** – the document which is the subject of the report

**report** – the current report

```
{
"roles" – documents showing users and their roles
"users" – list of identified users
"schemas" – list of identified schemas
"tokens" – list of identified tokens
"topics" – hierarchical structure of Hedera topics and messages relevant to the target document
{
"topicId" – unique topic identifier
"message" – document describing the topic
"messages" – list of documents referenced in the topic
"children" – child topics
}
}
```

### **POST**

* Target document identification based on message ID - the system creates the report on the document which is referenced in the Header message with the specified ID (the presence of the document in the local Guardian database is not required)

```
{
"filterValue": "hedera message id"
}
```

* Target document identification by its hash – they system build the report on the document in the local DB which has the specified hash

```
{
"filterValue": "hash"
}
```

* Resets the report

```
{
"filterValue": "",
}
```

## 2. Example

Block can work independently (stand-alone):

![image2.png](/files/05ewmeLaUKRjpb5O2W3K)

Or used in conjunctions with other blocks (e.g. with grid)

![image3.png](/files/WNfCnAekCcFtvxagYKKJ)

### **2.1 Display** **Modes**

#### **2.1.1 Simplified** – folds all messages for a policy into a single ‘swim lane’.

* Only policy topics are displayed
* Auxiliary events (such as publishing policy) are hidden

![image4.png](/files/nrfLuCi6KfAxVNRmSG77)

#### **2.1.2 Advanced** – complete information is displayed with

* Full hierarchical topic structure
* All auxiliary and system events

![image5.png](/files/TpmhjgaXRHBGNOHXj4lW)

#### **2.1.3 Display layout**

* Left-side panel shows hierarchical catalog of Header topics.

![image6.png](/files/lXZLbthIvlHZJDIsPKad)

* Central area shows the timeline of the events as they have been recorded (in messages) in the specific topics

![image5.png](/files/TpmhjgaXRHBGNOHXj4lW)

* Right-side panel shows detailed information about the selected message

![image1.png](/files/QIZXi1f6VcL2U38quLNL)


---

# 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://guardian.hedera.com/guardian-dev/guardian/standard-registry/policies/policy-creation/introduction/messagesreportblock.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.
