PUT /openapi/memorylake/admin/v1/access/{resource_type}/{resource_id}/scope-grants/{subject_type}/{subject_id}
Adds the resource to the access scope of a member or access group whose scope is restricted for this resource type, so they can reach it with the permissions they already have.
resource_type
resource_id is
Permission
workspaces
workspace_id
workspace:assign on workspace_id or member:set_scope (when subject_type is members) or access_group:manage (when subject_type is access-groups) Also required: workspace:assign on workspace_id or access_group:view Also required: workspace:read on workspace_id
projects
project_id
project:assign on project_id or member:set_scope (when subject_type is members) or access_group:manage (when subject_type is access-groups) Also required: project:assign on project_id or access_group:view Also required: project:read on project_id
actors
actor_id
actor:assign on actor_id or member:set_scope (when subject_type is members) or access_group:manage (when subject_type is access-groups) Also required: actor:assign on actor_id or access_group:view Also required: actor:read on actor_id
agents
agent_id
agent:assign on agent_id or member:set_scope (when subject_type is members) or access_group:manage (when subject_type is access-groups) Also required: agent:assign on agent_id or access_group:view Also required: agent:read on agent_id
skills
skill_id
skill:assign on skill_id or member:set_scope (when subject_type is members) or access_group:manage (when subject_type is access-groups) Also required: skill:assign on skill_id or access_group:view Also required: skill:read on skill_id
boundaries
boundary_id
boundary:assign on boundary_id or member:set_scope (when subject_type is members) or access_group:manage (when subject_type is access-groups) Also required: boundary:assign on boundary_id or access_group:view Also required: boundary:read on boundary_id
workspaces/{workspace_id}/actors
actor_id
workspace_actor:assign on workspace_id}/{actor_id or member:set_scope (when subject_type is members) or access_group:manage (when subject_type is access-groups) Also required: workspace_actor:assign on workspace_id}/{actor_id or access_group:view Also required: workspace_actor:read on workspace_id}/{actor_id
workspaces/{workspace_id}/agents
agent_id
workspace_agent:assign on workspace_id}/{agent_id or member:set_scope (when subject_type is members) or access_group:manage (when subject_type is access-groups) Also required: workspace_agent:assign on workspace_id}/{agent_id or access_group:view Also required: workspace_agent:read on workspace_id}/{agent_id
Path Parameters
string
required
Resource type — one of the values in the table above
string
required
Identifier of the resource, as listed in the table above
string
required
members or access-groups
string
required
principal_id of a member, or an access group id
Headers
string
Optional. Retrying with the same value replays the first result.
Request Body
string
required
Why the change is made; recorded in the audit log
string
Projects only: the project’s workspace, so the project can be shown by name in access scopes
For blocked entries: scope = limited to other instances; permission = their role cannot view this resource type at all
object
Members: the levels the caller may set them to here
Show Permission Level Options object
boolean
Whether the caller may remove the member’s level (level none)
array
Levels the caller may set this member to (excluding the current one)
string
Why the current level cannot be lowered or removed: outranked = the member’s level is not below the caller’s; last_manager = the member is the last one who can manage the resource; no_permission = the caller cannot share this resource
string
The member’s level set on this instance; omitted when none is set. One of: read, write, manage.
integer
Access groups: number of members
string
What the member can do on this instance, from every source combined. One of: read, write, manage.
string
Members: their role
integer
How many instances of this resource type are in the subject’s access scope
string
Members: all = not limited by an access scope for this resource type; instances = limited to the instances in their scope
array
How the subject reaches the instance
Show Resource Access Source object
string
role: the member’s role reaches every instance. scope_grant: the instance is in the subject’s access scope. access_group: an access group’s instance list. parent: granted on the parent workspace. permission_level: a permission level set on this instance.
string
For access_group: the group
string
For access_group: its name
array
Actions this source allows; [”*”] = all the subject’s permissions allow
string
For parent: the parent workspace id
array
For permission_level: the levels held on this instance
integer
Members who can access the instance
array
Members who cannot
Show Resource Access Entry object
string
Display name
string
principal_id, or access group id
string
member or access_group
array
Actions the explicit sources allow
string
For blocked entries: scope = limited to other instances; permission = their role cannot view this resource type at all
object
Members: the levels the caller may set them to here
Show Permission Level Options object
boolean
Whether the caller may remove the member’s level (level none)
array
Levels the caller may set this member to (excluding the current one)
string
Why the current level cannot be lowered or removed: outranked = the member’s level is not below the caller’s; last_manager = the member is the last one who can manage the resource; no_permission = the caller cannot share this resource
string
The member’s level set on this instance; omitted when none is set. One of: read, write, manage.
integer
Access groups: number of members
string
What the member can do on this instance, from every source combined. One of: read, write, manage.
string
Members: their role
integer
How many instances of this resource type are in the subject’s access scope
string
Members: all = not limited by an access scope for this resource type; instances = limited to the instances in their scope
array
How the subject reaches the instance
Show Resource Access Source object
string
role: the member’s role reaches every instance. scope_grant: the instance is in the subject’s access scope. access_group: an access group’s instance list. parent: granted on the parent workspace. permission_level: a permission level set on this instance.
string
For access_group: the group
string
For access_group: its name
array
Actions this source allows; [”*”] = all the subject’s permissions allow
string
For parent: the parent workspace id
array
For permission_level: the levels held on this instance
array
Permission levels the caller may set on this instance; empty when the caller cannot share it
string
Instance id; <workspace_id>/<id> for workspace actors and agents
Errors answer with success: false, a message and an error_code. See Error Codes for every code.
Status
Meaning
400
A parameter or the body is invalid
401
The API key is missing, invalid, disabled or expired
403
The key is not allowed to do this
404
The resource does not exist
409
The request conflicts with the current state, e.g. a duplicate or a limit reached
422
The body or a parameter failed validation
429
Too many requests. Wait for the time in Retry-After
500
Server-side error
503
Temporarily unavailable. Retry later
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"MemoryLake AI","colors":{"primary":"#E75C2A","light":"#F2A361","dark":"#EF8640"},"logo":{"light":"https://mintcdn.com/datacloud-924043c1/W_-TJZhNN0WMmbCI/logo/light.svg?fit=max\u0026auto=format\u0026n=W_-TJZhNN0WMmbCI\u0026q=85\u0026s=9766e4cbaa7d674460d63cee7a88c501","dark":"https://mintcdn.com/datacloud-924043c1/W_-TJZhNN0WMmbCI/logo/dark.svg?fit=max\u0026auto=format\u0026n=W_-TJZhNN0WMmbCI\u0026q=85\u0026s=a41577a71bafe8a081881ff6b98cb305"},"favicon":"https://mintcdn.com/datacloud-924043c1/pEDy58oBG5CxVCQs/favicon.svg?fit=max\u0026auto=format\u0026n=pEDy58oBG5CxVCQs\u0026q=85\u0026s=d47c4a1ae8b1aac3422e43e0d1bc022b","navbar":{"primary":{"type":"button","label":"Console","href":"https://app.memorylake.ai"}},"footer":{"socials":{"x":"https://x.com/mintlify","github":"https://github.com/mintlify","linkedin":"https://linkedin.com/company/mintlify"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","default":true,"href":"overview"},{"language":"zh","href":"zh/overview"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"datacloud-924043c1","hasAudioNarration":false,"actualSubdomain":"datacloud-924043c1","customDomains":["docs.memorylake.ai"],"gitSource":{"type":"github","owner":"memorylake-ai","repo":"memorylake-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10c6db9ffae5051c40749b"},"entitlements":{},"buildId":"6b0cea3c688a432224fb186f","clientVersion":"0.0.4453","searchFilterCounts":[{"language":"en","tag":"API reference","count":243},{"language":"zh","tag":"API 参考","count":243},{"language":"en","tag":"MemoryLake API","count":236},{"language":"zh","tag":"MemoryLake API","count":236},{"language":"en","tag":"Guides","count":51},{"language":"zh","tag":"指南","count":51},{"language":"en","tag":"Access Control","count":29},{"language":"en","tag":"Projects","count":29},{"language":"zh","tag":"访问控制","count":29},{"language":"zh","tag":"项目","count":29},{"language":"en","tag":"Agents","count":28},{"language":"zh","tag":"Agent","count":28},{"language":"en","tag":"Actors","count":22},{"language":"zh","tag":"Actor","count":22},{"language":"en","tag":"Deprecated","count":21},{"language":"zh","tag":"已弃用","count":21},{"language":"en","tag":"Billing","count":18},{"language":"en","tag":"Workspaces","count":18},{"language":"zh","tag":"计费","count":18},{"language":"zh","tag":"工作空间","count":18}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"hidden-docs.css","content":"html:not([data-show-hidden-docs]) [data-group-tag=\"Preview\"]:not([data-active]),html:not([data-show-hidden-docs]) [data-group-tag=\"预览\"]:not([data-active]),html:not([data-show-hidden-docs]) div:has(>.sidebar-group-header [data-nav-tag=\"Preview\"]):not(:has([data-active])),html:not([data-show-hidden-docs]) div:has(>.sidebar-group-header [data-nav-tag=\"预览\"]):not(:has([data-active])){display:none}"}]}
{"page":{"pagePath":"features/memorylake/api-reference/access-control/grant-scope","slug":"/features/memorylake/api-reference/access-control/grant-scope","pageMetadata":{"title":"Grant Access","description":"Let a member or access group whose access scope is restricted reach a resource","href":"/features/memorylake/api-reference/access-control/grant-scope"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Let a member or access group whose access scope is restricted reach a resource\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`PUT /openapi/memorylake/admin/v1/access/{resource_type}/{resource_id}/scope-grants/{subject_type}/{subject_id}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`Adds the resource to the access scope of a member or access group whose scope is restricted for this resource type, so they can reach it with the permissions they already have.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`resource_type`})}),_jsxs(_components.th,{children:[_jsx(_components.code,{children:`resource_id`}),` is`]}),_jsx(_components.th,{children:`Permission`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`workspaces`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`workspace_id`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`workspace:assign`}),` on `,_jsx(_components.code,{children:`workspace_id`}),` or `,_jsx(_components.code,{children:`member:set_scope`}),` (when `,_jsx(_components.code,{children:`subject_type`}),` is `,_jsx(_components.code,{children:`members`}),`) or `,_jsx(_components.code,{children:`access_group:manage`}),` (when `,_jsx(_components.code,{children:`subject_type`}),` is `,_jsx(_components.code,{children:`access-groups`}),`)`,_jsx(`br`,{}),`Also required: `,_jsx(_components.code,{children:`workspace:assign`}),` on `,_jsx(_components.code,{children:`workspace_id`}),` or `,_jsx(_components.code,{children:`access_group:view`}),_jsx(`br`,{}),`Also required: `,_jsx(_components.code,{children:`workspace:read`}),` on `,_jsx(_components.code,{children:`workspace_id`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`projects`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`project_id`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`project:assign`}),` on `,_jsx(_components.code,{children:`project_id`}),` or `,_jsx(_components.code,{children:`member:set_scope`}),` (when `,_jsx(_components.code,{children:`subject_type`}),` is `,_jsx(_components.code,{children:`members`}),`) or `,_jsx(_components.code,{children:`access_group:manage`}),` (when `,_jsx(_components.code,{children:`subject_type`}),` is `,_jsx(_components.code,{children:`access-groups`}),`)`,_jsx(`br`,{}),`Also required: `,_jsx(_components.code,{children:`project:assign`}),` on `,_jsx(_components.code,{children:`project_id`}),` or `,_jsx(_components.code,{children:`access_group:view`}),_jsx(`br`,{}),`Also required: `,_jsx(_components.code,{children:`project:read`}),` on `,_jsx(_components.code,{children:`project_id`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`actors`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`actor_id`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`actor:assign`}),` on `,_jsx(_components.code,{children:`actor_id`}),` or `,_jsx(_components.code,{children:`member:set_scope`}),` (when `,_jsx(_components.code,{children:`subject_type`}),` is `,_jsx(_components.code,{children:`members`}),`) or `,_jsx(_components.code,{children:`access_group:manage`}),` (when `,_jsx(_components.code,{children:`subject_type`}),` is `,_jsx(_components.code,{children:`access-groups`}),`)`,_jsx(`br`,{}),`Also required: `,_jsx(_components.code,{children:`actor:assign`}),` on `,_jsx(_components.code,{children:`actor_id`}),` or `,_jsx(_components.code,{children:`access_group:view`}),_jsx(`br`,{}),`Also required: `,_jsx(_components.code,{children:`actor:read`}),` on `,_jsx(_components.code,{children:`actor_id`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`agents`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`agent_id`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`agent:assign`}),` on `,_jsx(_components.code,{children:`agent_id`}),` or `,_jsx(_components.code,{children:`member:set_scope`}),` (when `,_jsx(_components.code,{children:`subject_type`}),` is `,_jsx(_components.code,{children:`members`}),`) or `,_jsx(_components.code,{children:`access_group:manage`}),` (when `,_jsx(_components.code,{children:`subject_type`}),` is `,_jsx(_components.code,{children:`access-groups`}),`)`,_jsx(`br`,{}),`Also required: `,_jsx(_components.code,{children:`agent:assign`}),` on `,_jsx(_components.code,{children:`agent_id`}),` or `,_jsx(_components.code,{children:`access_group:view`}),_jsx(`br`,{}),`Also required: `,_jsx(_components.code,{children:`agent:read`}),` on `,_jsx(_components.code,{children:`agent_id`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`skills`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`skill_id`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`skill:assign`}),` on `,_jsx(_components.code,{children:`skill_id`}),` or `,_jsx(_components.code,{children:`member:set_scope`}),` (when `,_jsx(_components.code,{children:`subject_type`}),` is `,_jsx(_components.code,{children:`members`}),`) or `,_jsx(_components.code,{children:`access_group:manage`}),` (when `,_jsx(_components.code,{children:`subject_type`}),` is `,_jsx(_components.code,{children:`access-groups`}),`)`,_jsx(`br`,{}),`Also required: `,_jsx(_components.code,{children:`skill:assign`}),` on `,_jsx(_components.code,{children:`skill_id`}),` or `,_jsx(_components.code,{children:`access_group:view`}),_jsx(`br`,{}),`Also required: `,_jsx(_components.code,{children:`skill:read`}),` on `,_jsx(_components.code,{children:`skill_id`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`boundaries`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`boundary_id`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`boundary:assign`}),` on `,_jsx(_components.code,{children:`boundary_id`}),` or `,_jsx(_components.code,{children:`member:set_scope`}),` (when `,_jsx(_components.code,{children:`subject_type`}),` is `,_jsx(_components.code,{children:`members`}),`) or `,_jsx(_components.code,{children:`access_group:manage`}),` (when `,_jsx(_components.code,{children:`subject_type`}),` is `,_jsx(_components.code,{children:`access-groups`}),`)`,_jsx(`br`,{}),`Also required: `,_jsx(_components.code,{children:`boundary:assign`}),` on `,_jsx(_components.code,{children:`boundary_id`}),` or `,_jsx(_components.code,{children:`access_group:view`}),_jsx(`br`,{}),`Also required: `,_jsx(_components.code,{children:`boundary:read`}),` on `,_jsx(_components.code,{children:`boundary_id`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`workspaces/{workspace_id}/actors`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`actor_id`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`workspace_actor:assign`}),` on `,_jsx(_components.code,{children:`workspace_id}/{actor_id`}),` or `,_jsx(_components.code,{children:`member:set_scope`}),` (when `,_jsx(_components.code,{children:`subject_type`}),` is `,_jsx(_components.code,{children:`members`}),`) or `,_jsx(_components.code,{children:`access_group:manage`}),` (when `,_jsx(_components.code,{children:`subject_type`}),` is `,_jsx(_components.code,{children:`access-groups`}),`)`,_jsx(`br`,{}),`Also required: `,_jsx(_components.code,{children:`workspace_actor:assign`}),` on `,_jsx(_components.code,{children:`workspace_id}/{actor_id`}),` or `,_jsx(_components.code,{children:`access_group:view`}),_jsx(`br`,{}),`Also required: `,_jsx(_components.code,{children:`workspace_actor:read`}),` on `,_jsx(_components.code,{children:`workspace_id}/{actor_id`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`workspaces/{workspace_id}/agents`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`agent_id`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`workspace_agent:assign`}),` on `,_jsx(_components.code,{children:`workspace_id}/{agent_id`}),` or `,_jsx(_components.code,{children:`member:set_scope`}),` (when `,_jsx(_components.code,{children:`subject_type`}),` is `,_jsx(_components.code,{children:`members`}),`) or `,_jsx(_components.code,{children:`access_group:manage`}),` (when `,_jsx(_components.code,{children:`subject_type`}),` is `,_jsx(_components.code,{children:`access-groups`}),`)`,_jsx(`br`,{}),`Also required: `,_jsx(_components.code,{children:`workspace_agent:assign`}),` on `,_jsx(_components.code,{children:`workspace_id}/{agent_id`}),` or `,_jsx(_components.code,{children:`access_group:view`}),_jsx(`br`,{}),`Also required: `,_jsx(_components.code,{children:`workspace_agent:read`}),` on `,_jsx(_components.code,{children:`workspace_id}/{agent_id`})]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`path-parameters`,children:`Path Parameters`}),`\n`,_jsx(ParamField,{path:`resource_type`,type:`string`,required:true,id:`param-resource-type`,children:_jsx(_components.p,{children:`Resource type — one of the values in the table above`})}),`\n`,_jsx(ParamField,{path:`resource_id`,type:`string`,required:true,id:`param-resource-id`,children:_jsx(_components.p,{children:`Identifier of the resource, as listed in the table above`})}),`\n`,_jsx(ParamField,{path:`subject_type`,type:`string`,required:true,id:`param-subject-type`,children:_jsx(_components.p,{children:`members or access-groups`})}),`\n`,_jsx(ParamField,{path:`subject_id`,type:`string`,required:true,id:`param-subject-id`,children:_jsx(_components.p,{children:`principal_id of a member, or an access group id`})}),`\n`,_jsx(Heading,{level:`3`,id:`headers`,children:`Headers`}),`\n`,_jsx(ParamField,{header:`Idempotency-Key`,type:`string`,id:`param-idempotency-key`,children:_jsx(_components.p,{children:`Optional. Retrying with the same value replays the first result.`})}),`\n`,_jsx(Heading,{level:`3`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(ParamField,{body:`reason`,type:`string`,required:true,id:`param-reason`,children:_jsx(_components.p,{children:`Why the change is made; recorded in the audit log`})}),`\n`,_jsx(ParamField,{body:`workspace_id`,type:`string`,id:`param-workspace-id`,children:_jsx(_components.p,{children:`Projects only: the project’s workspace, so the project can be shown by name in access scopes`})}),`\n`,`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:_jsxs(Expandable,{title:`Resource Access View object`,children:[_jsxs(ResponseField,{name:`allowed`,type:`array`,id:`param-allowed`,children:[_jsx(_components.p,{children:`Members and access groups that reach the instance`}),_jsxs(Expandable,{title:`Resource Access Entry object`,children:[_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name`,children:`Display name`}),_jsx(ResponseField,{name:`subject_id`,type:`string`,id:`param-subject-id-1`,children:`principal_id, or access group id`}),_jsx(ResponseField,{name:`subject_type`,type:`string`,id:`param-subject-type-1`,children:`member or access_group`}),_jsx(ResponseField,{name:`actions`,type:`array`,id:`param-actions`,children:`Actions the explicit sources allow`}),_jsx(ResponseField,{name:`blocked_by`,type:`string`,id:`param-blocked-by`,children:`For blocked entries: scope = limited to other instances; permission = their role cannot view this resource type at all`}),_jsxs(ResponseField,{name:`level_options`,type:`object`,id:`param-level-options`,children:[_jsx(_components.p,{children:`Members: the levels the caller may set them to here`}),_jsxs(Expandable,{title:`Permission Level Options object`,children:[_jsx(ResponseField,{name:`can_set_none`,type:`boolean`,id:`param-can-set-none`,children:`Whether the caller may remove the member’s level (level none)`}),_jsx(ResponseField,{name:`settable_levels`,type:`array`,id:`param-settable-levels`,children:`Levels the caller may set this member to (excluding the current one)`}),_jsx(ResponseField,{name:`blocked_reason`,type:`string`,id:`param-blocked-reason`,children:`Why the current level cannot be lowered or removed: outranked = the member’s level is not below the caller’s; last_manager = the member is the last one who can manage the resource; no_permission = the caller cannot share this resource`}),_jsxs(ResponseField,{name:`current_level`,type:`string`,id:`param-current-level`,children:[`The member’s level set on this instance; omitted when none is set. One of: `,_jsx(_components.code,{children:`read`}),`, `,_jsx(_components.code,{children:`write`}),`, `,_jsx(_components.code,{children:`manage`}),`.`]})]})]}),_jsx(ResponseField,{name:`member_count`,type:`integer`,id:`param-member-count`,children:`Access groups: number of members`}),_jsxs(ResponseField,{name:`permission_level`,type:`string`,id:`param-permission-level`,children:[`What the member can do on this instance, from every source combined. One of: `,_jsx(_components.code,{children:`read`}),`, `,_jsx(_components.code,{children:`write`}),`, `,_jsx(_components.code,{children:`manage`}),`.`]}),_jsx(ResponseField,{name:`role`,type:`string`,id:`param-role`,children:`Members: their role`}),_jsx(ResponseField,{name:`scope_grant_count`,type:`integer`,id:`param-scope-grant-count`,children:`How many instances of this resource type are in the subject’s access scope`}),_jsx(ResponseField,{name:`scope_mode`,type:`string`,id:`param-scope-mode`,children:`Members: all = not limited by an access scope for this resource type; instances = limited to the instances in their scope`}),_jsxs(ResponseField,{name:`sources`,type:`array`,id:`param-sources`,children:[_jsx(_components.p,{children:`How the subject reaches the instance`}),_jsxs(Expandable,{title:`Resource Access Source object`,children:[_jsx(ResponseField,{name:`type`,type:`string`,id:`param-type`,children:`role: the member’s role reaches every instance. scope_grant: the instance is in the subject’s access scope. access_group: an access group’s instance list. parent: granted on the parent workspace. permission_level: a permission level set on this instance.`}),_jsx(ResponseField,{name:`access_group_id`,type:`string`,id:`param-access-group-id`,children:`For access_group: the group`}),_jsx(ResponseField,{name:`access_group_name`,type:`string`,id:`param-access-group-name`,children:`For access_group: its name`}),_jsx(ResponseField,{name:`actions`,type:`array`,id:`param-actions-1`,children:`Actions this source allows; [”*”] = all the subject’s permissions allow`}),_jsx(ResponseField,{name:`parent_id`,type:`string`,id:`param-parent-id`,children:`For parent: the parent workspace id`}),_jsx(ResponseField,{name:`permission_levels`,type:`array`,id:`param-permission-levels`,children:`For permission_level: the levels held on this instance`})]})]})]})]}),_jsx(ResponseField,{name:`allowed_count`,type:`integer`,id:`param-allowed-count`,children:`Members who can access the instance`}),_jsxs(ResponseField,{name:`blocked`,type:`array`,id:`param-blocked`,children:[_jsx(_components.p,{children:`Members who cannot`}),_jsxs(Expandable,{title:`Resource Access Entry object`,children:[_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-1`,children:`Display name`}),_jsx(ResponseField,{name:`subject_id`,type:`string`,id:`param-subject-id-2`,children:`principal_id, or access group id`}),_jsx(ResponseField,{name:`subject_type`,type:`string`,id:`param-subject-type-2`,children:`member or access_group`}),_jsx(ResponseField,{name:`actions`,type:`array`,id:`param-actions-2`,children:`Actions the explicit sources allow`}),_jsx(ResponseField,{name:`blocked_by`,type:`string`,id:`param-blocked-by-1`,children:`For blocked entries: scope = limited to other instances; permission = their role cannot view this resource type at all`}),_jsxs(ResponseField,{name:`level_options`,type:`object`,id:`param-level-options-1`,children:[_jsx(_components.p,{children:`Members: the levels the caller may set them to here`}),_jsxs(Expandable,{title:`Permission Level Options object`,children:[_jsx(ResponseField,{name:`can_set_none`,type:`boolean`,id:`param-can-set-none-1`,children:`Whether the caller may remove the member’s level (level none)`}),_jsx(ResponseField,{name:`settable_levels`,type:`array`,id:`param-settable-levels-1`,children:`Levels the caller may set this member to (excluding the current one)`}),_jsx(ResponseField,{name:`blocked_reason`,type:`string`,id:`param-blocked-reason-1`,children:`Why the current level cannot be lowered or removed: outranked = the member’s level is not below the caller’s; last_manager = the member is the last one who can manage the resource; no_permission = the caller cannot share this resource`}),_jsxs(ResponseField,{name:`current_level`,type:`string`,id:`param-current-level-1`,children:[`The member’s level set on this instance; omitted when none is set. One of: `,_jsx(_components.code,{children:`read`}),`, `,_jsx(_components.code,{children:`write`}),`, `,_jsx(_components.code,{children:`manage`}),`.`]})]})]}),_jsx(ResponseField,{name:`member_count`,type:`integer`,id:`param-member-count-1`,children:`Access groups: number of members`}),_jsxs(ResponseField,{name:`permission_level`,type:`string`,id:`param-permission-level-1`,children:[`What the member can do on this instance, from every source combined. One of: `,_jsx(_components.code,{children:`read`}),`, `,_jsx(_components.code,{children:`write`}),`, `,_jsx(_components.code,{children:`manage`}),`.`]}),_jsx(ResponseField,{name:`role`,type:`string`,id:`param-role-1`,children:`Members: their role`}),_jsx(ResponseField,{name:`scope_grant_count`,type:`integer`,id:`param-scope-grant-count-1`,children:`How many instances of this resource type are in the subject’s access scope`}),_jsx(ResponseField,{name:`scope_mode`,type:`string`,id:`param-scope-mode-1`,children:`Members: all = not limited by an access scope for this resource type; instances = limited to the instances in their scope`}),_jsxs(ResponseField,{name:`sources`,type:`array`,id:`param-sources-1`,children:[_jsx(_components.p,{children:`How the subject reaches the instance`}),_jsxs(Expandable,{title:`Resource Access Source object`,children:[_jsx(ResponseField,{name:`type`,type:`string`,id:`param-type-1`,children:`role: the member’s role reaches every instance. scope_grant: the instance is in the subject’s access scope. access_group: an access group’s instance list. parent: granted on the parent workspace. permission_level: a permission level set on this instance.`}),_jsx(ResponseField,{name:`access_group_id`,type:`string`,id:`param-access-group-id-1`,children:`For access_group: the group`}),_jsx(ResponseField,{name:`access_group_name`,type:`string`,id:`param-access-group-name-1`,children:`For access_group: its name`}),_jsx(ResponseField,{name:`actions`,type:`array`,id:`param-actions-3`,children:`Actions this source allows; [”*”] = all the subject’s permissions allow`}),_jsx(ResponseField,{name:`parent_id`,type:`string`,id:`param-parent-id-1`,children:`For parent: the parent workspace id`}),_jsx(ResponseField,{name:`permission_levels`,type:`array`,id:`param-permission-levels-1`,children:`For permission_level: the levels held on this instance`})]})]})]})]}),_jsx(ResponseField,{name:`grantable_levels`,type:`array`,id:`param-grantable-levels`,children:`Permission levels the caller may set on this instance; empty when the caller cannot share it`}),_jsx(ResponseField,{name:`instance_id`,type:`string`,id:`param-instance-id`,children:`Instance id; \u003cworkspace_id>/\u003cid> for workspace actors and agents`}),_jsx(ResponseField,{name:`resource_type`,type:`string`,id:`param-resource-type-1`,children:`Resource type`})]})}),`\n`,`\n`,_jsx(Heading,{level:`3`,id:`errors`,children:`Errors`}),`\n`,_jsxs(_components.p,{children:[`Errors answer with `,_jsx(_components.code,{children:`success: false`}),`, a `,_jsx(_components.code,{children:`message`}),` and an `,_jsx(_components.code,{children:`error_code`}),`. See `,_jsx(_components.a,{href:`/features/memorylake/api-reference/errors`,children:`Error Codes`}),` for every code.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:`A parameter or the body is invalid`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:`The API key is missing, invalid, disabled or expired`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:`The key is not allowed to do this`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:`The resource does not exist`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:`The request conflicts with the current state, e.g. a duplicate or a limit reached`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The body or a parameter failed validation`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsxs(_components.td,{children:[`Too many requests. Wait for the time in `,_jsx(_components.code,{children:`Retry-After`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`500`})}),_jsx(_components.td,{children:`Server-side error`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`503`})}),_jsx(_components.td,{children:`Temporarily unavailable. Retry later`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Grant Access","description":"Let a member or access group whose access scope is restricted reach a resource","href":"/features/memorylake/api-reference/access-control/grant-scope"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,RequestExample,ResponseExample,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`PUT /openapi/memorylake/admin/v1/access/{resource_type}/{resource_id}/scope-grants/{subject_type}/{subject_id}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`Adds the resource to the access scope of a member or access group whose scope is restricted for this resource type, so they can reach it with the permissions they already have.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`resource_type`})}),_jsxs(_components.th,{children:[_jsx(_components.code,{children:`resource_id`}),` is`]}),_jsx(_components.th,{children:`Permission`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`workspaces`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`workspace_id`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`workspace:assign`}),` on `,_jsx(_components.code,{children:`workspace_id`}),` or `,_jsx(_components.code,{children:`member:set_scope`}),` (when `,_jsx(_components.code,{children:`subject_type`}),` is `,_jsx(_components.code,{children:`members`}),`) or `,_jsx(_components.code,{children:`access_group:manage`}),` (when `,_jsx(_components.code,{children:`subject_type`}),` is `,_jsx(_components.code,{children:`access-groups`}),`)`,_jsx(`br`,{}),`Also required: `,_jsx(_components.code,{children:`workspace:assign`}),` on `,_jsx(_components.code,{children:`workspace_id`}),` or `,_jsx(_components.code,{children:`access_group:view`}),_jsx(`br`,{}),`Also required: `,_jsx(_components.code,{children:`workspace:read`}),` on `,_jsx(_components.code,{children:`workspace_id`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`projects`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`project_id`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`project:assign`}),` on `,_jsx(_components.code,{children:`project_id`}),` or `,_jsx(_components.code,{children:`member:set_scope`}),` (when `,_jsx(_components.code,{children:`subject_type`}),` is `,_jsx(_components.code,{children:`members`}),`) or `,_jsx(_components.code,{children:`access_group:manage`}),` (when `,_jsx(_components.code,{children:`subject_type`}),` is `,_jsx(_components.code,{children:`access-groups`}),`)`,_jsx(`br`,{}),`Also required: `,_jsx(_components.code,{children:`project:assign`}),` on `,_jsx(_components.code,{children:`project_id`}),` or `,_jsx(_components.code,{children:`access_group:view`}),_jsx(`br`,{}),`Also required: `,_jsx(_components.code,{children:`project:read`}),` on `,_jsx(_components.code,{children:`project_id`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`actors`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`actor_id`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`actor:assign`}),` on `,_jsx(_components.code,{children:`actor_id`}),` or `,_jsx(_components.code,{children:`member:set_scope`}),` (when `,_jsx(_components.code,{children:`subject_type`}),` is `,_jsx(_components.code,{children:`members`}),`) or `,_jsx(_components.code,{children:`access_group:manage`}),` (when `,_jsx(_components.code,{children:`subject_type`}),` is `,_jsx(_components.code,{children:`access-groups`}),`)`,_jsx(`br`,{}),`Also required: `,_jsx(_components.code,{children:`actor:assign`}),` on `,_jsx(_components.code,{children:`actor_id`}),` or `,_jsx(_components.code,{children:`access_group:view`}),_jsx(`br`,{}),`Also required: `,_jsx(_components.code,{children:`actor:read`}),` on `,_jsx(_components.code,{children:`actor_id`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`agents`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`agent_id`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`agent:assign`}),` on `,_jsx(_components.code,{children:`agent_id`}),` or `,_jsx(_components.code,{children:`member:set_scope`}),` (when `,_jsx(_components.code,{children:`subject_type`}),` is `,_jsx(_components.code,{children:`members`}),`) or `,_jsx(_components.code,{children:`access_group:manage`}),` (when `,_jsx(_components.code,{children:`subject_type`}),` is `,_jsx(_components.code,{children:`access-groups`}),`)`,_jsx(`br`,{}),`Also required: `,_jsx(_components.code,{children:`agent:assign`}),` on `,_jsx(_components.code,{children:`agent_id`}),` or `,_jsx(_components.code,{children:`access_group:view`}),_jsx(`br`,{}),`Also required: `,_jsx(_components.code,{children:`agent:read`}),` on `,_jsx(_components.code,{children:`agent_id`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`skills`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`skill_id`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`skill:assign`}),` on `,_jsx(_components.code,{children:`skill_id`}),` or `,_jsx(_components.code,{children:`member:set_scope`}),` (when `,_jsx(_components.code,{children:`subject_type`}),` is `,_jsx(_components.code,{children:`members`}),`) or `,_jsx(_components.code,{children:`access_group:manage`}),` (when `,_jsx(_components.code,{children:`subject_type`}),` is `,_jsx(_components.code,{children:`access-groups`}),`)`,_jsx(`br`,{}),`Also required: `,_jsx(_components.code,{children:`skill:assign`}),` on `,_jsx(_components.code,{children:`skill_id`}),` or `,_jsx(_components.code,{children:`access_group:view`}),_jsx(`br`,{}),`Also required: `,_jsx(_components.code,{children:`skill:read`}),` on `,_jsx(_components.code,{children:`skill_id`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`boundaries`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`boundary_id`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`boundary:assign`}),` on `,_jsx(_components.code,{children:`boundary_id`}),` or `,_jsx(_components.code,{children:`member:set_scope`}),` (when `,_jsx(_components.code,{children:`subject_type`}),` is `,_jsx(_components.code,{children:`members`}),`) or `,_jsx(_components.code,{children:`access_group:manage`}),` (when `,_jsx(_components.code,{children:`subject_type`}),` is `,_jsx(_components.code,{children:`access-groups`}),`)`,_jsx(`br`,{}),`Also required: `,_jsx(_components.code,{children:`boundary:assign`}),` on `,_jsx(_components.code,{children:`boundary_id`}),` or `,_jsx(_components.code,{children:`access_group:view`}),_jsx(`br`,{}),`Also required: `,_jsx(_components.code,{children:`boundary:read`}),` on `,_jsx(_components.code,{children:`boundary_id`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`workspaces/{workspace_id}/actors`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`actor_id`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`workspace_actor:assign`}),` on `,_jsx(_components.code,{children:`workspace_id}/{actor_id`}),` or `,_jsx(_components.code,{children:`member:set_scope`}),` (when `,_jsx(_components.code,{children:`subject_type`}),` is `,_jsx(_components.code,{children:`members`}),`) or `,_jsx(_components.code,{children:`access_group:manage`}),` (when `,_jsx(_components.code,{children:`subject_type`}),` is `,_jsx(_components.code,{children:`access-groups`}),`)`,_jsx(`br`,{}),`Also required: `,_jsx(_components.code,{children:`workspace_actor:assign`}),` on `,_jsx(_components.code,{children:`workspace_id}/{actor_id`}),` or `,_jsx(_components.code,{children:`access_group:view`}),_jsx(`br`,{}),`Also required: `,_jsx(_components.code,{children:`workspace_actor:read`}),` on `,_jsx(_components.code,{children:`workspace_id}/{actor_id`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`workspaces/{workspace_id}/agents`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`agent_id`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`workspace_agent:assign`}),` on `,_jsx(_components.code,{children:`workspace_id}/{agent_id`}),` or `,_jsx(_components.code,{children:`member:set_scope`}),` (when `,_jsx(_components.code,{children:`subject_type`}),` is `,_jsx(_components.code,{children:`members`}),`) or `,_jsx(_components.code,{children:`access_group:manage`}),` (when `,_jsx(_components.code,{children:`subject_type`}),` is `,_jsx(_components.code,{children:`access-groups`}),`)`,_jsx(`br`,{}),`Also required: `,_jsx(_components.code,{children:`workspace_agent:assign`}),` on `,_jsx(_components.code,{children:`workspace_id}/{agent_id`}),` or `,_jsx(_components.code,{children:`access_group:view`}),_jsx(`br`,{}),`Also required: `,_jsx(_components.code,{children:`workspace_agent:read`}),` on `,_jsx(_components.code,{children:`workspace_id}/{agent_id`})]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`path-parameters`,children:`Path Parameters`}),`\n`,_jsx(ParamField,{path:`resource_type`,type:`string`,required:true,id:`param-resource-type`,children:_jsx(_components.p,{children:`Resource type — one of the values in the table above`})}),`\n`,_jsx(ParamField,{path:`resource_id`,type:`string`,required:true,id:`param-resource-id`,children:_jsx(_components.p,{children:`Identifier of the resource, as listed in the table above`})}),`\n`,_jsx(ParamField,{path:`subject_type`,type:`string`,required:true,id:`param-subject-type`,children:_jsx(_components.p,{children:`members or access-groups`})}),`\n`,_jsx(ParamField,{path:`subject_id`,type:`string`,required:true,id:`param-subject-id`,children:_jsx(_components.p,{children:`principal_id of a member, or an access group id`})}),`\n`,_jsx(Heading,{level:`3`,id:`headers`,children:`Headers`}),`\n`,_jsx(ParamField,{header:`Idempotency-Key`,type:`string`,id:`param-idempotency-key`,children:_jsx(_components.p,{children:`Optional. Retrying with the same value replays the first result.`})}),`\n`,_jsx(Heading,{level:`3`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(ParamField,{body:`reason`,type:`string`,required:true,id:`param-reason`,children:_jsx(_components.p,{children:`Why the change is made; recorded in the audit log`})}),`\n`,_jsx(ParamField,{body:`workspace_id`,type:`string`,id:`param-workspace-id`,children:_jsx(_components.p,{children:`Projects only: the project’s workspace, so the project can be shown by name in access scopes`})}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`8`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PUT`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://app.memorylake.ai/openapi/memorylake/admin/v1/access/workspaces/69e585312c30a734cd7727316b1918bd/scope-grants/members/89914667f74821b220f374d323f0f4b0'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer sk_xxxxxx'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Idempotency-Key: 7c1d2e3f-0a9b-4c8d-b7e6-f5a4d3c2b1a0'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"reason\": \"example\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"workspace_id\": \"ca1916805adbcec16aceaaf65c1a4b74\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:_jsxs(Expandable,{title:`Resource Access View object`,children:[_jsxs(ResponseField,{name:`allowed`,type:`array`,id:`param-allowed`,children:[_jsx(_components.p,{children:`Members and access groups that reach the instance`}),_jsxs(Expandable,{title:`Resource Access Entry object`,children:[_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name`,children:`Display name`}),_jsx(ResponseField,{name:`subject_id`,type:`string`,id:`param-subject-id-1`,children:`principal_id, or access group id`}),_jsx(ResponseField,{name:`subject_type`,type:`string`,id:`param-subject-type-1`,children:`member or access_group`}),_jsx(ResponseField,{name:`actions`,type:`array`,id:`param-actions`,children:`Actions the explicit sources allow`}),_jsx(ResponseField,{name:`blocked_by`,type:`string`,id:`param-blocked-by`,children:`For blocked entries: scope = limited to other instances; permission = their role cannot view this resource type at all`}),_jsxs(ResponseField,{name:`level_options`,type:`object`,id:`param-level-options`,children:[_jsx(_components.p,{children:`Members: the levels the caller may set them to here`}),_jsxs(Expandable,{title:`Permission Level Options object`,children:[_jsx(ResponseField,{name:`can_set_none`,type:`boolean`,id:`param-can-set-none`,children:`Whether the caller may remove the member’s level (level none)`}),_jsx(ResponseField,{name:`settable_levels`,type:`array`,id:`param-settable-levels`,children:`Levels the caller may set this member to (excluding the current one)`}),_jsx(ResponseField,{name:`blocked_reason`,type:`string`,id:`param-blocked-reason`,children:`Why the current level cannot be lowered or removed: outranked = the member’s level is not below the caller’s; last_manager = the member is the last one who can manage the resource; no_permission = the caller cannot share this resource`}),_jsxs(ResponseField,{name:`current_level`,type:`string`,id:`param-current-level`,children:[`The member’s level set on this instance; omitted when none is set. One of: `,_jsx(_components.code,{children:`read`}),`, `,_jsx(_components.code,{children:`write`}),`, `,_jsx(_components.code,{children:`manage`}),`.`]})]})]}),_jsx(ResponseField,{name:`member_count`,type:`integer`,id:`param-member-count`,children:`Access groups: number of members`}),_jsxs(ResponseField,{name:`permission_level`,type:`string`,id:`param-permission-level`,children:[`What the member can do on this instance, from every source combined. One of: `,_jsx(_components.code,{children:`read`}),`, `,_jsx(_components.code,{children:`write`}),`, `,_jsx(_components.code,{children:`manage`}),`.`]}),_jsx(ResponseField,{name:`role`,type:`string`,id:`param-role`,children:`Members: their role`}),_jsx(ResponseField,{name:`scope_grant_count`,type:`integer`,id:`param-scope-grant-count`,children:`How many instances of this resource type are in the subject’s access scope`}),_jsx(ResponseField,{name:`scope_mode`,type:`string`,id:`param-scope-mode`,children:`Members: all = not limited by an access scope for this resource type; instances = limited to the instances in their scope`}),_jsxs(ResponseField,{name:`sources`,type:`array`,id:`param-sources`,children:[_jsx(_components.p,{children:`How the subject reaches the instance`}),_jsxs(Expandable,{title:`Resource Access Source object`,children:[_jsx(ResponseField,{name:`type`,type:`string`,id:`param-type`,children:`role: the member’s role reaches every instance. scope_grant: the instance is in the subject’s access scope. access_group: an access group’s instance list. parent: granted on the parent workspace. permission_level: a permission level set on this instance.`}),_jsx(ResponseField,{name:`access_group_id`,type:`string`,id:`param-access-group-id`,children:`For access_group: the group`}),_jsx(ResponseField,{name:`access_group_name`,type:`string`,id:`param-access-group-name`,children:`For access_group: its name`}),_jsx(ResponseField,{name:`actions`,type:`array`,id:`param-actions-1`,children:`Actions this source allows; [”*”] = all the subject’s permissions allow`}),_jsx(ResponseField,{name:`parent_id`,type:`string`,id:`param-parent-id`,children:`For parent: the parent workspace id`}),_jsx(ResponseField,{name:`permission_levels`,type:`array`,id:`param-permission-levels`,children:`For permission_level: the levels held on this instance`})]})]})]})]}),_jsx(ResponseField,{name:`allowed_count`,type:`integer`,id:`param-allowed-count`,children:`Members who can access the instance`}),_jsxs(ResponseField,{name:`blocked`,type:`array`,id:`param-blocked`,children:[_jsx(_components.p,{children:`Members who cannot`}),_jsxs(Expandable,{title:`Resource Access Entry object`,children:[_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-1`,children:`Display name`}),_jsx(ResponseField,{name:`subject_id`,type:`string`,id:`param-subject-id-2`,children:`principal_id, or access group id`}),_jsx(ResponseField,{name:`subject_type`,type:`string`,id:`param-subject-type-2`,children:`member or access_group`}),_jsx(ResponseField,{name:`actions`,type:`array`,id:`param-actions-2`,children:`Actions the explicit sources allow`}),_jsx(ResponseField,{name:`blocked_by`,type:`string`,id:`param-blocked-by-1`,children:`For blocked entries: scope = limited to other instances; permission = their role cannot view this resource type at all`}),_jsxs(ResponseField,{name:`level_options`,type:`object`,id:`param-level-options-1`,children:[_jsx(_components.p,{children:`Members: the levels the caller may set them to here`}),_jsxs(Expandable,{title:`Permission Level Options object`,children:[_jsx(ResponseField,{name:`can_set_none`,type:`boolean`,id:`param-can-set-none-1`,children:`Whether the caller may remove the member’s level (level none)`}),_jsx(ResponseField,{name:`settable_levels`,type:`array`,id:`param-settable-levels-1`,children:`Levels the caller may set this member to (excluding the current one)`}),_jsx(ResponseField,{name:`blocked_reason`,type:`string`,id:`param-blocked-reason-1`,children:`Why the current level cannot be lowered or removed: outranked = the member’s level is not below the caller’s; last_manager = the member is the last one who can manage the resource; no_permission = the caller cannot share this resource`}),_jsxs(ResponseField,{name:`current_level`,type:`string`,id:`param-current-level-1`,children:[`The member’s level set on this instance; omitted when none is set. One of: `,_jsx(_components.code,{children:`read`}),`, `,_jsx(_components.code,{children:`write`}),`, `,_jsx(_components.code,{children:`manage`}),`.`]})]})]}),_jsx(ResponseField,{name:`member_count`,type:`integer`,id:`param-member-count-1`,children:`Access groups: number of members`}),_jsxs(ResponseField,{name:`permission_level`,type:`string`,id:`param-permission-level-1`,children:[`What the member can do on this instance, from every source combined. One of: `,_jsx(_components.code,{children:`read`}),`, `,_jsx(_components.code,{children:`write`}),`, `,_jsx(_components.code,{children:`manage`}),`.`]}),_jsx(ResponseField,{name:`role`,type:`string`,id:`param-role-1`,children:`Members: their role`}),_jsx(ResponseField,{name:`scope_grant_count`,type:`integer`,id:`param-scope-grant-count-1`,children:`How many instances of this resource type are in the subject’s access scope`}),_jsx(ResponseField,{name:`scope_mode`,type:`string`,id:`param-scope-mode-1`,children:`Members: all = not limited by an access scope for this resource type; instances = limited to the instances in their scope`}),_jsxs(ResponseField,{name:`sources`,type:`array`,id:`param-sources-1`,children:[_jsx(_components.p,{children:`How the subject reaches the instance`}),_jsxs(Expandable,{title:`Resource Access Source object`,children:[_jsx(ResponseField,{name:`type`,type:`string`,id:`param-type-1`,children:`role: the member’s role reaches every instance. scope_grant: the instance is in the subject’s access scope. access_group: an access group’s instance list. parent: granted on the parent workspace. permission_level: a permission level set on this instance.`}),_jsx(ResponseField,{name:`access_group_id`,type:`string`,id:`param-access-group-id-1`,children:`For access_group: the group`}),_jsx(ResponseField,{name:`access_group_name`,type:`string`,id:`param-access-group-name-1`,children:`For access_group: its name`}),_jsx(ResponseField,{name:`actions`,type:`array`,id:`param-actions-3`,children:`Actions this source allows; [”*”] = all the subject’s permissions allow`}),_jsx(ResponseField,{name:`parent_id`,type:`string`,id:`param-parent-id-1`,children:`For parent: the parent workspace id`}),_jsx(ResponseField,{name:`permission_levels`,type:`array`,id:`param-permission-levels-1`,children:`For permission_level: the levels held on this instance`})]})]})]})]}),_jsx(ResponseField,{name:`grantable_levels`,type:`array`,id:`param-grantable-levels`,children:`Permission levels the caller may set on this instance; empty when the caller cannot share it`}),_jsx(ResponseField,{name:`instance_id`,type:`string`,id:`param-instance-id`,children:`Instance id; \u003cworkspace_id>/\u003cid> for workspace actors and agents`}),_jsx(ResponseField,{name:`resource_type`,type:`string`,id:`param-resource-type-1`,children:`Resource type`})]})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Success (200)`,numberOfLines:`80`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`80`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Operation completed successfully\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"allowed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Example name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"subject_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"e9225468996bae25743a2b64eeb19cc7\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"subject_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"member\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"actions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"example\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"blocked_by\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"scope\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"level_options\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"can_set_none\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"settable_levels\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"example\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"blocked_reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"outranked\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"current_level\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"read\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"member_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"permission_level\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"read\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tenant_member\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"scope_grant_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"scope_mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"all\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sources\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"access_group_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"21b69c2e4fc3734ad8c25bf8b5224366\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"access_group_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Example access group\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"actions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"parent_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ba8581988563142580f3237fbf400514\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"permission_levels\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: []`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"allowed_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"blocked\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Example name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"subject_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"e9225468996bae25743a2b64eeb19cc7\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"subject_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"member\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"actions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"example\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"blocked_by\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"scope\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"level_options\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"can_set_none\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"settable_levels\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"example\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"blocked_reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"outranked\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"current_level\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"read\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"member_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"permission_level\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"read\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tenant_member\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"scope_grant_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"scope_mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"all\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sources\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"access_group_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"21b69c2e4fc3734ad8c25bf8b5224366\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"access_group_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Example access group\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"actions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"parent_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ba8581988563142580f3237fbf400514\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"permission_levels\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: []`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"grantable_levels\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"example\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"instance_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"a88bb6c846106e751d8cf36bdeb592fe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"resource_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"example\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`3`,id:`errors`,children:`Errors`}),`\n`,_jsxs(_components.p,{children:[`Errors answer with `,_jsx(_components.code,{children:`success: false`}),`, a `,_jsx(_components.code,{children:`message`}),` and an `,_jsx(_components.code,{children:`error_code`}),`. See `,_jsx(_components.a,{href:`/features/memorylake/api-reference/errors`,children:`Error Codes`}),` for every code.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:`A parameter or the body is invalid`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:`The API key is missing, invalid, disabled or expired`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:`The key is not allowed to do this`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:`The resource does not exist`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:`The request conflicts with the current state, e.g. a duplicate or a limit reached`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsx(_components.td,{children:`The body or a parameter failed validation`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsxs(_components.td,{children:[`Too many requests. Wait for the time in `,_jsx(_components.code,{children:`Retry-After`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`500`})}),_jsx(_components.td,{children:`Server-side error`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`503`})}),_jsx(_components.td,{children:`Temporarily unavailable. Retry later`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Grant Access","description":"Let a member or access group whose access scope is restricted reach a resource","href":"/features/memorylake/api-reference/access-control/grant-scope"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Path Parameters","slug":"path-parameters","depth":3,"children":[]},{"title":"Headers","slug":"headers","depth":3,"children":[]},{"title":"Request Body","slug":"request-body","depth":3,"children":[]},{"title":"Response","slug":"response","depth":3,"children":[]},{"title":"Errors","slug":"errors","depth":3,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"8\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> PUT\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'https://app.memorylake.ai/openapi/memorylake/admin/v1/access/workspaces/69e585312c30a734cd7727316b1918bd/scope-grants/members/89914667f74821b220f374d323f0f4b0'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization: Bearer sk_xxxxxx'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Idempotency-Key: 7c1d2e3f-0a9b-4c8d-b7e6-f5a4d3c2b1a0'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Content-Type: application/json'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"reason\": \"example\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"workspace_id\": \"ca1916805adbcec16aceaaf65c1a4b74\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Success (200)","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"80\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Operation completed successfully\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"allowed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Example name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"subject_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"e9225468996bae25743a2b64eeb19cc7\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"subject_type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"member\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"actions\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"example\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"blocked_by\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"scope\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"level_options\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"can_set_none\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"settable_levels\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"example\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"blocked_reason\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"outranked\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"current_level\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"read\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"member_count\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"permission_level\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"read\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"role\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"tenant_member\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"scope_grant_count\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"scope_mode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"all\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"sources\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"role\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"access_group_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"21b69c2e4fc3734ad8c25bf8b5224366\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"access_group_name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Example access group\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"actions\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"parent_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"ba8581988563142580f3237fbf400514\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"permission_levels\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: []\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"allowed_count\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"blocked\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Example name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"subject_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"e9225468996bae25743a2b64eeb19cc7\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"subject_type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"member\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"actions\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"example\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"blocked_by\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"scope\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"level_options\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"can_set_none\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"settable_levels\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"example\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"blocked_reason\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"outranked\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"current_level\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"read\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"member_count\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"permission_level\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"read\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"role\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"tenant_member\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"scope_grant_count\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"scope_mode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"all\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"sources\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"role\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"access_group_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"21b69c2e4fc3734ad8c25bf8b5224366\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"access_group_name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Example access group\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"actions\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"parent_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"ba8581988563142580f3237fbf400514\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"permission_levels\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: []\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"grantable_levels\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"example\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"instance_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"a88bb6c846106e751d8cf36bdeb592fe\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"resource_type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"example\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":["/_mintlify/custom/datacloud-924043c1/1c558f432fed73aa/hidden-docs.js"],"subdomain":"datacloud-924043c1","siteName":"MemoryLake AI","title":"Grant Access - MemoryLake AI","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/features/memorylake/api-reference/access-control/grant-scope","matchLevel":0},"zh":{"href":"/zh/features/memorylake/api-reference/access-control/grant-scope","matchLevel":1}}},"lastModified":"2026-10-16T08:17:38.885Z","originalFileLocation":"features/memorylake/api-reference/access-control/grant-scope.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Let a member or access group whose access scope is restricted reach a resource\">\u003cmeta data-mint-head name=\"application-name\" content=\"MemoryLake AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/datacloud-924043c1/krsYsTllXK6ojRYh/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/datacloud-924043c1/krsYsTllXK6ojRYh/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/datacloud-924043c1/krsYsTllXK6ojRYh/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/datacloud-924043c1/krsYsTllXK6ojRYh/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/datacloud-924043c1/krsYsTllXK6ojRYh/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/datacloud-924043c1/krsYsTllXK6ojRYh/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/datacloud-924043c1/krsYsTllXK6ojRYh/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/datacloud-924043c1/krsYsTllXK6ojRYh/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/datacloud-924043c1/krsYsTllXK6ojRYh/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Grant Access - MemoryLake AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Let a member or access group whose access scope is restricted reach a resource\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"MemoryLake AI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.memorylake.ai/features/memorylake/api-reference/access-control/grant-scope\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://datacloud-924043c1.mintlify.site/_mintlify/api/og/v2?division=Resource+Access\u0026amp;title=Grant+Access\u0026amp;description=Let+a+member+or+access+group+whose+access+scope+is+restricted+reach+a+resource\u0026amp;theme=5e044ebec589c4295124e63e\u0026amp;signature=b4f5995bec591f8f9ec8aa0fa521398ac7258ac8aa2fbd660b6025bccce1bc1f\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Grant Access - MemoryLake AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Let a member or access group whose access scope is restricted reach a resource\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://datacloud-924043c1.mintlify.site/_mintlify/api/og/v2?division=Resource+Access\u0026amp;title=Grant+Access\u0026amp;description=Let+a+member+or+access+group+whose+access+scope+is+restricted+reach+a+resource\u0026amp;theme=5e044ebec589c4295124e63e\u0026amp;signature=b4f5995bec591f8f9ec8aa0fa521398ac7258ac8aa2fbd660b6025bccce1bc1f\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/datacloud-924043c1/krsYsTllXK6ojRYh/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"MemoryLake AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#E75C2A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.memorylake.ai/features/memorylake/api-reference/access-control/grant-scope\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/features/memorylake/api-reference/access-control/grant-scope.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.memorylake.ai/features/memorylake/api-reference/access-control/grant-scope\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.memorylake.ai/zh/features/memorylake/api-reference/access-control/grant-scope\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.memorylake.ai/features/memorylake/api-reference/access-control/grant-scope\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.memorylake.ai/#organization\",\"name\":\"MemoryLake AI\",\"url\":\"https://docs.memorylake.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/datacloud-924043c1/W_-TJZhNN0WMmbCI/logo/light.svg?fit=max\u0026auto=format\u0026n=W_-TJZhNN0WMmbCI\u0026q=85\u0026s=9766e4cbaa7d674460d63cee7a88c501\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.memorylake.ai#website\",\"name\":\"MemoryLake AI\",\"url\":\"https://docs.memorylake.ai\",\"publisher\":{\"@id\":\"https://docs.memorylake.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.memorylake.ai/features/memorylake/api-reference/access-control/grant-scope#webpage\",\"url\":\"https://docs.memorylake.ai/features/memorylake/api-reference/access-control/grant-scope\",\"name\":\"Grant Access\",\"description\":\"Let a member or access group whose access scope is restricted reach a resource\",\"dateModified\":\"2026-10-16T08:17:38.885Z\",\"isPartOf\":{\"@id\":\"https://docs.memorylake.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.memorylake.ai/features/memorylake/api-reference/access-control/grant-scope#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.memorylake.ai/features/memorylake/api-reference/access-control/grant-scope#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"MemoryLake API\",\"item\":\"https://docs.memorylake.ai/features/memorylake/api-reference/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Access Control\",\"item\":\"https://docs.memorylake.ai/features/memorylake/api-reference/access-control/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Resource Access\",\"item\":\"https://docs.memorylake.ai/features/memorylake/api-reference/access-control/get-resource-access\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Grant Access\",\"item\":\"https://docs.memorylake.ai/features/memorylake/api-reference/access-control/grant-scope\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.memorylake.ai/features/memorylake/api-reference/access-control/grant-scope#article\",\"headline\":\"Grant Access\",\"name\":\"Grant Access\",\"description\":\"Let a member or access group whose access scope is restricted reach a resource\",\"url\":\"https://docs.memorylake.ai/features/memorylake/api-reference/access-control/grant-scope\",\"mainEntityOfPage\":{\"@id\":\"https://docs.memorylake.ai/features/memorylake/api-reference/access-control/grant-scope#webpage\"},\"dateModified\":\"2026-10-16T08:17:38.885Z\",\"publisher\":{\"@id\":\"https://docs.memorylake.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.memorylake.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"MemoryLake AI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"MemoryLake AI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/features/memorylake/api-reference/access-control/grant-scope.md","siteName":"MemoryLake AI","nav":{"global":null,"languages":[{"language":"en","default":true,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/overview"}]},{"tab":"API reference","groups":[{"group":"API documentation","pages":[]},{"group":"MemoryLake API","pages":[{"title":"MemoryLake API Reference","href":"/features/memorylake/api-reference/overview"},{"title":"API Authentication","href":"/features/memorylake/api-reference/authentication"},{"group":"Core Memory Operations","pages":[{"title":"Overview","href":"/features/memorylake/api-reference/core-memory/overview"},{"title":"Import Documents","href":"/features/memorylake/api-reference/v3-documents/import-documents"},{"title":"Append Conversation Message","href":"/features/memorylake/api-reference/conversations/create-message"},{"title":"Search Memories","href":"/features/memorylake/api-reference/search/search-memories"}]},{"group":"Library","pages":[{"title":"Overview","href":"/features/memorylake/api-reference/library/overview"},{"title":"Get Item","href":"/features/memorylake/api-reference/library/get-item"},{"title":"List Items","href":"/features/memorylake/api-reference/library/list-items"},{"title":"Download Item","href":"/features/memorylake/api-reference/library/download-item"},{"title":"Create Upload","href":"/features/memorylake/api-reference/library/create-upload"},{"title":"Create Item","href":"/features/memorylake/api-reference/library/create-item"},{"title":"Delete Item","href":"/features/memorylake/api-reference/library/delete-item"},{"title":"Batch Delete Items","href":"/features/memorylake/api-reference/library/batch-delete-items"},{"title":"Set Item Xattrs","href":"/features/memorylake/api-reference/library/set-item-xattrs"},{"title":"Delete Item Xattrs","href":"/features/memorylake/api-reference/library/delete-item-xattrs"}]},{"group":"Workspaces","pages":[{"title":"Overview","href":"/features/memorylake/api-reference/workspaces/overview"},{"title":"List Workspaces","href":"/features/memorylake/api-reference/workspaces/list-workspaces"},{"title":"Create Workspace","href":"/features/memorylake/api-reference/workspaces/create-workspace"},{"title":"Get Workspace","href":"/features/memorylake/api-reference/workspaces/get-workspace"},{"title":"Update Workspace","href":"/features/memorylake/api-reference/workspaces/update-workspace"},{"title":"Delete Workspace","href":"/features/memorylake/api-reference/workspaces/delete-workspace"},{"title":"List Workspace Facts","href":"/features/memorylake/api-reference/facts/list-workspace-facts"},{"group":"Conversations","pages":[{"title":"List Conversations","href":"/features/memorylake/api-reference/conversations/list-conversations"},{"title":"Create Conversation","href":"/features/memorylake/api-reference/conversations/create-conversation"},{"title":"Get Conversation","href":"/features/memorylake/api-reference/conversations/get-conversation"},{"title":"Delete Conversation","href":"/features/memorylake/api-reference/conversations/delete-conversation"},{"title":"List Messages","href":"/features/memorylake/api-reference/conversations/list-messages"},{"title":"Batch Get Messages","href":"/features/memorylake/api-reference/conversations/batch-get-messages"}]},{"group":"IM Integrations","pages":[{"title":"List IM Integrations","href":"/features/memorylake/api-reference/integrations/list-integrations"},{"title":"Create IM Integration","href":"/features/memorylake/api-reference/integrations/create-integration"},{"title":"Get IM Integration","href":"/features/memorylake/api-reference/integrations/get-integration"},{"title":"Update IM Integration","href":"/features/memorylake/api-reference/integrations/update-integration"},{"title":"Delete IM Integration","href":"/features/memorylake/api-reference/integrations/delete-integration"}]}]},{"group":"Actors","pages":[{"title":"Overview","href":"/features/memorylake/api-reference/actors/overview"},{"title":"List Actors","href":"/features/memorylake/api-reference/actors/list-actors"},{"title":"Create Actor","href":"/features/memorylake/api-reference/actors/create-actor"},{"title":"Get Actor","href":"/features/memorylake/api-reference/actors/get-actor"},{"title":"Update Actor","href":"/features/memorylake/api-reference/actors/update-actor"},{"title":"Delete Actor","href":"/features/memorylake/api-reference/actors/delete-actor"},{"title":"List Workspace Actors","href":"/features/memorylake/api-reference/actors/list-workspace-actors"},{"title":"Bind Actor to Workspace","href":"/features/memorylake/api-reference/actors/bind-actor"},{"title":"Unbind Actor from Workspace","href":"/features/memorylake/api-reference/actors/unbind-actor"},{"group":"Actor Facts","pages":[{"title":"List Actor Facts","href":"/features/memorylake/api-reference/facts/list-actor-facts"},{"title":"Add Actor Facts","href":"/features/memorylake/api-reference/facts/add-actor-facts"},{"title":"Get Actor Fact","href":"/features/memorylake/api-reference/facts/get-actor-fact"},{"title":"Get Actor Fact Change History","href":"/features/memorylake/api-reference/facts/get-actor-fact-trace"},{"title":"Update Actor Fact","href":"/features/memorylake/api-reference/facts/update-actor-fact"},{"title":"Forget Actor Fact","href":"/features/memorylake/api-reference/facts/forget-actor-fact"},{"title":"Batch Forget Actor Facts","href":"/features/memorylake/api-reference/facts/batch-forget-actor-facts"}]},{"group":"Memory Conflicts","pages":[{"title":"List Actor Memory Conflicts","href":"/features/memorylake/api-reference/v3-conflicts/list-actor-conflicts"},{"title":"Get Actor Memory Conflict","href":"/features/memorylake/api-reference/v3-conflicts/get-actor-conflict"},{"title":"Resolve Actor Memory Conflict","href":"/features/memorylake/api-reference/v3-conflicts/resolve-actor-conflict"}]},{"group":"Memory Settings","pages":[{"title":"Get Actor Memory Settings","href":"/features/memorylake/api-reference/memory-settings/get-actor-memory-settings"},{"title":"Update Actor Memory Settings","href":"/features/memorylake/api-reference/memory-settings/update-actor-memory-settings"},{"title":"Draft Actor Fact Instruction","href":"/features/memorylake/api-reference/memory-settings/draft-actor-fact-instruction"}]}]},{"group":"Agents","pages":[{"title":"Overview","href":"/features/memorylake/api-reference/agents/overview"},{"title":"A2A Integration","href":"/features/memorylake/api-reference/a2a/overview"},{"title":"List Open Data Collections","href":"/features/memorylake/api-reference/a2a/list-open-data-collections"},{"title":"List Agents","href":"/features/memorylake/api-reference/agents/list-agents"},{"title":"Create Agent","href":"/features/memorylake/api-reference/agents/create-agent"},{"title":"Get Agent","href":"/features/memorylake/api-reference/agents/get-agent"},{"title":"Update Agent","href":"/features/memorylake/api-reference/agents/update-agent"},{"title":"Delete Agent","href":"/features/memorylake/api-reference/agents/delete-agent"},{"title":"Fork Agent","href":"/features/memorylake/api-reference/agents/fork-agent"},{"group":"Versions","pages":[{"title":"List Agent Versions","href":"/features/memorylake/api-reference/agents/list-agent-versions"},{"title":"Create Agent Version","href":"/features/memorylake/api-reference/agents/create-agent-version"},{"title":"Get Agent Version","href":"/features/memorylake/api-reference/agents/get-agent-version"}]},{"title":"List Workspace Agents","href":"/features/memorylake/api-reference/agents/list-workspace-agents"},{"title":"Bind Agent to Workspace","href":"/features/memorylake/api-reference/agents/bind-agent"},{"title":"Unbind Agent from Workspace","href":"/features/memorylake/api-reference/agents/unbind-agent"},{"group":"Agent Facts","pages":[{"title":"List Agent Facts","href":"/features/memorylake/api-reference/facts/list-agent-facts"},{"title":"Add Agent Facts","href":"/features/memorylake/api-reference/facts/add-agent-facts"},{"title":"Get Agent Fact","href":"/features/memorylake/api-reference/facts/get-agent-fact"},{"title":"Get Agent Fact Change History","href":"/features/memorylake/api-reference/facts/get-agent-fact-trace"},{"title":"Update Agent Fact","href":"/features/memorylake/api-reference/facts/update-agent-fact"},{"title":"Forget Agent Fact","href":"/features/memorylake/api-reference/facts/forget-agent-fact"},{"title":"Batch Forget Agent Facts","href":"/features/memorylake/api-reference/facts/batch-forget-agent-facts"}]},{"group":"Memory Conflicts","pages":[{"title":"List Agent Memory Conflicts","href":"/features/memorylake/api-reference/v3-conflicts/list-agent-conflicts"},{"title":"Get Agent Memory Conflict","href":"/features/memorylake/api-reference/v3-conflicts/get-agent-conflict"},{"title":"Resolve Agent Memory Conflict","href":"/features/memorylake/api-reference/v3-conflicts/resolve-agent-conflict"}]},{"group":"Memory Settings","pages":[{"title":"Get Agent Memory Settings","href":"/features/memorylake/api-reference/memory-settings/get-agent-memory-settings"},{"title":"Update Agent Memory Settings","href":"/features/memorylake/api-reference/memory-settings/update-agent-memory-settings"},{"title":"Draft Agent Fact Instruction","href":"/features/memorylake/api-reference/memory-settings/draft-agent-fact-instruction"}]}]},{"group":"Skills","pages":[{"title":"Overview","href":"/features/memorylake/api-reference/skills/overview"},{"title":"Request Package Upload","href":"/features/memorylake/api-reference/skills/create-package-upload"},{"title":"List Skills","href":"/features/memorylake/api-reference/skills/list-skills"},{"title":"Create Skill","href":"/features/memorylake/api-reference/skills/create-skill"},{"title":"Get Skill","href":"/features/memorylake/api-reference/skills/get-skill"},{"title":"Update Skill","href":"/features/memorylake/api-reference/skills/update-skill"},{"title":"Delete Skill","href":"/features/memorylake/api-reference/skills/delete-skill"},{"group":"Versions","pages":[{"title":"List Skill Versions","href":"/features/memorylake/api-reference/skills/list-skill-versions"},{"title":"Publish Skill Version","href":"/features/memorylake/api-reference/skills/create-skill-version"},{"title":"Get Skill Version","href":"/features/memorylake/api-reference/skills/get-skill-version"}]}]},{"group":"Boundaries","pages":[{"title":"Overview","href":"/features/memorylake/api-reference/boundaries/overview"},{"title":"List Boundaries","href":"/features/memorylake/api-reference/boundaries/list-boundaries"},{"title":"Create Boundary","href":"/features/memorylake/api-reference/boundaries/create-boundary"},{"title":"Get Boundary","href":"/features/memorylake/api-reference/boundaries/get-boundary"},{"title":"Update Boundary","href":"/features/memorylake/api-reference/boundaries/update-boundary"},{"title":"Delete Boundary","href":"/features/memorylake/api-reference/boundaries/delete-boundary"}]},{"group":"Projects","pages":[{"title":"Overview","href":"/features/memorylake/api-reference/v3-projects/overview"},{"title":"List Projects","href":"/features/memorylake/api-reference/v3-projects/list-projects"},{"title":"Create Project","href":"/features/memorylake/api-reference/v3-projects/create-project"},{"title":"Get Project","href":"/features/memorylake/api-reference/v3-projects/get-project"},{"title":"Update Project","href":"/features/memorylake/api-reference/v3-projects/update-project"},{"title":"Delete Project","href":"/features/memorylake/api-reference/v3-projects/delete-project"},{"group":"Documents","pages":[{"title":"List Documents","href":"/features/memorylake/api-reference/v3-documents/list-documents"},{"title":"Get Document","href":"/features/memorylake/api-reference/v3-documents/get-document"},{"title":"Download Document","href":"/features/memorylake/api-reference/v3-documents/download-document"},{"title":"Delete Documents","href":"/features/memorylake/api-reference/v3-documents/delete-documents"}]},{"group":"Project Facts","pages":[{"title":"List Facts","href":"/features/memorylake/api-reference/facts/list-facts"},{"title":"Add Facts","href":"/features/memorylake/api-reference/facts/add-facts"},{"title":"Get Fact","href":"/features/memorylake/api-reference/facts/get-fact"},{"title":"Get Fact Change History","href":"/features/memorylake/api-reference/facts/get-fact-trace"},{"title":"Update Fact","href":"/features/memorylake/api-reference/facts/update-fact"},{"title":"Forget Fact","href":"/features/memorylake/api-reference/facts/forget-fact"},{"title":"Batch Forget Facts","href":"/features/memorylake/api-reference/facts/batch-forget-facts"}]},{"group":"Memory Conflicts","pages":[{"title":"List Memory Conflicts","href":"/features/memorylake/api-reference/v3-conflicts/list-conflicts"},{"title":"Get Memory Conflict","href":"/features/memorylake/api-reference/v3-conflicts/get-conflict"},{"title":"Resolve Memory Conflict","href":"/features/memorylake/api-reference/v3-conflicts/resolve-conflict"}]},{"group":"Memory Settings","pages":[{"title":"Get Project Memory Settings","href":"/features/memorylake/api-reference/memory-settings/get-project-memory-settings"},{"title":"Update Project Memory Settings","href":"/features/memorylake/api-reference/memory-settings/update-project-memory-settings"},{"title":"Draft Project Fact Instruction","href":"/features/memorylake/api-reference/memory-settings/draft-project-fact-instruction"}]}]},{"group":"Databases","tag":"Preview","pages":[{"title":"Databases API Overview","href":"/features/memorylake/api-reference/database/overview"},{"group":"Connections","pages":[{"title":"List Database Connections","href":"/features/memorylake/api-reference/database/connections/list-database-connections"},{"title":"Test Database Connectivity","href":"/features/memorylake/api-reference/database/connections/test-database-connectivity"},{"title":"Create Database Connection","href":"/features/memorylake/api-reference/database/connections/create-database-connection"},{"title":"Get Database Connection","href":"/features/memorylake/api-reference/database/connections/get-database-connection"},{"title":"Update Database Connection","href":"/features/memorylake/api-reference/database/connections/update-database-connection"},{"title":"Delete Database Connection","href":"/features/memorylake/api-reference/database/connections/delete-database-connection"},{"title":"List Connection Schemas","href":"/features/memorylake/api-reference/database/connections/list-connection-schemas"}]},{"group":"Datasources","pages":[{"title":"List Datasources","href":"/features/memorylake/api-reference/database/datasources/list-datasources"},{"title":"Create Datasource","href":"/features/memorylake/api-reference/database/datasources/create-datasource"},{"title":"Get Datasource","href":"/features/memorylake/api-reference/database/datasources/get-datasource"},{"title":"Update Datasource","href":"/features/memorylake/api-reference/database/datasources/update-datasource"},{"title":"Delete Datasource","href":"/features/memorylake/api-reference/database/datasources/delete-datasource"},{"title":"Build Datasource Index","href":"/features/memorylake/api-reference/database/datasources/build-datasource-index"},{"title":"List Tables","href":"/features/memorylake/api-reference/database/datasources/list-tables"},{"title":"List Columns","href":"/features/memorylake/api-reference/database/datasources/list-columns"},{"title":"Edit Schema Metadata","href":"/features/memorylake/api-reference/database/datasources/edit-schema-metadata"}]},{"group":"Analysis Models","pages":[{"title":"List Analysis Model Templates","href":"/features/memorylake/api-reference/database/analysis-models/list-analysis-model-templates"},{"title":"List Analysis Models","href":"/features/memorylake/api-reference/database/analysis-models/list-analysis-models"},{"title":"Create Analysis Model","href":"/features/memorylake/api-reference/database/analysis-models/create-analysis-model"},{"title":"Get Analysis Model","href":"/features/memorylake/api-reference/database/analysis-models/get-analysis-model"},{"title":"Update Analysis Model","href":"/features/memorylake/api-reference/database/analysis-models/update-analysis-model"},{"title":"Delete Analysis Model","href":"/features/memorylake/api-reference/database/analysis-models/delete-analysis-model"},{"title":"List Knowledge Entries","href":"/features/memorylake/api-reference/database/analysis-models/list-knowledge-entries"},{"title":"Add Knowledge Entry","href":"/features/memorylake/api-reference/database/analysis-models/add-knowledge-entry"},{"title":"Get Knowledge Entry","href":"/features/memorylake/api-reference/database/analysis-models/get-knowledge-entry"},{"title":"Edit Knowledge Entry","href":"/features/memorylake/api-reference/database/analysis-models/edit-knowledge-entry"},{"title":"Disable or Restore Knowledge Entry","href":"/features/memorylake/api-reference/database/analysis-models/disable-knowledge-entry"},{"title":"Delete Knowledge Entry","href":"/features/memorylake/api-reference/database/analysis-models/delete-knowledge-entry"}]},{"group":"Database Memories","pages":[{"title":"List Database Memories","href":"/features/memorylake/api-reference/database/database-memories/list-database-memories"},{"title":"Create Database Memory","href":"/features/memorylake/api-reference/database/database-memories/create-database-memory"},{"title":"Get Database Memory","href":"/features/memorylake/api-reference/database/database-memories/get-database-memory"},{"title":"Update Database Memory","href":"/features/memorylake/api-reference/database/database-memories/update-database-memory"},{"title":"Delete Database Memory","href":"/features/memorylake/api-reference/database/database-memories/delete-database-memory"},{"title":"Reload Database Memory","href":"/features/memorylake/api-reference/database/database-memories/reload-database-memory"},{"title":"Generate Database Memory Instruction","href":"/features/memorylake/api-reference/database/database-memories/generate-database-memory-instruction"}]},{"group":"Database Access","pages":[{"title":"Get Database Resource Access","href":"/features/memorylake/api-reference/access-control/get-database-resource-access"},{"title":"List Database Permission Level Options","href":"/features/memorylake/api-reference/access-control/list-database-permission-level-options"},{"title":"Set Database Permission Level","href":"/features/memorylake/api-reference/access-control/set-database-permission-level"},{"title":"Grant Database Access","href":"/features/memorylake/api-reference/access-control/grant-database-scope"},{"title":"Revoke Database Access","href":"/features/memorylake/api-reference/access-control/revoke-database-scope"}]}]},{"group":"Team","pages":[{"title":"Get Team","href":"/features/memorylake/api-reference/team/get-team"},{"title":"Rename Team","href":"/features/memorylake/api-reference/team/update-team"},{"title":"Create Team","href":"/features/memorylake/api-reference/team/create-team"},{"title":"Transfer Ownership","href":"/features/memorylake/api-reference/team/transfer-ownership"},{"title":"Delete Team","href":"/features/memorylake/api-reference/team/delete-team"}]},{"group":"Members","pages":[{"title":"List Members","href":"/features/memorylake/api-reference/members/list-members"},{"title":"Get Member","href":"/features/memorylake/api-reference/members/get-member"},{"title":"Create Virtual Member","href":"/features/memorylake/api-reference/members/create-member"},{"title":"Update Member","href":"/features/memorylake/api-reference/members/update-member"},{"title":"Remove Member","href":"/features/memorylake/api-reference/members/remove-member"},{"title":"List Roles","href":"/features/memorylake/api-reference/members/list-roles"},{"title":"Get Member Access Scope","href":"/features/memorylake/api-reference/members/get-member-access-scope"},{"title":"Set Member Access Scope","href":"/features/memorylake/api-reference/members/set-member-access-scope"},{"title":"Get Member Effective Permissions","href":"/features/memorylake/api-reference/members/get-member-effective-permissions"}]},{"group":"Invitations","pages":[{"title":"List Invitations","href":"/features/memorylake/api-reference/invitations/list-invitations"},{"title":"Create Invitation","href":"/features/memorylake/api-reference/invitations/create-invitation"},{"title":"Get Invitation","href":"/features/memorylake/api-reference/invitations/get-invitation"},{"title":"Revoke Invitation","href":"/features/memorylake/api-reference/invitations/revoke-invitation"}]},{"group":"API Keys","pages":[{"title":"List API Keys","href":"/features/memorylake/api-reference/api-keys/list-api-keys"},{"title":"Create API Key","href":"/features/memorylake/api-reference/api-keys/create-api-key"},{"title":"Get API Key","href":"/features/memorylake/api-reference/api-keys/get-api-key"},{"title":"Update API Key","href":"/features/memorylake/api-reference/api-keys/update-api-key"},{"title":"Rotate API Key","href":"/features/memorylake/api-reference/api-keys/rotate-api-key"},{"title":"Revoke API Key","href":"/features/memorylake/api-reference/api-keys/revoke-api-key"}]},{"group":"Authorized Apps","pages":[{"title":"List My Authorized Apps","href":"/features/memorylake/api-reference/authorized-apps/list-my-authorized-apps"},{"title":"Revoke Authorized App","href":"/features/memorylake/api-reference/authorized-apps/revoke-my-authorized-app"}]},{"group":"Webhooks","pages":[{"title":"List Webhooks","href":"/features/memorylake/api-reference/webhooks/list-webhooks"},{"title":"Add Webhook","href":"/features/memorylake/api-reference/webhooks/create-webhook"},{"title":"Get Webhook","href":"/features/memorylake/api-reference/webhooks/get-webhook"},{"title":"Update Webhook","href":"/features/memorylake/api-reference/webhooks/update-webhook"},{"title":"Delete Webhook","href":"/features/memorylake/api-reference/webhooks/delete-webhook"},{"title":"Enable Webhook","href":"/features/memorylake/api-reference/webhooks/enable-webhook"},{"title":"Disable Webhook","href":"/features/memorylake/api-reference/webhooks/disable-webhook"},{"title":"Rotate Signing Secret","href":"/features/memorylake/api-reference/webhooks/rotate-webhook-secret"},{"title":"Send Test Event","href":"/features/memorylake/api-reference/webhooks/send-webhook-test-event"},{"title":"List Event Types","href":"/features/memorylake/api-reference/webhooks/list-webhook-event-types"},{"title":"List Deliveries","href":"/features/memorylake/api-reference/webhooks/list-webhook-deliveries"},{"title":"Get Delivery","href":"/features/memorylake/api-reference/webhooks/get-webhook-delivery"},{"title":"Resend Delivery","href":"/features/memorylake/api-reference/webhooks/resend-webhook-delivery"}]},{"group":"Access Control","pages":[{"title":"Access Control","href":"/features/memorylake/api-reference/access-control/overview"},{"title":"Get Permission Catalog","href":"/features/memorylake/api-reference/access-control/get-permission-catalog"},{"title":"List My Permissions","href":"/features/memorylake/api-reference/access-control/list-my-permissions"},{"group":"Roles","pages":[{"title":"Get Role","href":"/features/memorylake/api-reference/access-control/get-role"},{"title":"Create Custom Role","href":"/features/memorylake/api-reference/access-control/create-role"},{"title":"Update Custom Role","href":"/features/memorylake/api-reference/access-control/update-role"},{"title":"Delete Custom Role","href":"/features/memorylake/api-reference/access-control/delete-role"},{"title":"Get Role Access Scope","href":"/features/memorylake/api-reference/access-control/get-role-access-scope"},{"title":"Set Role Access Scope","href":"/features/memorylake/api-reference/access-control/set-role-access-scope"}]},{"group":"Permission Rules","pages":[{"title":"List Permission Rules","href":"/features/memorylake/api-reference/access-control/list-permission-rules"},{"title":"Create Permission Rules","href":"/features/memorylake/api-reference/access-control/create-permission-rules"},{"title":"Delete Permission Rule","href":"/features/memorylake/api-reference/access-control/delete-permission-rule"}]},{"group":"Access Groups","pages":[{"title":"List Access Groups","href":"/features/memorylake/api-reference/access-control/list-access-groups"},{"title":"Create Access Group","href":"/features/memorylake/api-reference/access-control/create-access-group"},{"title":"Get Access Group","href":"/features/memorylake/api-reference/access-control/get-access-group"},{"title":"Update Access Group","href":"/features/memorylake/api-reference/access-control/update-access-group"},{"title":"Delete Access Group","href":"/features/memorylake/api-reference/access-control/delete-access-group"},{"title":"List Access Group Members","href":"/features/memorylake/api-reference/access-control/list-access-group-members"},{"title":"Add Access Group Members","href":"/features/memorylake/api-reference/access-control/add-access-group-members"},{"title":"Remove Access Group Member","href":"/features/memorylake/api-reference/access-control/remove-access-group-member"},{"title":"Set Access Group Permissions","href":"/features/memorylake/api-reference/access-control/set-access-group-permissions"},{"title":"Get Access Group Access Scope","href":"/features/memorylake/api-reference/access-control/get-access-group-access-scope"},{"title":"Set Access Group Access Scope","href":"/features/memorylake/api-reference/access-control/set-access-group-access-scope"},{"title":"Get Access Group Effective Permissions","href":"/features/memorylake/api-reference/access-control/get-access-group-effective-permissions"}]},{"group":"Resource Access","pages":[{"title":"Get Resource Access","href":"/features/memorylake/api-reference/access-control/get-resource-access"},{"title":"List Permission Level Options","href":"/features/memorylake/api-reference/access-control/list-permission-level-options"},{"title":"Set Permission Level","description":"Give a member or access group a permission level on a resource","href":"/features/memorylake/api-reference/access-control/set-permission-level"},{"title":"Grant Access","href":"/features/memorylake/api-reference/access-control/grant-scope"},{"title":"Revoke Access","description":"Remove a resource from a restricted access scope","href":"/features/memorylake/api-reference/access-control/revoke-scope"}]}]},{"group":"Usage \u0026 Audit Logs","pages":[{"title":"Get Usage","href":"/features/memorylake/api-reference/usage/get-usage"},{"title":"Get Usage Summary","href":"/features/memorylake/api-reference/usage/get-usage-summary"},{"title":"List Usage Records","href":"/features/memorylake/api-reference/usage/list-usage-records"},{"title":"List Audit Logs","href":"/features/memorylake/api-reference/usage/list-audit-logs"}]},{"group":"Billing","pages":[{"group":"Subscription","pages":[{"title":"Get Subscription","href":"/features/memorylake/api-reference/billing/get-subscription"},{"title":"Preview Plan Change","href":"/features/memorylake/api-reference/billing/preview-plan-change"}]},{"group":"Credits","pages":[{"title":"Get Credit Balance","href":"/features/memorylake/api-reference/billing/get-credit-balance"},{"title":"List Credit Transactions","href":"/features/memorylake/api-reference/billing/list-credit-transactions"},{"title":"Get Low-Balance Alert","href":"/features/memorylake/api-reference/billing/get-balance-alert"},{"title":"Set Low-Balance Alert","href":"/features/memorylake/api-reference/billing/set-balance-alert"},{"title":"Reset Low-Balance Alert","href":"/features/memorylake/api-reference/billing/reset-balance-alert"},{"title":"List Low-Balance Alert Events","href":"/features/memorylake/api-reference/billing/list-balance-alert-events"},{"title":"Get Auto Top-Up","href":"/features/memorylake/api-reference/billing/get-auto-topup"},{"title":"List Auto Top-Up Attempts","href":"/features/memorylake/api-reference/billing/list-auto-topup-attempts"}]},{"group":"Orders","pages":[{"title":"List Orders","href":"/features/memorylake/api-reference/billing/list-orders"},{"title":"Get Order","href":"/features/memorylake/api-reference/billing/get-order"}]},{"group":"Payment Methods","pages":[{"title":"List Payment Methods","href":"/features/memorylake/api-reference/billing/list-payment-methods"}]},{"group":"Invoices","pages":[{"title":"List Invoices","href":"/features/memorylake/api-reference/billing/list-invoices"},{"title":"Get Invoice","href":"/features/memorylake/api-reference/billing/get-invoice"},{"title":"Download Invoice PDF","href":"/features/memorylake/api-reference/billing/download-invoice-pdf"},{"title":"Get Billing Details","href":"/features/memorylake/api-reference/billing/get-billing-details"},{"title":"Set Billing Details","href":"/features/memorylake/api-reference/billing/set-billing-details"}]}]},{"group":"Deprecated","pages":[{"group":"Projects","pages":[{"title":"List Projects","href":"/features/memorylake/api-reference/projects/list-projects"},{"title":"Create Project","href":"/features/memorylake/api-reference/projects/create-project"},{"title":"Get Project","href":"/features/memorylake/api-reference/projects/get-project"},{"title":"Update Project","href":"/features/memorylake/api-reference/projects/update-project"},{"title":"Delete Project","href":"/features/memorylake/api-reference/projects/delete-project"},{"title":"Search Memories \u0026 Documents in Project","href":"/features/memorylake/api-reference/projects/search-project"}]},{"group":"Documents","pages":[{"title":"List Documents","href":"/features/memorylake/api-reference/memories/list-documents"},{"title":"Get Document","href":"/features/memorylake/api-reference/memories/get-document"},{"title":"Add Documents","href":"/features/memorylake/api-reference/memories/add-document"},{"title":"Remove Documents","href":"/features/memorylake/api-reference/memories/remove-documents"},{"title":"Search Documents","href":"/features/memorylake/api-reference/memories/search-documents"},{"title":"Download Document","href":"/features/memorylake/api-reference/memories/download-document"}]},{"group":"Memories","pages":[{"title":"Add Memory","href":"/features/memorylake/api-reference/memories/add-memory"},{"title":"List Memories","href":"/features/memorylake/api-reference/memories/list-memories"},{"title":"Get Memory","href":"/features/memorylake/api-reference/memories/get-memory"},{"title":"Get Memory Trace","href":"/features/memorylake/api-reference/memories/get-memory-trace"},{"title":"Search Memories","href":"/features/memorylake/api-reference/memories/search-memories"},{"title":"Forget Memory","href":"/features/memorylake/api-reference/memories/forget-memory"},{"title":"List Memory Conflicts","href":"/features/memorylake/api-reference/memories/list-memory-conflicts"},{"title":"Get Memory Conflict","href":"/features/memorylake/api-reference/memories/get-memory-conflict"},{"title":"Resolve Memory Conflict","href":"/features/memorylake/api-reference/memories/resolve-memory-conflict"}]}]},{"title":"Error Codes \u0026 Handling","href":"/features/memorylake/api-reference/errors"},{"title":"Rate Limiting \u0026 Quotas","href":"/features/memorylake/api-reference/rate-limits"}]},{"group":"Memory Router API","pages":[{"title":"Memory Router API","href":"/features/memory-router/api-reference/overview"},{"title":"Chat Completions","href":"/features/memory-router/api-reference/chat-completions"},{"title":"Responses","href":"/features/memory-router/api-reference/responses"},{"title":"Embeddings","href":"/features/memory-router/api-reference/embeddings"},{"title":"Images","href":"/features/memory-router/api-reference/images"},{"title":"Messages","href":"/features/memory-router/api-reference/messages"},{"title":"List Models","href":"/features/memory-router/api-reference/list-models"}]}]}]},{"language":"zh","pages":[{"title":"zh","href":"/zh/features/memorylake/api-reference/access-control/grant-scope"}]}]},"basePath":"","title":"Grant Access - MemoryLake AI","deploymentId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","buildId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","dynamics":["2b790eda92"],"chunks":["ApiExamples-gah5G0c1.js","usePlaygroundInputsStore-DMbftGRK.js","shallow-BPuQ-dV8.js","utils-DINdUa17.js","utils-cjri0g4r.js","isEqual-Du6c450V.js","_Uint8Array-BFUkDgJK.js","isObject-FP1Yky1u.js","CodeSnippets-BSVM0Ibi.js","CodeSnippet-BtGQRZnK.js","snippetPresets-CbOVSLWB.js","style-to-object-BY3JEAdk.js","use-playground-group-access-98JyaSW7.js","cloneDeep-BldndzCM.js","v4-DIgz8zy6.js"]}