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

# View API documentation

> Fetch and update the latest WaaS 2.0 OpenAPI specification with Cobo CLI for up-to-date API definitions.

<Tip>
  Try [Cobo WaaS Skill](/v2/guides/overview/cobo-waas-skill) in your AI coding assistant (Claude Code, Cursor, etc.). Describe your needs in natural language to auto-generate production-ready SDK code and debug faster 🚀
</Tip>

Use this command to fetch and update the latest WaaS 2.0 OpenAPI specification. Cobo CLI downloads the YAML file and saves it to your local configuration directory, ensuring you have the most up-to-date API definitions.

## Usage

```shell theme={null}
cobo doc <topic_or_path> [options]
```

## Arguments

`<topic_or_path>`: Specifies the documentation topic or the API operation path. Possible values include:

* `guides`: (Default)Opens the [Introduction to WaaS 2.0](/v2/guides/overview/introduction) guide.
* `api`: Opens the [API Reference](/v2/api-references/playground) page.
* `sdk`: Opens the [WaaS SDKs](/v2/developer-tools/quickstart-python) guide.
* `apps`: Opens the [Cobo Portal App development](/v2/apps/introduction) guide.
* API endpoint paths: Displays detailed information on API operations available for the specified path such as `/wallets`.

## Options

`-u`, `--update`: Update the OpenAPI specification for WaaS 2.0, ensuring you have the latest API definitions and documentation. With this option used, this command will only perform the updates and then exit. After a successful update, Cobo CLI confirms the operation with a "specification file downloaded successfully" message.

## Example

```shell theme={null}
cobo doc /wallets/mpc/vaults
```

This command fetches the documentation of the `/wallets/mpc/vaults` endpoint, including its description, parameters, and response format.
