Qyra
ReferenceProjects

List spaces in project

List all spaces in a project

GET/api/v1/projects/{projectUuid}/spaces

Authentication: personal access token. The spec defines an api_key security scheme — send an Authorization: ApiKey <your-personal-access-token> header (value format: ApiKey <your key>). A session_cookie scheme (connect.sid) exists for browser sessions. Operations in this spec declare security: [], an artifact of the upstream spec generator — authentication is still enforced by the server.

Path parameters

NameTypeRequiredDescription
projectUuidstringYesThe uuid of the project to get spaces for

Responses

200 — Success

{
  "results": [
    {
      "name": "string",
      "slug": "string",
      "uuid": "string",
      "organizationUuid": "string",
      "projectUuid": "string",
      "inheritParentPermissions": true,
      "projectMemberAccessRole": {},
      "pinnedListUuid": "string",
      "pinnedListOrder": 0,
      "parentSpaceUuid": "string",
      "path": "string",
      "deletedBy": {
        "lastName": "string",
        "firstName": "string",
        "userUuid": "string"
      },
      "deletedAt": "2024-01-01T00:00:00.000Z",
      "appCount": 0,
      "childSpaceCount": 0,
      "dashboardCount": 0,
      "chartCount": 0,
      "access": [
        "string"
      ],
      "userAccess": {
        "grantedVia": "app",
        "inheritedFrom": "organization",
        "inheritedRole": "member",
        "projectRole": "viewer",
        "hasDirectAccess": true,
        "role": "viewer",
        "userUuid": "string"
      },
      "inheritsFromOrgOrProject": true
    }
  ],
  "status": "ok"
}

default — Error

{
  "error": {
    "data": "string",
    "message": "string",
    "name": "string",
    "statusCode": 0
  },
  "status": "error"
}