> For the complete documentation index, see [llms.txt](https://docs.hyper-space.io/hyperspace-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hyper-space.io/hyperspace-docs/flows/data-collections/accessing-data.md).

# Accessing Data

## Get Document

The following describes how to retrieve a document from a Hyperspace Collection.

{% tabs %}
{% tab title="Python" %}
{% code lineNumbers="true" %}

```python
document = hyperspace_client.get_document(collection_name, document_id)
```

{% endcode %}
{% endtab %}

{% tab title="Java" %}

<pre class="language-java" data-line-numbers><code class="lang-java"><strong>Dcoument document = hyperspaceClient.getDocument(collectionName, documentId)
</strong></code></pre>

{% endtab %}

{% tab title="JavaScript" %}
{% code lineNumbers="true" %}

```javascript
document = hyperspaceClient.get(id: documentId,
                                index: collectionName )
```

{% endcode %}
{% endtab %}
{% endtabs %}

<mark style="color:purple;">document\_id</mark> is a string. This is the identifier that you specified when the document was uploaded into the Hyperspace Collection and this is the identifier that is returned as the results of a query, as described in [Accessing Query Results](broken://pages/G7WvubF0GJUUtCL3NQ77).

**Where** –

<mark style="color:purple;">document</mark> is a json or a python dict object.
