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

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

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

Get a document by docID

## Path parameters

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

## Response `200`

Document value

- Document

## Other responses

- `400` — error
- `default`

## Changes

- **2025-06-02** `60812f5416c5` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/sourcenetwork/apis/defradb-api/changes/collections/:name/:docID/get.md)

---

[API](https://skmtc.dev/sourcenetwork/apis/defradb-api.md) · [All operations](https://skmtc.dev/sourcenetwork/apis/defradb-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sourcenetwork/apis/defradb-api/revisions/95eb31ca3da3?raw)
