---
title: "Get a signed download URL for a document"
method: POST
path: "/v1/knowledge-base/documents/{documentId}/download"
tags: ["Knowledge Base"]
---

# Get a signed download URL for a document

`POST /v1/knowledge-base/documents/{documentId}/download`

Get a signed download URL for a document in Comp AI. Upload source documents, process them for retrieval, and manage reusable manual answers that power questionnaires and AI policy workflows.

## Path parameters

- `documentId` string, required

## Response `200`

Signed download URL generated

## Changes

> 56 revisions in range; 4 could not be searched.

- **2026-06-04** `d7d0199d846f` — 1 info
  - the endpoint scheme security `oauth2` was removed from the API
- **2026-05-29** `5382c53ab431` — 1 info
  - the endpoint scheme security `oauth2` was added to the API

[Change history](https://skmtc.dev/trycompai/apis/comp-ai-api/changes/v1/knowledge-base/documents/:documentId/download/post.md)

---

[API](https://skmtc.dev/trycompai/apis/comp-ai-api.md) · [All operations](https://skmtc.dev/trycompai/apis/comp-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/trycompai/comp-ai-api/revisions/726b9523fb22/schema)
