***

title: SWML Scripts
slug: /reference/python/rest/fabric/swml-scripts
description: Manage SWML script resources via the Fabric namespace.
max-toc-depth: 3
---------------------

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

[restclient]: /docs/server-sdks/reference/python/rest/client

[list]: /docs/server-sdks/reference/python/rest/fabric/swml-scripts/list

[create]: /docs/server-sdks/reference/python/rest/fabric/swml-scripts/create

[get]: /docs/server-sdks/reference/python/rest/fabric/swml-scripts/get

[update]: /docs/server-sdks/reference/python/rest/fabric/swml-scripts/update

[delete]: /docs/server-sdks/reference/python/rest/fabric/swml-scripts/delete

[listaddresses]: /docs/server-sdks/reference/python/rest/fabric/swml-scripts/list-addresses

Manage SWML script resources. Standard CRUD with PUT updates and address listing.

Access via `client.fabric.swml_scripts` on a [`RestClient`][restclient] instance.

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

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

items = client.fabric.swml_scripts.list()
```

## **Methods**

<CardGroup cols={3}>
  <Card title="list" href="/docs/server-sdks/reference/python/rest/fabric/swml-scripts/list">
    List SWML script resources.
  </Card>

  <Card title="create" href="/docs/server-sdks/reference/python/rest/fabric/swml-scripts/create">
    Create a new SWML script resource.
  </Card>

  <Card title="get" href="/docs/server-sdks/reference/python/rest/fabric/swml-scripts/get">
    Retrieve a single SWML script resource.
  </Card>

  <Card title="update" href="/docs/server-sdks/reference/python/rest/fabric/swml-scripts/update">
    Replace a SWML script resource.
  </Card>

  <Card title="delete" href="/docs/server-sdks/reference/python/rest/fabric/swml-scripts/delete">
    Delete a SWML script resource.
  </Card>

  <Card title="list_addresses" href="/docs/server-sdks/reference/python/rest/fabric/swml-scripts/list-addresses">
    List addresses for a SWML script resource.
  </Card>
</CardGroup>