Skip to content
Suomi

One level of the project's buildings, storeys, spaces and types

GET
/v1/projects/{projectId}/places
Code sample: Shell / cURL
curl --request GET \
--url https://api.whatsbuilt.fi/v1/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/places \
--header 'Authorization: Bearer <token>'

Without node: the project’s first level. Send a place’s node to open it. Each place counts its elements, the ones whose latest inspection is in progress and the open findings on them.

projectId
required
string format: uuid
node
string
>= 1 characters <= 4096 characters

A node from an earlier answer

The level

Media typeapplication/json
object
project_id
required
string format: uuid
node
required

The place shown; null is the project. Levels with one child are skipped.

string | null
kind
required

What the place shown is.

string
Allowed values: project building storey space zones systems zone system type bucket
path
required

The levels above, outermost first

Array<object>
object
kind
required

What a step or a child of Selaa is.

string
Allowed values: building storey space zones systems zone system type bucket
bucket

Elements with no building, storey or space

string
Allowed values: no_building no_storey no_space
name
required
string | null
long_name
string | null
other_names

A merged building’s or storey’s names in other models, when they differ

Array<string>
node
required

Opaque: send it back as node to open this place

string
global_id

A building, storey, space, zone or system: its IFC GlobalId

string
children
required

Empty at a type: list its elements with queryElements by ifc_type and storey_name

Array
object
kind
required

What a step or a child of Selaa is.

string
Allowed values: building storey space zones systems zone system type bucket
bucket

Elements with no building, storey or space

string
Allowed values: no_building no_storey no_space
name
required
string | null
long_name
string | null
other_names

A merged building’s or storey’s names in other models, when they differ

Array<string>
node
required

Opaque: send it back as node to open this place

string
global_id

A building, storey, space, zone or system: its IFC GlobalId

string
count
required

Elements under it

integer format: int64
in_progress
required

Elements whose latest inspection is in progress

integer format: int64
open_findings
required
integer format: int64
elevation_m
number | null format: double
groups

The zones or systems a zones or systems row holds

integer format: int64
model
string
model_id
string format: uuid
records

Inspections, findings and maintenance entries on the place itself

integer format: int64
spaces
Array
object
kind
required

What a step or a child of Selaa is.

string
Allowed values: building storey space zones systems zone system type bucket
bucket

Elements with no building, storey or space

string
Allowed values: no_building no_storey no_space
name
required
string | null
long_name
string | null
other_names

A merged building’s or storey’s names in other models, when they differ

Array<string>
node
required

Opaque: send it back as node to open this place

string
global_id

A building, storey, space, zone or system: its IFC GlobalId

string
count
required

Elements under it

integer format: int64
in_progress
required

Elements whose latest inspection is in progress

integer format: int64
open_findings
required
integer format: int64
elevation_m
number | null format: double
groups

The zones or systems a zones or systems row holds

integer format: int64
model
string
model_id
string format: uuid
records

Inspections, findings and maintenance entries on the place itself

integer format: int64
default_view

Which list a storey with spaces opens on.

string
Allowed values: types spaces
findings

At a storey: findings marked at a point on it, newest first

Array<object>

A finding marked at a point on a storey, as Selaa lists it.

object
finding_id
required
string format: uuid
number
required
string | null
title
required
string
status
required
string | null
open
required
boolean
created_at
required
string | null

Example

{
"kind": "project",
"path": [
{
"kind": "building",
"bucket": "no_building"
}
],
"children": [
{
"kind": "building",
"bucket": "no_building"
}
],
"spaces": [
{
"kind": "building",
"bucket": "no_building"
}
],
"default_view": "types"
}

VALIDATION_ERROR for a malformed id or parameter; INVALID_PROPERTY_FILTER for a property condition the filter cannot use

Media typeapplication/json

The error body of every /v1 answer of 400 or more.

object
error
required

A sentence for people; it may change

string
code
required

Part of the contract

string
details

What the code names, where it names something

request_id
required

The X-Request-Id of the call

string

Example generated

{
"error": "example",
"code": "example",
"details": "example",
"request_id": "example"
}

Missing, malformed, expired or revoked token

Media typeapplication/json

The error body of every /v1 answer of 400 or more.

object
error
required

A sentence for people; it may change

string
code
required

Part of the contract

string
details

What the code names, where it names something

request_id
required

The X-Request-Id of the call

string

Example generated

{
"error": "example",
"code": "example",
"details": "example",
"request_id": "example"
}

INSUFFICIENT_SCOPE; INSUFFICIENT_PROJECT_ROLE when the project is not the integration’s; PUBLIC_API_DISABLED when the project’s owning organisation has turned the API off

Media typeapplication/json

The error body of every /v1 answer of 400 or more.

object
error
required

A sentence for people; it may change

string
code
required

Part of the contract

string
details

What the code names, where it names something

request_id
required

The X-Request-Id of the call

string

Example generated

{
"error": "example",
"code": "example",
"details": "example",
"request_id": "example"
}

No such project or element

Media typeapplication/json

The error body of every /v1 answer of 400 or more.

object
error
required

A sentence for people; it may change

string
code
required

Part of the contract

string
details

What the code names, where it names something

request_id
required

The X-Request-Id of the call

string

Example generated

{
"error": "example",
"code": "example",
"details": "example",
"request_id": "example"
}

RATE_LIMITED; wait for Retry-After seconds

Media typeapplication/json

The error body of every /v1 answer of 400 or more.

object
error
required

A sentence for people; it may change

string
code
required

Part of the contract

string
details

What the code names, where it names something

request_id
required

The X-Request-Id of the call

string

Example generated

{
"error": "example",
"code": "example",
"details": "example",
"request_id": "example"
}