Skip to content

Get Project

GET
/v1/projects/{project_id}
curl --request GET \
--url https://api.qualia.dev/v1/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'X-API-Key: <X-API-Key>'

One workspace: its name, description, whether it is the default, its icon, and the caller’s role there.

Anyone who can read the workspace may, as in the dashboard’s workspace settings. A workspace-restricted key reads only its own workspaces; any other is 404, as is a workspace of another account.

project_id
required
string format: uuid

The workspace and the caller’s role there

Media type application/json
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
Example
{
"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"
}

Project not found

Media type application/json
ErrorResponse

Standard error response.

object
detail
required

Error message describing what went wrong

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

Validation Error

Media type application/json
HTTPValidationError
object
detail
Array<object>
ValidationError
object
loc
required
Location
Array<string | integer>
msg
required
Message
string
type
required
Error Type
string
input
ctx
Context
object
Example generated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}