---
title: "POST Get a signed view URL for a knowledge base document"
description: "Get a signed view URL for a knowledge base document"
last_updated: "2026-05-06T07:33:49.578734+00:00"
canonical_url: "https://www.doc0.dev/docs/49c89830-117b-4def-8edc-b5bcc50766e0/api/knowledge-base/knowledgebasecontroller-getviewurl"
---

<APIEndpoint
  method={"POST"}
  path={"/knowledge-base/documents/:documentId/view"}
  summary={"Get a signed view URL for a knowledge base document"}
  description={"Get a signed view URL for a knowledge base document"}
  deprecated={false}
  baseUrl={""}
/>

## Parameters

<APIParameters parameters={[{"name":"documentId","in":"path","required":true,"description":"The ID of the document.","schema":{"type":"string"}}]} />

## Request Body

Get document URL DTO.

<APIRequestBody
  contentType={"application/json"}
  required={true}
  schema={{"type":"object"}}
/>

## Responses

<APIResponse
  statusCode={"200"}
  description={"Signed view URL generated"}
  contentType={"application/json"}
  schema={{"type":"object"}}
/>

## Try It

<APIPlayground
  method={"POST"}
  path={"/knowledge-base/documents/:documentId/view"}
  parameters={[{"name":"documentId","in":"path","required":true,"description":"The ID of the document.","schema":{"type":"string"}}]}
  requestBody={{"contentType":"application/json","required":true,"description":"Get document URL DTO.","schema":{"type":"object"}}}
  baseUrl={""}
/>


## Sitemap

See the full [sitemap](https://www.doc0.dev/docs/49c89830-117b-4def-8edc-b5bcc50766e0/llms.txt) for all pages in this wiki.
