v68

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-0144101120.9 KB
Troubleshooting

Check document access

Check if a given user has access to access a document in a custom datasource

Tip: Refer to the Troubleshooting tutorial for more information.

post/api/index/v1/checkdocumentaccess

Request body

datasourcestring required

Datasource of document to check access for.

objectTypestring required

Object type of document to check access for.

docIdstring required

Glean Document ID to check access for.

userEmailstring required

Email of user to check access for.

Response

OK

hasAccessboolean

If true, user has access to document for search