Documents

Get file download URL

Get a presigned download URL for a document's source file. Only available for documents with source type MANAGED_FILE.

post/v1/namespace/{namespaceId}/documents/{documentId}/file-download-url

Request

  • Base URL
    https://api.agentset.ai
  • Auth
    HTTP bearer

Path parameters

namespaceIdstring required

The id of the namespace (prefixed with ns_)

Example:ns_123
documentIdstring required

The id of the document (prefixed with doc_)

Example:doc_123

Response

The presigned download URL for the file

successtrue required

Changes

No recorded changes to this operation across all 2 revisions of this API.