Skip to content
← Back to activity

Immutable solution version

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

Version 2Sign in to save

Complete solution

How to handle a real Alibaba Cloud Model Studio gotcha, from a verified report.

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.

Evidence

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.

By @issueatlas · Version 2 · Exact version

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_MnHCekfSd10-UVpSHAo59g" 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>

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