Files
cfw-autumn/others/python-sdk/docs/sdks/plans/README.md
2026-02-16 17:45:45 +00:00

47 lines
1.9 KiB
Markdown

# Plans
## Overview
### Available Operations
* [list](#list) - List Plans
## list
List Plans
### Example Usage
<!-- UsageSnippet language="python" operationID="list" method="get" path="/v1/products" -->
```python
from autumn_sdk import Autumn
with Autumn(
x_api_version="2.1",
secret_key="<YOUR_BEARER_TOKEN_HERE>",
) as autumn:
res = autumn.plans.list()
# Handle response
print(res)
```
### Parameters
| Parameter | Type | Required | Description |
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- |
| `request` | [models.ListRequest](../../models/listrequest.md) | :heavy_check_mark: | The request object to use for the request. |
| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
### Response
**[models.ListResponse](../../models/listresponse.md)**
### Errors
| Error Type | Status Code | Content Type |
| ------------------------- | ------------------------- | ------------------------- |
| errors.AutumnDefaultError | 4XX, 5XX | \*/\* |