Logs

View as MarkdownOpen in Claude

Query read-only logs for messages, voice calls, faxes, and conferences. Each log type is accessed as a sub-resource with list() and get() methods. Voice logs also support listing individual call events.

Access via client.logs on a RestClient instance.

import { RestClient } from "@signalwire/sdk";
const client = new RestClient({
project: "your-project-id",
token: "your-api-token",
host: "your-space.signalwire.com"
});
const voiceLogs = await client.logs.voice.list({ page_size: 5 });
for (const log of voiceLogs.data ?? []) {
console.log(log.id, log.from, "->", log.to);
}

Sub-resources