# Overview

## Legal JS

Legal JS is our Javascript-based framework that allows you to integrate all of our widgets on your site. Here you'll find guides to how you embed our widgets easily.&#x20;

{% content-ref url="/pages/-L\_r0gQWAMdBsTXJi1lz" %}
[Collect consent](/docs/documentation/legaljs-widget/consent.md)
{% endcontent-ref %}

{% content-ref url="/pages/-M5MgHXYmb6Id9ZS5qLY" %}
[Collect cookie consent](/docs/documentation/legaljs-widget/collecting-cookie-consent.md)
{% endcontent-ref %}

## Openli API

Our API gives you the ability to integrate with Openli and automate your compliance. Use our API to auto-generate companies, consents or access documents.&#x20;

{% content-ref url="/pages/-LRMVo4XNoy2umrtwIYe" %}
[Consents](/docs/documentation/legal-monster-api/consents.md)
{% endcontent-ref %}

{% content-ref url="/pages/-LRb8ljQlGrUp23dY5LN" %}
[Webhooks](/docs/documentation/legal-monster-api/webhooks.md)
{% endcontent-ref %}


---

# 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.openli.com/docs/documentation/technical-overview.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.
