list
List all Fabric resources across all resource types.
Response
data
An array of objects that contain a list of Resource data
links
Object containing pagination links
Response Example
Response
List all Fabric resources across all resource types.
{"data": [{"ai_agent": {"agent_id": "a87db7ed-8ebe-42e4-829f-8ba5a4152f54","name": "Support Assistant","prompt": {"text": "You are a helpful customer support assistant."}},"created_at": "2024-05-06T12:20:00Z","display_name": "Support Assistant","id": "993ed018-9e79-4e50-b97b-984bd5534095","project_id": "1313fe58-5e14-4c11-bbe7-6fdfa11fe780","type": "ai_agent","updated_at": "2024-05-06T12:25:00Z"}],"links": {"self": "https://example.signalwire.com/api/fabric/resources?page_number=0&page_size=50","first": "https://example.signalwire.com/api/fabric/resources?page_number=0&page_size=50"}}
from signalwire.rest import RestClientclient = RestClient(project="your-project-id",token="your-api-token",host="your-space.signalwire.com",)response = client.fabric.resources.list()for resource in response.get("data", []):print(f"{resource['type']}: {resource['name']} ({resource['id']})")