# OutlineAPIWrapper

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/utilities/outline/OutlineAPIWrapper)

Wrapper around OutlineAPI.

This wrapper will use the Outline API to query the documents of your instance.
By default it will return the document content of the top-k results.
It limits the document content by doc_content_chars_max.

## Signature

```python
OutlineAPIWrapper()
```

## Extends

- `BaseModel`

## Properties

- `top_k_results`
- `load_all_available_meta`
- `doc_content_chars_max`
- `outline_instance_url`
- `outline_api_key`
- `outline_search_endpoint`

## Methods

- [`validate_environment()`](https://reference.langchain.com/python/langchain-community/utilities/outline/OutlineAPIWrapper/validate_environment)
- [`run()`](https://reference.langchain.com/python/langchain-community/utilities/outline/OutlineAPIWrapper/run)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/a6a6079511ac8a5c1293337f88096b8641562e77/libs/community/langchain_community/utilities/outline.py#L16)