# Viewing Response Details

The Response tab helps you view and verify the results of an API request. An API response includes the response body, headers, and HTTP status code. You can check details such as the returned data, response time, and status to ensure the request executes correctly.

* **Response Header**: Displays response headers such as status code, content type, and other metadata.&#x20;
* **Response Body**: Shows the main content of the API response in all body formats (form-data, x-www-form-urlencoded and raw (JSON or XML)).

## Viewing Response in Element Repository

To view and validate the API response, perform the following actions:&#x20;

1. On the **Element Repository** page, after sending an API request, select the **Response** tab.&#x20;
2. On the **Response** tab, you can validate an API response using the following tabs:&#x20;

<details>

<summary>Response Header</summary>

The **Header** tab displays the **HTTP status code**, **Server**, **response time**, **Content-Type**, and **Length**.

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

</details>

<details>

<summary>Response Body</summary>

The **Body** tab displays the response returned by the server. The content is displayed in JSON, XML, or raw format depending on the server returns.

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

</details>


---

# 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.avoautomation.com/avo-assure/avo-assure-supported-technologies-for-automation/webservice-automation/viewing-response-details.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.
