***

title: get
slug: /reference/typescript/rest/datasphere/get
description: Retrieve a specific document.
max-toc-depth: 3
---------------------

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

Retrieve a specific document by ID.

<EndpointSchemaSnippet endpoint="GET /api/datasphere/documents/{id}" />

## **Response Example**

<EndpointResponseSnippet endpoint="GET /api/datasphere/documents/{id}" />

## **Example**

```typescript {9-10}
import { RestClient } from "@signalwire/sdk";

const client = new RestClient({
  project: "your-project-id",
  token: "your-api-token",
  host: "your-space.signalwire.com"
});

const doc = await client.datasphere.documents.get("document-id");
console.log(doc.name, doc.id);
```