---
title: "Download a document"
method: GET
path: "/api/projects/{projectId}/documents/{documentId}/download"
tags: ["Document"]
---

# Download a document

`GET /api/projects/{projectId}/documents/{documentId}/download`

Download the document content as a JSON file.

## Path parameters

- `documentId` string, uuid, required
- `projectId` string, uuid, required

## Response `200`

Document content as JSON file download

- string — Document content as JSON file download

---

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