Get all private documents

Get all the policies, compliance and security reports private documents. This endpoint is only available on Trust Center Pro.

Securitybearer
Request
query Parameters
q
string <= 100 characters

Filter private documents by searching for name

Example: q=Report 01
workspaceId
number >= 1

ID of the workspace

Example: workspaceId=1
Responses
200

Good to go!

401

Invalid Authorization

403

You are not allowed to perform this action

500

Internal server error

default

Response Code: 412

You must accept the Drata terms and conditions to use the API

get/trust-center/private-documents
Request samples
Response samples
application/json
{
  • "privateDocuments": [
    • { }
    ]
}