You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 22, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 22, 2026. It is now read-only.
Retrieving models/tests by alias doesn't work for all users #340
This is because retrieving by alias uses queries that are stored in the "model" space, and so only accessible to model curators.
This may be fixed in future, i.e. released queries will be executable by anyone (Oli said: "technically speaking, queries are indeed normal resources and therefore can be released and are readable for the end user e.g. through the instances api - but we need to review the queries endpoint to make the query execution happening (so far we've always assumed queries to be read from "in progress" in a Slack conversation, early March 2023).
For now, the best solution would probably be to generate the queries (or read from file) within the VF API.
Fixed. Retrieving by alias now works for any caller, including anonymous ones (a stricter case than the non-curator user this issue was about). Checked against production (build 038d52dc) on 2026-09-22: both /models/{alias} and /tests/{alias} return 200 without credentials, as do the equivalent lookups by UUID.
The workaround noted above, retrieving by ID, is no longer needed.
Activity
apdavison commentedon Jun 7, 2023
The workaround until this is fixed is to retrieve by ID
apdavison commentedon Sep 22, 2026
Fixed. Retrieving by alias now works for any caller, including anonymous ones (a stricter case than the non-curator user this issue was about). Checked against production (build
038d52dc) on 2026-09-22: both/models/{alias}and/tests/{alias}return 200 without credentials, as do the equivalent lookups by UUID.The workaround noted above, retrieving by ID, is no longer needed.