Search Account Documents

📘

This API is exclusive to Enterprise Shield accounts

Only the account owner or a document admin can grant access to this API.

Returns a list of all documents belonging to the requesting user’s account, sorted by created date.

📘

This endpoint is paginated. For more information, see Pagination .

📘

This endpoint has a per account rate limit of 300 requests per 5 seconds.



Valid Authentication Methods

API Key Grants:

  • DocumentAdmin

OAuth 2.0 User Token Scopes:

  • lucidchart.document.content:admin.readonly
  • lucidspark.document.content:admin.readonly
  • lucidscale.document.content:admin.readonly

Body Params
userIds
array of numbers

List of userIds to include in the search. If no ids are provided, it will search across the entire account.

userIds
boolean

Truthy if search results should only include documents owned by users specified by userIds. Ignored if no userIds are provided.

documentIds
array of uuids

List of documentIds to filter by.

documentIds
classificationIds
array of uuids

List of classificationIds to filter by.

classificationIds
statusIds
array of numbers

List of statusIds to filter by.

statusIds
date-time

Start of range to filter documents by created time.

date-time

End of range to filter documents by created time.

date-time

Start of range to filter documents by last modified time.

date-time

End of range to filter documents by last modified time.

product
array of strings
Defaults to lucidchart,lucidscale,lucidspark

Array of Lucid Suite products to filter by. Default value assumes all valid products for the given scopes.

product
string

Keyword(s) to search against document content and titles. When provided, results will be sorted by relevance to keyword search.

string

Specify to search for documents owned by team folders, owned by users, or deleted

string

Specify to search for documents with either “any” type of external access, “external-collaborators”, or "external-links"

Headers
string
required
Defaults to 1

The API version used in the request.

string
required

If the requesting user is an account owner or document admin with the required permissions and they make the request with the value of “admin” as this header and include an admin scope, the request will be made using their admin permissions.

Responses

400

Bad Request if incorrect format

403

Forbidden if "product" query parameter is used and the token’s scopes do not contain the matching readonly scope for each product, or account does not have access to the API

429

Too Many Requests if account makes more than 300 requests in 5 seconds

Language