Datasphere

View as MarkdownOpen in Claude

Manage documents and perform semantic search via the Datasphere API. Documents are stored with vector embeddings, enabling natural-language search across your knowledge base. The documents sub-resource provides full CRUD plus search and chunk-level operations.

Access via client.datasphere.documents 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 results = await client.datasphere.documents.search({ query_string: "billing FAQ" });
for (const doc of results.data ?? []) {
console.log(doc.id, doc.title);
}

Methods