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

# Read the docs from your terminal

> Search, list and print any Plivo documentation page from the shell. No credentials, no browser.

`plivo docs` reads the Plivo documentation without leaving the shell. It needs no credentials, so it works before you have authenticated, and inside CI containers and coding agents where nobody can open a browser.

**Command:** `plivo docs <subcommand>`

## `plivo docs search <keywords...>`

Search the full text of every page. A page matches only if it contains **all** the keywords, and results are ranked by how often those keywords appear. Matching is case-insensitive and substring based, so partial words and API field names both work.

* `--limit <int>`: maximum results (default 10).

```bash theme={null}
plivo docs search audio streaming
plivo docs search bidirectional
plivo docs search 10dlc brand registration -o json
```

## `plivo docs list`

List every documentation page.

## `plivo docs show <path-or-title>`

Print one page in full. The reference can be a URL, a path fragment such as `voice/api/call`, or a page title, and the most specific match wins.

```bash theme={null}
plivo docs show voice/api/call
plivo docs show "Account API"
```

## Cache, refresh and offline use

The full text is cached under `~/.plivo/cache` for a day, so repeat searches are instant. If the network is unreachable the CLI serves the stale cache rather than failing, which keeps the docs readable on a bad connection. `--refresh` bypasses the cache and re-fetches; it is a group flag, so it works on `plivo docs` itself and on all three subcommands.

## The same content without the CLI

Every page on the documentation site is also available as plain Markdown: append `.md` to any URL. Two index files summarise the whole site for LLMs and agents, and they are what `plivo docs` reads.

```bash theme={null}
curl -s https://www.plivo.com/docs/llms.txt               # index of every page, with one-line summaries
curl -s https://www.plivo.com/docs/llms-full.txt          # every page, in one file
curl -s https://www.plivo.com/docs/voice/quickstart/quickstart.md
```

For a synthesised, cited answer instead of raw pages, use [`plivo ask`](/docs/cli/apis/diagnose-ask#ask-a-question).
