# List all plugin sources

`GET /api/plugins/{pluginId}/versions/{versionId}/sources`

Authentication: no security requirement declared for this operation.

Parameters:

- `pluginId` (path, string, required)
  Type: string

- `versionId` (path, string, required)
  Type: string

- `select` (query, object, optional)
  Type: object
  
  Schema: [Object](https://sourcey-gauzy.pages.dev/api-reference/models/object/index.md)

- `relations` (query, object, optional)
  Type: object
  
  Schema: [Object](https://sourcey-gauzy.pages.dev/api-reference/models/object/index.md)

- `where` (query, object, required)
  Type: object
  
  Schema: [Object](https://sourcey-gauzy.pages.dev/api-reference/models/object/index.md)

- `order` (query, object, optional)
  Type: object
  
  Schema: [Object](https://sourcey-gauzy.pages.dev/api-reference/models/object/index.md)

- `withDeleted` (query, boolean, optional)
  Type: boolean

- `take` (query, number, optional)
  Type: number
  
  minimum: 0
  
  maximum: 100

- `skip` (query, number, optional)
  Type: number
  
  minimum: 0

Responses:

- 200: List of plugin sources retrieved successfully.

Content type: application/json

Type: array

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

- 401: Unauthorized access.

- 404: No plugin sources found matching the provided criteria.

## Examples

### cURL

```bash
curl -X GET 'http://localhost:3000/api/plugins/string/versions/string/sources'
```

### JavaScript

```javascript
const response = await fetch('http://localhost:3000/api/plugins/string/versions/string/sources', {
  method: 'GET',
});

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

### Python

```python
import requests

response = requests.get('http://localhost:3000/api/plugins/string/versions/string/sources')
print(response.text)
```
