For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Log inSign up
Support
GuidesReference
GuidesReference
    • Core
      • Overview
    • Agents
      • Overview
      • AgentBase
      • AgentServer
      • Configuration
      • ContextBuilder
      • DataMap
      • FunctionResult
      • Helper Functions & Utilities
      • LiveWire
      • PomBuilder
      • Prefabs
      • SkillBase
      • SkillManager
      • SkillRegistry
      • Skills
      • SwaigFunction
      • SwmlBuilder
      • SWMLService
    • RELAY
      • Overview
      • Actions
      • Call
      • Constants
      • Events
      • Message
      • RelayClient
      • RelayError
    • REST Client
      • Overview
      • Addresses
      • Calling
      • ChatResource
      • Compat
      • Datasphere
      • Fabric
        • Addresses
        • AI Agents
        • Call Flows
        • Conference Rooms
        • cXML Applications
        • cXML Scripts
        • cXML Webhooks
        • FreeSWITCH Connectors
        • RELAY Applications
        • Resources
        • SIP Endpoints
        • SIP Gateways
        • Subscribers
        • SWML Scripts
        • SWML Webhooks
        • Tokens
      • ImportedNumbersResource
      • Logs
      • LookupResource
      • MFA
      • Number Groups
      • Phone Numbers
      • Project
      • PubSubResource
      • Queues
      • Recordings
      • Registry
      • RestClient
      • RestError
      • Short Codes
      • SIP Profile
      • Verified Callers
      • Video
LogoLogoSignalWire Docs
Log inSign up
Support
REST Client

Fabric

|View as Markdown|Open in Claude|
Was this page helpful?
Edit this page
Previous

Addresses

Next
Built with

The FabricNamespace provides access to all SignalWire Fabric resources through the RestClient. It organizes 16 sub-resources for managing AI agents, SWML scripts, RELAY applications, call flows, conference rooms, subscribers, SIP infrastructure, cXML resources, and authentication tokens.

Access via client.fabric on a RestClient instance.

1import { RestClient } from "@signalwire/sdk";
2
3const client = new RestClient({
4 project: "your-project-id",
5 token: "your-api-token",
6 host: "your-space.signalwire.com"
7});
8
9const agents = await client.fabric.aiAgents.list();
10for (const agent of agents.data ?? []) {
11 console.log(`${agent.display_name}: ${agent.id}`);
12}

Fabric resources use two update strategies. Resources like aiAgents, swmlWebhooks, sipGateways, and cxmlWebhooks use PATCH for partial updates. Resources like swmlScripts, relayApplications, callFlows, conferenceRooms, subscribers, and others use PUT for full replacement updates. The SDK handles this automatically.

AI Agents

AI agent resources with PATCH updates and address listing.

SWML Scripts

SWML script resources with PUT updates and address listing.

RELAY Applications

RELAY application resources with PUT updates and address listing.

Call Flows

Call flow resources with versioning and deployment.

Conference Rooms

Conference room resources with PUT updates.

Subscribers

Subscriber resources with SIP endpoint management.

SIP Endpoints

Top-level SIP endpoint resources.

cXML Scripts

cXML script resources with PUT updates.

cXML Applications

cXML application resources (no create).

SWML Webhooks

SWML webhook resources with PATCH updates.

SIP Gateways

SIP gateway resources with PATCH updates.

cXML Webhooks

cXML webhook resources with PATCH updates.

FreeSWITCH Connectors

FreeSWITCH connector resources with PUT updates.

Resources

Cross-type generic resource operations with routing.

Addresses

Read-only fabric address lookup.

Tokens

Subscriber, guest, invite, and embed token creation.