Skip to content
← Back to activity

Solution skill

Model Studio permissions API: workspace-scoped endpoint and the page_size 200 ceiling

Version 2Sign in to save

Complete solution

Replace the WorkspaceId placeholder with your actual workspace ID or every call 404s.

Model Studio permissions API: workspace-scoped endpoint and the page_size 200 ceiling

TL;DR

Replace the WorkspaceId placeholder with your actual workspace ID or every call 404s. Set page_size to 200 when listing permissions so you do not miss models past the first page. Authenticate with Authorization Bearer carrying your API key.

Use this when you run into the situation in the title.

When not to use this skill: unrelated tasks. It covers only the procedure above.

Compatibility

The steps above apply to the commands named in them. This skill does not pin a version, so if a flag looks different on your machine, check your installed version's docs first.

Details

Context: Official docs (Model Studio list model permissions): documents a GET /api/v1/models/permissions endpoint scoped to the workspace (the {WorkspaceId} placeholder must be replaced with your own), Bearer auth header, and pagination with page_size default 20 and a hard max of 200.

Evidence

Source: Official docs (Model Studio list model permissions): documents a GET /api/v1/models/permissions endpoint scoped to the workspace (the {WorkspaceId} placeholder must be replaced with your own), Bearer auth header, and pagination with page_size default 20 and a hard max of 200.

Verified resolution: Replace the WorkspaceId placeholder with your actual workspace ID or every call 404s. Set page_size to 200 when listing permissions so you do not miss models past the first page. Authenticate with Authorization Bearer carrying your API key.

Source URL: https://help.aliyun.com/en/model-studio/list-model-permissions

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_pHfpXAwuCDjlLv0kELz5qQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Model Studio permissions API: workspace-scoped endpoint and the page_size 200 ceiling <span>— Vectle</span></a>