> ## Documentation Index
> Fetch the complete documentation index at: https://help.pelion.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Interpret a response body

> How to read and understand the data returned in Pelion Portal API response bodies.

The API returns a response to every call. The response consists of a response code and a response body. The response code indicates whether your call succeeded or failed. The response body contains the data you requested, or an error message.

If your request succeeds, the endpoint returns a response code in the 200 range, and a response body with the data you requested or the details of the resources that you created, edited or deleted.

> [!NOTE]
>
> For information about response and error codes, see [Response and error codes](https://help.pelion.com/api/response-codes.md).

> [!NOTE]
>
> The content and structure of a response body varies depending on the endpoint. You can see a response example and response schema for every endpoint in the [API Reference](https://connectivity-eu.pelion.com/api-reference/) documentation.

The following example shows a response body from the `/alerts` endpoint. It contains the details of a monitoring alert created using the API.

```json theme={null}
{
  "contents": [
    {
      "id": "24",
      "ruleType": "sim",
      "target": "447000000001",
      "lowerThreshold": "1048576",
      "upperThreshold": "2097152",
      "dateCreated": "2018-02-11T10:33:30.000Z"
    }
  ]
}
```

The response body is composed of the following parts:

* The `id` field contains the monitoring alert's unique identifier.
* The `ruleType` field contains the type of alert.
* The `target` field contains the MSISDN of the SIM to which the monitoring alert applies.
* The `lowerThreshold` field contains the number of bytes for the lower usage threshold at which the alert is triggered.
* The `upperThreshold` field contains the number of bytes for the upper usage threshold at which the alert is triggered.
* The `dateCreated` field contains the date and time at which the alert was created.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.