> For the complete documentation index, see [llms.txt](https://docs.ionos.com/cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/cloud/~/revisions/bM7yG7XCmGE9IxWqMpBu/managed-services/logging-service/api-how-tos.md).

# API How-Tos

The Logging Service offers regional APIs that enable programmatic interaction with the platform. These APIs serve various purposes: task automation, system integration, and platform functionality extension. Additionally, the APIs allow you to filter logs based on different criteria, such as the date range, log level, and source.

## Regional REST API endpoint

A regional endpoint is necessary to interact with the Logging Service REST API endpoints. Currently, IONOS supports only the following endpoint for the Berlin region:

`https://logging.de-txl.ionos.com/pipelines`

## Request parameter headers

To interact with the Logging Service REST API endpoints, the header must contain the following values:

| Header            | Required |  Type  | Description                                                                                                                                                                                                                                    |
| ----------------- | :------: | :----: | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Authorization** |    yes   | string | A `Bearer $TOKEN` is a string that is tied to your account. For information on generating tokens, see [<mark style="color:blue;">Create New Tokens</mark>](https://api.ionos.com/docs/authentication/v1/#tag/tokens/operation/tokensGenerate). |
| **Content-Type**  |    yes   | string | Set this to `application/json`.                                                                                                                                                                                                                |

Here are some of the most common API How-Tos for the Logging Service:

| [<mark style="color:blue;">**Set Up a Logging Pipeline Instance**</mark>](/cloud/~/revisions/bM7yG7XCmGE9IxWqMpBu/managed-services/logging-service/api-how-tos/set-up-logging-pipeline-instance.md)         |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [<mark style="color:blue;">**Obtain a new Key**</mark>](/cloud/~/revisions/bM7yG7XCmGE9IxWqMpBu/managed-services/logging-service/api-how-tos/obtain-key.md)                                                 |
| [<mark style="color:blue;">**Modify a Logging Pipeline Instance**</mark>](/cloud/~/revisions/bM7yG7XCmGE9IxWqMpBu/managed-services/logging-service/api-how-tos/modify-logging-pipeline-instance.md)         |
| [<mark style="color:blue;">**Retrieve Logging Pipeline Information**</mark>](/cloud/~/revisions/bM7yG7XCmGE9IxWqMpBu/managed-services/logging-service/api-how-tos/retrieve-logging-pipeline-information.md) |
| [<mark style="color:blue;">**Delete a Logging Pipeline Instance**</mark>](/cloud/~/revisions/bM7yG7XCmGE9IxWqMpBu/managed-services/logging-service/api-how-tos/delete-logging-pipeline-instance.md)         |
| [<mark style="color:blue;">**Modify the Log Retention Policy**</mark>](/cloud/~/revisions/bM7yG7XCmGE9IxWqMpBu/managed-services/logging-service/api-how-tos/modify-log-retention-policy.md)                 |

We recommend you refer to the following after creating an instance via the API:

| [<mark style="color:blue;">**Send Logs to Platform**</mark>](/cloud/~/revisions/bM7yG7XCmGE9IxWqMpBu/managed-services/logging-service/quick-start/send-logs-to-platform.md)         |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [<mark style="color:blue;">**Access Logs from Platform**</mark>](/cloud/~/revisions/bM7yG7XCmGE9IxWqMpBu/managed-services/logging-service/quick-start/access-logs-from-platform.md) |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.ionos.com/cloud/~/revisions/bM7yG7XCmGE9IxWqMpBu/managed-services/logging-service/api-how-tos.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
