List user documents given the provided search terms and filters.

Basic Parameters

ParameterDescription
QueryFilter documents by name.
TypeFilter documents by their type.
User ID-

Advanced Parameters

ParameterDescription
LimitHow many items are your requesting.
Next PageThe next page Uri.
PageWhich page of data are you requesting.

Example Output

{
	"documents": [
		{
			"createdAt": "2020-07-06 12:00:00.000000",
			"fileUrl": "http://localhost:5000/download/documents/1",
			"id": 1,
			"name": "Security Training",
			"type": "SEC_TRAINING",
			"updatedAt": "2020-07-06 12:00:00.000000"
		}
	]
}

Workflow Library Example

List User Documents with Drata and Send Results Via Email

Preview this Workflow on desktop