> For the complete documentation index, see [llms.txt](https://docs.fortifiedid.se/information-endpoint/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fortifiedid.se/information-endpoint/about.md).

# About

InformationEndpoint module acts a simple http endpoint. Basic configuration is inherited by common http module properties.

When trace id is desired in information to end user, template is required. By using *${trace\_id}* in template it will expand to the session trace id.

{% hint style="info" %}
Module name: InformationEndpoint
{% endhint %}

{% tabs %}
{% tab title="Properties" %}

<table><thead><tr><th>Name</th><th>Description</th><th data-type="checkbox">Mandatory</th><th>Default</th></tr></thead><tbody><tr><td>http_context</td><td>First part of the url exposed.</td><td>false</td><td><code>/infoendpoint</code></td></tr><tr><td>endpoint</td><td>Array of custom endpoints</td><td>true</td><td></td></tr><tr><td>endpoint.context_path</td><td>Last part of the URI exposed.</td><td>true</td><td></td></tr><tr><td>template</td><td>Name of template to use when accessing <em>http_context+endpoint.context_path</em>.</td><td>false</td><td></td></tr><tr><td>webroot_dir</td><td>Where to look for files other than template.  js, html etc.</td><td>true</td><td>web/infoendpoint</td></tr><tr><td>overlay_dir</td><td>Location for additional overlay files.</td><td>false</td><td>N/A</td></tr><tr><td></td><td></td><td>false</td><td></td></tr></tbody></table>
{% endtab %}

{% tab title="Example" %}

```json
{
    "name": "InformationEndpoint",
    "config": {
        "http_context": "/userinfo",
        "endpoint": [
            {
                "context_path": "/generic",
                "template": "generic_error.template",
                "overlay_dir": "web/overlay_test"
            }
        ]
    }
}
```

{% endtab %}
{% endtabs %}

Example config is accessible on */userinfo/generic.* This will render configured template. Files located in the webroot\_dir is accessed by name.

{% hint style="warning" %}
Sharing http\_context with other modules is mandatory for expanding shared *trace\_id.*&#x20;
{% endhint %}

{% hint style="danger" %}
Configuring identical paths as other module will render non deterministic behaviour.&#x20;
{% endhint %}


---

# 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.fortifiedid.se/information-endpoint/about.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.
