***

title: list
slug: /reference/python/rest/fabric/swml-scripts/list
description: List SWML script resources.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

List SWML script resources in the project.

<EndpointSchemaSnippet endpoint="GET /api/fabric/resources/swml_scripts" />

## **Response Example**

<EndpointResponseSnippet endpoint="GET /api/fabric/resources/swml_scripts" />

## **Example**

```python {9}
from signalwire.rest import RestClient

client = RestClient(
    project="your-project-id",
    token="your-api-token",
    host="your-space.signalwire.com",
)

response = client.fabric.swml_scripts.list()
for item in response.get("data", []):
    print(f"{item['display_name']}: {item['id']}")
```