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

# Introduction

> Reference for the latest API

<Info>
  New integrations should use the `/api/v1` routes documented here.
</Info>

## API surface

<Columns cols={2}>
  <Card title="Search API" icon="search" href="/api-reference/latest/search/query">
    Use `queries`, `completions`, `quick-read`, `cta-selection`, `suggestions`, and
    `health` to power search experiences.
  </Card>

  <Card title="Session API" icon="history" href="/api-reference/latest/sessions/create-share">
    Use `shares` and `session-summaries` to create shareable history snapshots
    and structured session recaps.
  </Card>
</Columns>

## Version pointer

Latest endpoints accept a `version` field where runtime packages are used.

| Value         | Use                                                        |
| ------------- | ---------------------------------------------------------- |
| `published`   | Default. Use this for production traffic.                  |
| `unpublished` | Use this only to test unpublished runtime package changes. |

## Environment URLs

| Surface          | Production                       |
| ---------------- | -------------------------------- |
| Search REST API  | `https://api.webless.ai/api/v1`  |
| Search WebSocket | `wss://api.webless.ai/api/v1/ws` |
| Data API         | `https://portal.webless.ai`      |
