Get Project
const url = 'https://api.qualia.dev/v1/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';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/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.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Responses
Section titled “ Responses ”The workspace and the caller’s role there
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
Example
{ "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"}Project not found
Standard error response.
object
Error message describing what went wrong
Example generated
{ "detail": "example"}Validation Error
object
object
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}