get https://api.sigmacomputing.com/v2/grants/
Return a grant object by grant ID.
Usage notes
Depending on the grant object that you want to return details about, you can retrieve the grantId in different ways:
- For most documents, you can retrieve the grantId by calling the /v2/grants endpoint with the inodeId for the document. For example, use the workbookId as the inodeId.
- For a dataset, you can also retrieve the grantId by calling the /v2/datasets/{datasetId}/grants endpoint.
- For a connection path, you can retrieve the grantId by calling the /v2/connections/paths/{connectionPathId}/grants endpoint.