# Get active plugin subscription plans

`GET /api/plugin-plans/active`

Authentication: no security requirement declared for this operation.

Parameters:

- `pluginId` (query, string, optional) - Filter by plugin ID
  Type: string

- `type` (query, string, optional) - Filter by plan type
  Type: string

Responses:

- 200: Active plugin subscription plans retrieved successfully

Content type: application/json

Type: array

Items:
  Reference: [PluginSubscriptionPlan_1](https://sourcey-gauzy.pages.dev/api-reference/models/pluginsubscriptionplan-1/index.md); Type: object

## Examples

### cURL

```bash
curl -X GET 'http://localhost:3000/api/plugin-plans/active'
```

### JavaScript

```javascript
const response = await fetch('http://localhost:3000/api/plugin-plans/active', {
  method: 'GET',
});

const data = await response.text();
```

### Python

```python
import requests

response = requests.get('http://localhost:3000/api/plugin-plans/active')
print(response.text)
```
