---
title: "GET /collections/{name}/document/{docID}"
method: GET
path: "/collections/{name}/document/{docID}"
tags: ["document"]
---

# GET /collections/{name}/document/{docID}

`GET /collections/{name}/document/{docID}`

Get a document by docID

## Path parameters

- `name` string, required
- `docID` string, required

## Response `200`

Document value

- Document

## Other responses

- `400` — error
- `404` — error

---

[API](https://skmtc.net/sourcenetwork/apis/defradb-api.md) · [All operations](https://skmtc.net/sourcenetwork/apis/defradb-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sourcenetwork/defradb-api/versions/bf2e90fa690e/schema)
