# client.openapi

> The openapi methods of the morevoice Python SDK: This API description, as OpenAPI 3.1.

This API description, as OpenAPI 3.1. These methods are on `client.openapi`, where `client` is a `MoreVoice` client (see [the Python SDK](https://docs.morevoice.ai/sdk/python/#connect)). On `AsyncMoreVoice` the same methods are awaited. Each one returns the response object and raises an exception when the API answers with an error.

## `postman()`

**Get the Postman collection.** This API as a Postman collection (v2.1): one folder per resource, example bodies, Bearer `{{api_key}}`. Import it, or use the Run in Postman button in the docs. No API key needed.

```python
# client.openapi
def postman(self) -> Any | _m.OpenapiPostmanResponse200
```

`client.openapi.postman()` · `await async_client.openapi.postman()` · `GET /postman.json` · [API reference](https://docs.morevoice.ai/api/operations/openapi_postman/)

### Returns

An object:

| Field | Type | Description |
| --- | --- | --- |
| `info` | `object` | — |
| `item` | `any[]` | — |

### Example

```python
from morevoice import MoreVoice

client = MoreVoice()  # MOREVOICE_API_KEY from the environment

openapi = client.openapi.postman()
print(openapi)
```
