Skip to main content
GET
Resolve Google Drive folder names
Turns the folder ids stored in a grant’s scope back into labels. Use it to show a scoped grant to a person. See Agent access. Labels for saved folder ids. Unknown ids resolve to null.
Availability: Cloud · Enterprise (self-hosted). Not available on the Community edition: a self-hosted deployment needs ENTERPRISE_ENABLED=true, otherwise the endpoint answers 403 with error.type: "enterprise_license_required".

Authorizations

Authorization
string
header
required

A workspace API key (oc_…) or organization API key (oc_org_…). Workspace-scoped endpoints called with an organization key also need X-Workspace-Id.

Query Parameters

connectionId
string
required
ids
string
required

Comma-separated folder ids.

Response

Folder id to name

{key}
string | null