Skip to content

List Projects (Paginated)

GET
/v1/projects/list
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.

search

Search project name

string | null
<= 200 characters

Search project name

limit
integer
default: 20 >= 1 <= 1000
cursor

Pagination cursor

string | null

Pagination cursor

sort
string
default: newest
Allowed values: newest oldest updated name

Paginated list of projects

Media type application/json
PaginatedProjectsResponse
object
items
Array<object>
ProjectItem

A workspace (a project), as the dashboard’s workspace pages show it.

object
project_id
required
string format: uuid
name
required
string
description
string | null
created_at
required
string format: date-time
updated_at
required
string format: date-time
is_default

The organization’s default workspace; it cannot be deleted

boolean
icon

Its icon, a name from the dashboard’s set; null for none

string | null
my_role

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

string
nullable
Allowed values: viewer contributor admin owner
page_info
required
PageInfo
object
has_next
required

Whether more items exist after this page

boolean
end_cursor

Cursor for the next page

string | null
total_count

Total matching items

integer | null
Example
{
"items": [
{
"is_default": false,
"my_role": "viewer"
}
]
}

Invalid or missing API key

Media type application/json
ErrorResponse

Standard error response.

object
detail
required

Error message describing what went wrong

string
Example generated
{
"detail": "example"
}

Invalid pagination parameters