List Projects (Paginated)
const url = 'https://api.qualia.dev/v1/projects/list?limit=20&sort=newest';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.qualia.dev/v1/projects/list?limit=20&sort=newest' \ --header 'X-API-Key: <X-API-Key>'List projects for the current user with cursor-based pagination.
Each item says whether it is the organization’s default workspace, its
icon, and the caller’s role there
(my_role, null when the roles could not be read). A key restricted
to workspaces lists only the workspaces on its allowlist, and its page
says nothing of how many others exist.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Search project name
Search project name
Pagination cursor
Pagination cursor
Responses
Section titled “ Responses ”Paginated list of projects
object
A workspace (a project), as the dashboard’s workspace pages show it.
object
The organization’s default workspace; it cannot be deleted
Its icon, a name from the dashboard’s set; null for none
The caller’s role there (for an API key, its creator’s; the key’s scopes cap what it may do with it); null when it could not be read
object
Whether more items exist after this page
Cursor for the next page
Total matching items
Example
{ "items": [ { "is_default": false, "my_role": "viewer" } ]}Invalid or missing API key
Standard error response.
object
Error message describing what went wrong
Example generated
{ "detail": "example"}Invalid pagination parameters