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

# Ontora

> Knowledge base API with MCP server access for querying, organizing, and retrieving enterprise knowledge.

Knowledge base API with MCP server access for querying, organizing, and retrieving enterprise knowledge. Best for workflows needing intelligent document retrieval and knowledge management. Unlike Notion (structured pages/databases), Ontora specializes in AI-powered knowledge retrieval across document collections.

1 example endpoint available through Lava's AI Gateway.

<Warning>This provider requires your own credentials — connect your API key or OAuth account before use.</Warning>

<Info>This is a **catch-all provider** — any valid URL under `https://api.ontora.com` is supported. Knowledge base API. Construct URL as [https://api.ontora.com/\&#123;path\&#125](https://api.ontora.com/\&#123;path\&#125);. The endpoints below are curated examples.</Info>

## Endpoints

### Query the knowledge base

**POST** `https://api.ontora.com/v1/query` — Free / request

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.ontora.com/v1/query', { body: {"query":"What changed in the docs?"} });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl -X POST "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.ontora.com%2Fv1%2Fquery" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY" \
      -H "Content-Type: application/json" \
      -d '{"query":"What changed in the docs?"}'
    ```
  </Tab>
</Tabs>

## Next Steps

<CardGroup cols={2}>
  <Card title="All Providers" icon="grid" href="/gateway/supported-providers">
    Browse all supported AI providers
  </Card>

  <Card title="Forward Proxy" icon="route" href="/gateway/forward-proxy">
    Learn how to construct proxy URLs and authenticate requests
  </Card>
</CardGroup>
