---
title: "GET /documents/{id}"
method: GET
path: "/documents/{id}"
tags: ["documents"]
---

# GET /documents/{id}

`GET /documents/{id}`

Returns details of a document

## Path parameters

- `id` string, required

## Response `200`

Success

- Document
  - `id` string, required — ID of the document
  - `source_id` string — ID of the document's source
  - `name` string, required
  - `url` string, required — OpenTrials API URL of the document
  - `trials` TrialSummary[]
    - `id` string — ID of the trial
    - `url` string — OpenTrials API URL for this trial
  - `file` FileSummary
    - `id` string — ID of the file
    - `sha1` string
    - `source_url` string — URL of origin for this file
  - `source` Source
    - `id` string, required
    - `name` string, required
    - `source_url` string — URL to source's website
    - `terms_and_conditions_url` string
    - `type` 'register' | 'other'

## Other responses

- `404` — Document not found
- `default` — Error

## Changes

- **2016-05-31** `7a0eb1704719` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/opentrials/apis/opentrials-api/changes/documents/:id/get.md)

---

[API](https://skmtc.dev/opentrials/apis/opentrials-api.md) · [All operations](https://skmtc.dev/opentrials/apis/opentrials-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/opentrials/opentrials-api/revisions/52ed4a72ff27/schema)
