{
"error": "Entity Not Found",
"errorCode": "EntityNotFound",
"message": "This entity is not found in the system.",
"status": "404 NOT_FOUND",
"timestamp": "2026-09-02T20:41:03.118Z",
"localizedMessage": "This entity is not found in the system."
}
Buildings
GET Building
Returns a single building by id.
Required capabilities:READ:BUILDING
GET
/
rest
/
v2
/
accounts
/
{accountId}
/
buildings
/
{buildingId}
GET Building
curl --request GET \ --url https://api.prophia.com/rest/v2/accounts/{accountId}/buildings/{buildingId} \ --header 'X-API-Key: <api-key>'
{
"error": "Entity Not Found",
"errorCode": "EntityNotFound",
"message": "This entity is not found in the system.",
"status": "404 NOT_FOUND",
"timestamp": "2026-09-02T20:41:03.118Z",
"localizedMessage": "This entity is not found in the system."
}
Authorizations
X-API-Key
string
header
required
Prophia API key — either an account key (grants admin level permissions) or a user key with the REST scope. Send it in the X-API-Key header, or equivalently as Authorization: Bearer <api-key>. JWTs are rejected on /rest endpoints with 401.
Path Parameters
accountId
string
required
buildingId
string
required
Query Parameters
include
enum<string>[]
Optional collections to populate. Unknown keys are rejected with 400.
leases — adds the list of leases under this building.
Requires the READ:LEASE capability.
documents — adds the list of building-level documents (e.g. rent rolls, stacking plans) attached at the building scope.
Requires the READ:DOCUMENT capability.
spaces — adds the list of suites/spaces (archived and non-archived) attached to this building.
Requires the READ:BUILDING_SPACE capability.
customFields — adds the building's values for its active Building Custom Fields, sorted by field name.
Requires the READ:CUSTOM_FIELD capability.
Available options:
leases,
documents,
spaces,
customFields
Response
OK
Representation of a building. All Buildings have one Property association. Multiple Buildings can be associated with the same Property to represent a campus or other multi-building asset.
id
string
read-only
Prophia internal Building ID (UUID)
propertyId
string
read-only
Pointer to the Property this Building is associated with.
buildingName
string
Display name of the building. Must be unique within the same Property. Can be duplicated with other Buildings in the Account (i.e. Two Properties in the Account can have a Building called 'Building 1').
address
object
Street address of the building.
Show child attributes
onboardingStatus
enum<string>
read-only
How far this building has progressed through Prophia's onboarding process. Leases, BuildingSpaces, and Tags are considered incomplete until onboarding completes for the Building.
Available options:
NOT_STARTED,
INITIAL_SETUP,
ONBOARDING_IN_PROGRESS,
ONBOARDING_COMPLETE
activeStatus
enum<string>
read-only
Operational state of the building record. An ACTIVE status indicates that the building has been fully onboarded and handed off by the Prophia team. An INACTIVE status indicates a Building that will no longer receive updates to its data and is essentially a purely historical representation of the asset. Other statuses show the Building moving through the systems automated processing states and review points.
Available options:
ACTIVE,
INACTIVE,
WORK_IN_PROGRESS,
QA_PENDING,
AI_PROCESSED
customId
string
Your external identifier for the building, for cross-referencing with your own systems. Prophia does not rely on this value in any way.
implementationManager
string
read-only
Prophia implementation manager responsible for onboarding and reviewing the data in this Building. This is not the account manager.
buildingType
enum<string>
The Asset type for the Building. This is a subjective reference value only, is not validated, and does not affect data onboarding.
Available options:
OFFICE,
INDUSTRIAL,
RETAIL,
MIXED_USE,
OTHER,
LIFE_SCIENCES,
MEDICAL_OFFICE,
FLEX
buildingClass
string
Market classification of the building (e.g. A, B, C). This is a subjective reference value only, is not validated, and does not affect data onboarding.
metroArea
string
Metro market the building belongs to (e.g. Seattle Metropolitan Area. This is a subjective reference value only, is not validated, and does not affect data onboarding.
lat
number
read-only
Latitude in decimal degrees. Derived automatically from the address when the building is created and re-geocoded whenever the address is changed; coordinates cannot be supplied directly. A geocode that fails or returns no match leaves the previously stored coordinates in place, so lat/lng may reflect an earlier address; a building whose address has never geocoded successfully has no coordinates at all.
lng
number
read-only
Longitude in decimal degrees. Derived alongside lat from the same geocode, and subject to the same staleness caveat.
propertyType
enum<string>
read-only
Whether the parent property holds a single building or multiple.
Available options:
MULTI_BUILDING,
SINGLE_BUILDING
totalRentableSquareFootage
integer<int32>
read-only
Cached total rentable square footage from the last stacking-plan build; may lag current values while leases are in onboarding. Use the stacking plan for point-in-time occupancy.
squareFootageLeased
integer<int32>
read-only
Cached leased square footage from the last stacking-plan build; may lag current values while leases are in onboarding. For a Building Space to count towards leased square footage it must have either an active/commenced lease or a lease with a future commencement date referencing that space. Use the stacking plan for point-in-time occupancy.
squareFootageOccupied
integer<int32>
read-only
Cached occupied square footage from the last stacking-plan build; may lag current values while leases are in onboarding. For a Building Space to count towards occupied square footage it must have an active/commenced lease referencing that space.Use the stacking plan for point-in-time occupancy.
squareFootageVacant
integer<int32>
read-only
Cached vacant square footage from the last stacking-plan build; may lag current values while leases are in onboarding. For a Building Space to count towards vacant square footage, it can't have any active/commenced lease referencing that space.Use the stacking plan for point-in-time occupancy.
leases
object[]
Leases in this building; only populated when include=leases is present as a request parameter.
Show child attributes
documents
object[]
read-only
Building-level documents (rent rolls, stacking plans); only populated when include=documents is present as a request parameter.
Show child attributes
spaces
object[]
read-only
Spaces in this building, archived and non-archived alike; only populated when include=spaces is present as a request parameter.
Show child attributes
customFields
object[]
read-only
The Building's values for its active Building Custom Fields as name/value pairs, sorted by field name; only populated when include=customFields is present as a request parameter. Manage the fields and assignments themselves through the Custom Fields endpoints.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Prophia Docs","colors":{"primary":"#017768","light":"#027F9E","dark":"#004356"},"logo":{"light":"https://mintcdn.com/prophia/D5w3N4ZrYouJq2j1/images/ProphiaBrand_Primary-Logo-ForDarkBG-TealAccent.png?fit=max\u0026auto=format\u0026n=D5w3N4ZrYouJq2j1\u0026q=85\u0026s=dc3bd897dc4e1f0320f0ee18d0bab7bb","dark":"https://mintcdn.com/prophia/D5w3N4ZrYouJq2j1/images/ProphiaBrand_Primary-Logo-ForLightBG-TealAccent.png?fit=max\u0026auto=format\u0026n=D5w3N4ZrYouJq2j1\u0026q=85\u0026s=58a7fdb3deaa004ccf6c4fff99f0c6b8"},"favicon":{"light":"https://mintcdn.com/prophia/U5C5v85ATT-0BVl7/favicon.svg?fit=max\u0026auto=format\u0026n=U5C5v85ATT-0BVl7\u0026q=85\u0026s=7eacea87495b242cb66ef5e6a54ae9c8","dark":"https://mintcdn.com/prophia/U5C5v85ATT-0BVl7/favicon.svg?fit=max\u0026auto=format\u0026n=U5C5v85ATT-0BVl7\u0026q=85\u0026s=7eacea87495b242cb66ef5e6a54ae9c8"},"api":{"playground":{"display":"interactive","proxy":false}},"navbar":{"links":[{"href":"https://app.prophia.com","label":"Sign in"}]},"footer":{"socials":{"website":"https://www.prophia.com"}},"seo":{"metatags":{"canonical":"https://docs.prophia.com"}},"integrations":{"posthog":{"apiKey":"phc_wyQtcLzAHp5CtWuHBKYYXigMWz5pva9HXfUig7T3VmSp","sessionRecording":false}},"contextual":{"options":["copy","view","mcp","add-mcp","cursor","vscode","claude","chatgpt"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"prophia","hasAudioNarration":false,"actualSubdomain":"prophia","customDomains":["docs.prophia.com"],"gitSource":{"type":"github","owner":"prophia-inc","repo":"prophia-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aebdb9191d076e88422a4a3","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"API Reference","count":70},{"language":"default","tag":"Endpoints","count":55},{"language":"default","tag":"Custom Fields","count":12},{"language":"default","tag":"Developers","count":10},{"language":"default","tag":"Data Concepts","count":7},{"language":"default","tag":"Leases","count":7},{"language":"default","tag":"Properties","count":7},{"language":"default","tag":"Prophia MCP Server","count":6},{"language":"default","tag":"Buildings","count":6},{"language":"default","tag":"Documents","count":6}],"searchSettings":{"maxResults":10}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".tag-tables table{min-width:72rem}.tag-tables table :is(th,td):nth-child(1){min-width:17rem}.tag-tables table :is(th,td):nth-child(2){min-width:11rem}.tag-tables table :is(th,td):nth-child(3){min-width:7rem;white-space:nowrap}.tag-tables table :is(th,td):nth-child(4){min-width:14rem}.tag-tables table :is(th,td):nth-child(5){min-width:20rem}.tag-tables table :is(th,td):nth-child(6){min-width:6rem;white-space:nowrap}.tag-tables table :is(th,td):nth-child(7){min-width:10rem}"}],"page":{"pagePath":"api-reference/v2/buildings/get-building","slug":"/api-reference/v2/buildings/get-building","pageMetadata":{"title":"GET Building","description":"Returns a single building by id.\n\n**Required capabilities:** `READ:BUILDING`","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /rest/v2/accounts/{accountId}/buildings/{buildingId}","href":"/api-reference/v2/buildings/get-building","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Returns a single building by id.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Required capabilities:\"\n }), \" \", _jsx(_components.code, {\n children: \"READ:BUILDING\"\n })]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"GET Building","description":"Returns a single building by id.\n\n**Required capabilities:** `READ:BUILDING`","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /rest/v2/accounts/{accountId}/buildings/{buildingId}","href":"/api-reference/v2/buildings/get-building","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Buildings"],"summary":"GET Building","description":"Returns a single building by id.\n\n**Required capabilities:** `READ:BUILDING`","operationId":"getBuilding","parameters":["2872d4df-82df-4fb9-81fa-062b37880454","5fc3234f-1972-48f9-9ec3-cd660082cbd8","6740e371-e139-4435-b7b8-75144777104e"],"responses":{"200":"7cbbeb4c-d845-449c-beca-f8022543db4d","400":"9ede49ea-4521-4f7e-83a1-d7c6e839456c","401":"765d6692-d8bd-4618-bba8-f1ac74e98d93","403":"a16d46f9-417b-48f3-819a-b45a0ac3e294","404":"cbc31fe8-3840-4d20-a936-b346e6fee011"},"method":"get","type":"path","servers":["ac2c6829-ec34-4f73-950d-564389c250a7"],"security":["a4b573e8-9e27-4cda-bbfc-fe4bf588b6a5"],"path":"/rest/v2/accounts/{accountId}/buildings/{buildingId}","baseUrlOptions":["https://api.prophia.com"],"title":"GET Building","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","disableProxy":true},"dependencies":{"parameters":{"2872d4df-82df-4fb9-81fa-062b37880454":{"name":"accountId","in":"path","required":true,"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"5fc3234f-1972-48f9-9ec3-cd660082cbd8":{"name":"buildingId","in":"path","required":true,"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"6740e371-e139-4435-b7b8-75144777104e":{"name":"include","in":"query","description":"Optional collections to populate. Unknown keys are rejected with 400.\n\n- `leases` — adds the list of leases under this building.\n - Requires the `READ:LEASE` capability.\n- `documents` — adds the list of building-level documents (e.g. rent rolls, stacking plans) attached at the building scope.\n - Requires the `READ:DOCUMENT` capability.\n- `spaces` — adds the list of suites/spaces (archived and non-archived) attached to this building.\n - Requires the `READ:BUILDING_SPACE` capability.\n- `customFields` — adds the building's values for its active Building Custom Fields, sorted by field name.\n - Requires the `READ:CUSTOM_FIELD` capability.","required":false,"schema":{"type":"array","items":{"type":"string","enum":["leases","documents","spaces","customFields"],"uniqueKey":"items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":false,"description":"Optional collections to populate. Unknown keys are rejected with 400.\n\n- `leases` — adds the list of leases under this building.\n - Requires the `READ:LEASE` capability.\n- `documents` — adds the list of building-level documents (e.g. rent rolls, stacking plans) attached at the building scope.\n - Requires the `READ:DOCUMENT` capability.\n- `spaces` — adds the list of suites/spaces (archived and non-archived) attached to this building.\n - Requires the `READ:BUILDING_SPACE` capability.\n- `customFields` — adds the building's values for its active Building Custom Fields, sorted by field name.\n - Requires the `READ:CUSTOM_FIELD` capability.","uniqueKey":"","typeLabel":"enum\u003cstring>[]"}}},"responses":{"7cbbeb4c-d845-449c-beca-f8022543db4d":{"description":"OK","content":{"*/*":{"schema":{"type":"object","description":"Representation of a building. All Buildings have one Property association. Multiple Buildings can be associated with the same Property to represent a campus or other multi-building asset.","properties":{"id":{"type":"string","description":"Prophia internal Building ID (UUID)","readOnly":true,"uniqueKey":"id","typeLabel":"string"},"propertyId":{"type":"string","description":"Pointer to the Property this Building is associated with.","readOnly":true,"uniqueKey":"propertyId","typeLabel":"string"},"buildingName":{"type":"string","description":"Display name of the building. Must be unique within the same Property. Can be duplicated with other Buildings in the Account (i.e. Two Properties in the Account can have a Building called 'Building 1').","uniqueKey":"buildingName","typeLabel":"string"},"address":{"type":"object","properties":{"address1":{"type":"string","uniqueKey":"address.address1","typeLabel":"string"},"address2":{"type":"string","uniqueKey":"address.address2","typeLabel":"string"},"city":{"type":"string","uniqueKey":"address.city","typeLabel":"string"},"state":{"type":"string","uniqueKey":"address.state","typeLabel":"string"},"country":{"type":"string","uniqueKey":"address.country","typeLabel":"string"},"zipcode":{"type":"string","uniqueKey":"address.zipcode","typeLabel":"string"}},"description":"Street address of the building.","uniqueKey":"address","typeLabel":"object"},"onboardingStatus":{"type":"string","description":"How far this building has progressed through Prophia's onboarding process. Leases, BuildingSpaces, and Tags are considered incomplete until onboarding completes for the Building.","enum":["NOT_STARTED","INITIAL_SETUP","ONBOARDING_IN_PROGRESS","ONBOARDING_COMPLETE"],"readOnly":true,"uniqueKey":"onboardingStatus","typeLabel":"enum\u003cstring>"},"activeStatus":{"type":"string","description":"Operational state of the building record. An ACTIVE status indicates that the building has been fully onboarded and handed off by the Prophia team. An INACTIVE status indicates a Building that will no longer receive updates to its data and is essentially a purely historical representation of the asset. Other statuses show the Building moving through the systems automated processing states and review points.","enum":["ACTIVE","INACTIVE","WORK_IN_PROGRESS","QA_PENDING","AI_PROCESSED"],"readOnly":true,"uniqueKey":"activeStatus","typeLabel":"enum\u003cstring>"},"customId":{"type":"string","description":"Your external identifier for the building, for cross-referencing with your own systems. Prophia does not rely on this value in any way.","uniqueKey":"customId","typeLabel":"string"},"implementationManager":{"type":"string","description":"Prophia implementation manager responsible for onboarding and reviewing the data in this Building. This is not the account manager.","readOnly":true,"uniqueKey":"implementationManager","typeLabel":"string"},"buildingType":{"type":"string","description":"The Asset type for the Building. This is a subjective reference value only, is not validated, and does not affect data onboarding.","enum":["OFFICE","INDUSTRIAL","RETAIL","MIXED_USE","OTHER","LIFE_SCIENCES","MEDICAL_OFFICE","FLEX"],"uniqueKey":"buildingType","typeLabel":"enum\u003cstring>"},"buildingClass":{"type":"string","description":"Market classification of the building (e.g. A, B, C). This is a subjective reference value only, is not validated, and does not affect data onboarding.","uniqueKey":"buildingClass","typeLabel":"string"},"metroArea":{"type":"string","description":"Metro market the building belongs to (e.g. Seattle Metropolitan Area. This is a subjective reference value only, is not validated, and does not affect data onboarding.","uniqueKey":"metroArea","typeLabel":"string"},"lat":{"type":"number","description":"Latitude in decimal degrees. Derived automatically from the address when the building is created and re-geocoded whenever the address is changed; coordinates cannot be supplied directly. A geocode that fails or returns no match leaves the previously stored coordinates in place, so lat/lng may reflect an earlier address; a building whose address has never geocoded successfully has no coordinates at all.","readOnly":true,"uniqueKey":"lat","typeLabel":"number"},"lng":{"type":"number","description":"Longitude in decimal degrees. Derived alongside lat from the same geocode, and subject to the same staleness caveat.","readOnly":true,"uniqueKey":"lng","typeLabel":"number"},"propertyType":{"type":"string","description":"Whether the parent property holds a single building or multiple.","enum":["MULTI_BUILDING","SINGLE_BUILDING"],"readOnly":true,"uniqueKey":"propertyType","typeLabel":"enum\u003cstring>"},"totalRentableSquareFootage":{"type":"integer","format":"int32","description":"Cached total rentable square footage from the last stacking-plan build; may lag current values while leases are in onboarding. Use the stacking plan for point-in-time occupancy.","readOnly":true,"uniqueKey":"totalRentableSquareFootage","typeLabel":"integer\u003cint32>"},"squareFootageLeased":{"type":"integer","format":"int32","description":"Cached leased square footage from the last stacking-plan build; may lag current values while leases are in onboarding. For a Building Space to count towards leased square footage it must have either an active/commenced lease or a lease with a future commencement date referencing that space. Use the stacking plan for point-in-time occupancy.","readOnly":true,"uniqueKey":"squareFootageLeased","typeLabel":"integer\u003cint32>"},"squareFootageOccupied":{"type":"integer","format":"int32","description":"Cached occupied square footage from the last stacking-plan build; may lag current values while leases are in onboarding. For a Building Space to count towards occupied square footage it must have an active/commenced lease referencing that space.Use the stacking plan for point-in-time occupancy.","readOnly":true,"uniqueKey":"squareFootageOccupied","typeLabel":"integer\u003cint32>"},"squareFootageVacant":{"type":"integer","format":"int32","description":"Cached vacant square footage from the last stacking-plan build; may lag current values while leases are in onboarding. For a Building Space to count towards vacant square footage, it can't have any active/commenced lease referencing that space.Use the stacking plan for point-in-time occupancy.","readOnly":true,"uniqueKey":"squareFootageVacant","typeLabel":"integer\u003cint32>"},"leases":{"type":"array","description":"Leases in this building; only populated when `include=leases` is present as a request parameter.","items":{"type":"object","description":"V2LeaseModel as embedded in a parent response. This position omits tags, documents, subleases. The `include` parameter is one level deep, so they are never populated in this position — fetch the resource directly to request them.","properties":{"id":{"type":"string","description":"Prophia internal Lease ID (UUID).","readOnly":true,"uniqueKey":"leases.items.[INDEX].id","typeLabel":"string"},"accountId":{"type":"string","description":"The Account the Lease is associated with.","readOnly":true,"uniqueKey":"leases.items.[INDEX].accountId","typeLabel":"string"},"propertyId":{"type":"string","description":"The propertyId (UUID) of Property the Lease was uploaded to; usually the property the Lease was initially occupying suites inside of.","readOnly":true,"uniqueKey":"leases.items.[INDEX].propertyId","typeLabel":"string"},"propertyCustomId":{"type":"string","description":"The property's custom external identifier, for cross-referencing with your own systems. This value is purely for external reference and is unused in Prophia's system.","readOnly":true,"uniqueKey":"leases.items.[INDEX].propertyCustomId","typeLabel":"string"},"propertyName":{"type":"string","description":"The name of the Property the Lease was uploaded to.","readOnly":true,"uniqueKey":"leases.items.[INDEX].propertyName","typeLabel":"string"},"buildingId":{"type":"string","description":"The buildingId (UUID) of the Building the Lease was uploaded to.","readOnly":true,"uniqueKey":"leases.items.[INDEX].buildingId","typeLabel":"string"},"buildingCustomId":{"type":"string","description":"The building's custom external identifier, for cross-referencing with your own systems. This value is purely for external reference only and it unused in Prophia's system.","readOnly":true,"uniqueKey":"leases.items.[INDEX].buildingCustomId","typeLabel":"string"},"buildingName":{"type":"string","description":"The name of the Building the Lease was uploaded to.","readOnly":true,"uniqueKey":"leases.items.[INDEX].buildingName","typeLabel":"string"},"buildingType":{"type":"string","description":"Asset type of the lease's building.","enum":["OFFICE","INDUSTRIAL","RETAIL","MIXED_USE","OTHER","LIFE_SCIENCES","MEDICAL_OFFICE","FLEX"],"readOnly":true,"uniqueKey":"leases.items.[INDEX].buildingType","typeLabel":"enum\u003cstring>"},"address":{"type":"object","properties":{"address1":{"type":"string","uniqueKey":"leases.items.[INDEX].address.address1","typeLabel":"string"},"address2":{"type":"string","uniqueKey":"leases.items.[INDEX].address.address2","typeLabel":"string"},"city":{"type":"string","uniqueKey":"leases.items.[INDEX].address.city","typeLabel":"string"},"state":{"type":"string","uniqueKey":"leases.items.[INDEX].address.state","typeLabel":"string"},"country":{"type":"string","uniqueKey":"leases.items.[INDEX].address.country","typeLabel":"string"},"zipcode":{"type":"string","uniqueKey":"leases.items.[INDEX].address.zipcode","typeLabel":"string"}},"description":"Address of the Building the Lease was uploaded to.","readOnly":true,"uniqueKey":"leases.items.[INDEX].address","typeLabel":"object"},"tenantLegalName":{"type":"string","description":"Tenant's legal entity name sourced from the Lease data. Use `dba` for the display name.","readOnly":true,"uniqueKey":"leases.items.[INDEX].tenantLegalName","typeLabel":"string"},"dba":{"type":"string","description":"Tenant's doing-business-as name — the display name used throughout the app.","uniqueKey":"leases.items.[INDEX].dba","typeLabel":"string"},"customId":{"type":"string","description":"Your custom external identifier for the lease, for cross-referencing with your own systems. This value is purely for external reference and is unused in Prophia's system.","uniqueKey":"leases.items.[INDEX].customId","typeLabel":"string"},"url":{"type":"string","description":"Deep link to this Lease in the Prophia web app.","readOnly":true,"uniqueKey":"leases.items.[INDEX].url","typeLabel":"string"},"leaseStatus":{"type":"string","description":"Headline lease state as shown in the app. On this endpoint it is one of `Active`, `Expired`, or `Not Started` — note the spacing and casing — but it is typed as a free-form string rather than an enum, because the same field name carries a wider set on the v0 API, so do not switch on it exhaustively. It is derived, not stored: Prophia recomputes it from the lease's commence and expiration dates against today, so it changes on its own as those dates pass. Pair with `leaseSubStatus` to tell an expired lease from one running month-to-month or one that has been vacated post-expiration.","readOnly":true,"uniqueKey":"leases.items.[INDEX].leaseStatus","typeLabel":"string"},"leaseType":{"type":"string","description":"Classification of the agreement. Some lease types have specialized Tag sets available to them: GSA_OFFICE and RETAIL leases each have unique Tags available for capture that other lease types do not. Changing a lease's type removes those specialized Tags from the UI, APIs, and Reports, but does not delete them — reverting to the matching type brings them back.","enum":["OFFICE","GSA_OFFICE","RETAIL","INDUSTRIAL","STORAGE","LICENSE_AGREEMENT","TELECOM_ANTENNA","PARKING_AGREEMENT","ROOFTOP_SOLAR"],"uniqueKey":"leases.items.[INDEX].leaseType","typeLabel":"enum\u003cstring>"},"leasedFloors":{"type":"string","description":"Floors the lease occupies, as a comma-separated string. Derived rather than captured: each suite in `suiteNumber` is matched to a building space and contributes that space's `floor`, plus any floor named directly on a floor-scoped space. A suite that matches no building space contributes nothing, and a floor in another building is suffixed with `@buildingId` the way cross-building suites are. The order is not stable, and the value is rebuilt when Prophia consolidates the lease's tags — editing a space's `floor` afterwards leaves this stale until the next consolidation.","readOnly":true,"uniqueKey":"leases.items.[INDEX].leasedFloors","typeLabel":"string"},"suiteNumber":{"type":"array","description":"Suites this lease occupies. May include references to Buildings that are not the Lease's direct ancestor when the Lease spans multiple Buildings or has relocated into a new Building in its lifetime.","items":{"type":"object","description":"Reference to space in a Building: one Building Space suiteNumber, an entire floor, the entire Building, or all spaces. `scope` says which of those it is, and `name` carries the label — for `BUILDING` and `ALL` that label is the sentinel `Entire building` or `All spaces` rather than the name of a real Building Space. The `ALL` scope means all suites in the relevant context are referenced: a Tag with `scope: ALL` refers to every suite defined in the suiteNumber tag belonging to that Document or Lease.","properties":{"name":{"type":"string","description":"The space's display name: a suite name that matches `BuildingSpace.suiteNumber` by string (scope SUITE), a floor designation (scope FLOOR), or the sentinels `Entire building` / `All spaces`.","uniqueKey":"leases.items.[INDEX].suiteNumber.items.[INDEX].name","typeLabel":"string"},"buildingId":{"type":"string","description":"Building this entry refers to. Can differ from the parent lease's own Building when a lease spans multiple buildings or has relocated.","uniqueKey":"leases.items.[INDEX].suiteNumber.items.[INDEX].buildingId","typeLabel":"string"},"scope":{"type":"string","description":"Granularity of the reference: SUITE (one suite), FLOOR (a whole floor), BUILDING (the entire building), or ALL (all spaces).","enum":["BUILDING","FLOOR","SUITE","ALL"],"uniqueKey":"leases.items.[INDEX].suiteNumber.items.[INDEX].scope","typeLabel":"enum\u003cstring>"}},"uniqueKey":"leases.items.[INDEX].suiteNumber.items.[INDEX]","typeLabel":"object"},"readOnly":true,"uniqueKey":"leases.items.[INDEX].suiteNumber","typeLabel":"object[]"},"squareFootage":{"type":"integer","format":"int32","description":"Leased square footage.","readOnly":true,"uniqueKey":"leases.items.[INDEX].squareFootage","typeLabel":"integer\u003cint32>"},"commenceDate":{"type":"string","format":"date-time","description":"Lease commencement, as a calendar date (yyyy-MM-dd) with no time zone. See `floatingCommencement` when the date is not yet anchored.","readOnly":true,"uniqueKey":"leases.items.[INDEX].commenceDate","typeLabel":"string\u003cdate-time>"},"expirationDate":{"type":"string","format":"date-time","description":"Lease expiration, as a calendar date (yyyy-MM-dd) with no time zone.","readOnly":true,"uniqueKey":"leases.items.[INDEX].expirationDate","typeLabel":"string\u003cdate-time>"},"leaseScore":{"type":"object","properties":{"score":{"type":"integer","format":"int32","description":"Prophia's complexity score for the lease's extracted record.","uniqueKey":"leases.items.[INDEX].leaseScore.score","typeLabel":"integer\u003cint32>"},"missingMLA":{"type":"boolean","description":"True when no primary Agreement (usually a Main Lease Agreement) document has been identified for the lease.","uniqueKey":"leases.items.[INDEX].leaseScore.missingMLA","typeLabel":"boolean"}},"description":"Prophia's computed Lease complexity score. Takes into account number and type of documents, tag data changes over time, and more.","readOnly":true,"uniqueKey":"leases.items.[INDEX].leaseScore","typeLabel":"object"},"parent":{"type":"object","description":"Parent Lease, present only if this Lease is a sublease.","properties":{"id":{"type":"string","description":"The Lease id (UUID) of the referenced Lease.","uniqueKey":"leases.items.[INDEX].parent.id","typeLabel":"string"},"url":{"type":"string","description":"Deep link to this Lease in the Prophia web app.","uniqueKey":"leases.items.[INDEX].parent.url","typeLabel":"string"},"leaseStatus":{"type":"string","description":"Current [`leaseStatus`](/api-reference/v2/leases/get-lease#response-lease-status) of the referenced lease, when available.","uniqueKey":"leases.items.[INDEX].parent.leaseStatus","typeLabel":"string"},"leaseSubStatus":{"type":"object","description":"Current [`leaseSubStatus`](/api-reference/v2/leases/get-lease#response-lease-sub-status) of the referenced lease, when one applies.","properties":{"status":{"type":"string","description":"The sub-status that currently applies to the lease.","enum":["MONTH_TO_MONTH","YEAR_TO_YEAR","HOLDOVER","VACATED","EXTENDED"],"uniqueKey":"leases.items.[INDEX].parent.leaseSubStatus.status","typeLabel":"enum\u003cstring>"},"startDate":{"type":"string","format":"date-time","description":"Date the lease entered this sub-status, when known.","uniqueKey":"leases.items.[INDEX].parent.leaseSubStatus.startDate","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"leases.items.[INDEX].parent.leaseSubStatus","typeLabel":"object"}},"readOnly":true,"uniqueKey":"leases.items.[INDEX].parent","typeLabel":"object"},"leaseSubStatus":{"type":"object","description":"Refines leaseStatus with the lease's current ongoing state (month-to-month, year-to-year, holdover) or post-expiration transition (vacated, extended). Omitted when none applies.","properties":{"status":{"type":"string","description":"The sub-status that currently applies to the lease.","enum":["MONTH_TO_MONTH","YEAR_TO_YEAR","HOLDOVER","VACATED","EXTENDED"],"uniqueKey":"leases.items.[INDEX].leaseSubStatus.status","typeLabel":"enum\u003cstring>"},"startDate":{"type":"string","format":"date-time","description":"Date the lease entered this sub-status, when known.","uniqueKey":"leases.items.[INDEX].leaseSubStatus.startDate","typeLabel":"string\u003cdate-time>"}},"readOnly":true,"uniqueKey":"leases.items.[INDEX].leaseSubStatus","typeLabel":"object"},"docCompletionStatus":{"type":"string","description":"Doc-completion rollup for the lease summary; `complete` when all Documents in the Lease have `documentStatus=complete`, otherwise `incomplete`.","readOnly":true,"uniqueKey":"leases.items.[INDEX].docCompletionStatus","typeLabel":"string"},"rentType":{"type":"string","description":"Top-level rent classification for the lease (e.g. NNN, Gross). See `opexTaxTypes` for per-space classifications, which fall back to this value.","enum":["Gross","Modified Gross","Single Net","NNN","Net of E","NN","Net","Unknown"],"readOnly":true,"uniqueKey":"leases.items.[INDEX].rentType","typeLabel":"enum\u003cstring>"},"opexTaxTypes":{"type":"array","description":"Per-occupied-space operating-expense / tax type, falling back to rentType when no per-space mapping exists.","items":{"type":"object","description":"Operating-expense / tax recovery classification for a single occupied Building Space. Falls back to the lease-level rentType when no explicit per-space mapping exists.","properties":{"space":{"type":"object","description":"Space (suite/floor) this classification applies to.","properties":{"name":{"type":"string","description":"The space's display name: a suite name that matches `BuildingSpace.suiteNumber` by string (scope SUITE), a floor designation (scope FLOOR), or the sentinels `Entire building` / `All spaces`.","uniqueKey":"leases.items.[INDEX].opexTaxTypes.items.[INDEX].space.name","typeLabel":"string"},"buildingId":{"type":"string","description":"Building this entry refers to. Can differ from the parent lease's own Building when a lease spans multiple buildings or has relocated.","uniqueKey":"leases.items.[INDEX].opexTaxTypes.items.[INDEX].space.buildingId","typeLabel":"string"},"scope":{"type":"string","description":"Granularity of the reference: SUITE (one suite), FLOOR (a whole floor), BUILDING (the entire building), or ALL (all spaces).","enum":["BUILDING","FLOOR","SUITE","ALL"],"uniqueKey":"leases.items.[INDEX].opexTaxTypes.items.[INDEX].space.scope","typeLabel":"enum\u003cstring>"}},"uniqueKey":"leases.items.[INDEX].opexTaxTypes.items.[INDEX].space","typeLabel":"object"},"opexTaxType":{"type":"string","description":"Opex / tax type label (e.g. NNN, Gross). Resolved from the lease's per-space mapping; rentType is used as a fallback.","enum":["Gross","Modified Gross","Single Net","NNN","Net of E","NN","Net","Unknown"],"uniqueKey":"leases.items.[INDEX].opexTaxTypes.items.[INDEX].opexTaxType","typeLabel":"enum\u003cstring>"}},"uniqueKey":"leases.items.[INDEX].opexTaxTypes.items.[INDEX]","typeLabel":"object"},"readOnly":true,"uniqueKey":"leases.items.[INDEX].opexTaxTypes","typeLabel":"object[]"},"floatingCommencement":{"type":"boolean","description":"True when the lease's commencement date is floating (not anchored to a fixed calendar date).","readOnly":true,"uniqueKey":"leases.items.[INDEX].floatingCommencement","typeLabel":"boolean"},"autoRenewalExpirationDates":{"type":"array","description":"Per-space future expiration dates from auto-renewal options; excludes each space's pre-auto-renewal (original) expiration.","items":{"type":"object","description":"Future expiration dates that arise from auto-renewal options on a single space. Excludes the lease's own current expiration date.","properties":{"space":{"type":"object","description":"Space the auto-renewal expirations apply to. The data in this model can be referenced to Building Spaces.","properties":{"name":{"type":"string","description":"The space's display name: a suite name that matches `BuildingSpace.suiteNumber` by string (scope SUITE), a floor designation (scope FLOOR), or the sentinels `Entire building` / `All spaces`.","uniqueKey":"leases.items.[INDEX].autoRenewalExpirationDates.items.[INDEX].space.name","typeLabel":"string"},"buildingId":{"type":"string","description":"Building this entry refers to. Can differ from the parent lease's own Building when a lease spans multiple buildings or has relocated.","uniqueKey":"leases.items.[INDEX].autoRenewalExpirationDates.items.[INDEX].space.buildingId","typeLabel":"string"},"scope":{"type":"string","description":"Granularity of the reference: SUITE (one suite), FLOOR (a whole floor), BUILDING (the entire building), or ALL (all spaces).","enum":["BUILDING","FLOOR","SUITE","ALL"],"uniqueKey":"leases.items.[INDEX].autoRenewalExpirationDates.items.[INDEX].space.scope","typeLabel":"enum\u003cstring>"}},"uniqueKey":"leases.items.[INDEX].autoRenewalExpirationDates.items.[INDEX].space","typeLabel":"object"},"dates":{"type":"array","description":"Ordered list of future expiration dates for the space built from applying captured auto-renewal periods to the Lease's original expiration date.","items":{"type":"string","format":"date-time","uniqueKey":"leases.items.[INDEX].autoRenewalExpirationDates.items.[INDEX].dates.items.[INDEX]","typeLabel":"string\u003cdate-time>"},"uniqueKey":"leases.items.[INDEX].autoRenewalExpirationDates.items.[INDEX].dates","typeLabel":"string\u003cdate-time>[]"}},"uniqueKey":"leases.items.[INDEX].autoRenewalExpirationDates.items.[INDEX]","typeLabel":"object"},"readOnly":true,"uniqueKey":"leases.items.[INDEX].autoRenewalExpirationDates","typeLabel":"object[]"}},"uniqueKey":"leases.items.[INDEX]","typeLabel":"object"},"uniqueKey":"leases","typeLabel":"object[]"},"documents":{"type":"array","description":"Building-level documents (rent rolls, stacking plans); only populated when `include=documents` is present as a request parameter.","items":{"type":"object","description":"Representation of a Lease Document. Each Document belongs to one Lease and cannot be duplicated within a single Lease.","properties":{"id":{"type":"string","description":"Prophia internal Document ID (UUID).","readOnly":true,"uniqueKey":"documents.items.[INDEX].id","typeLabel":"string"},"filename":{"type":"string","description":"Name of the document from your file system. This can not be duplicated for multiple files in the same Lease.","uniqueKey":"documents.items.[INDEX].filename","typeLabel":"string"},"title":{"type":"string","description":"Display title; defaults to the filename when not set.","uniqueKey":"documents.items.[INDEX].title","typeLabel":"string"},"numberOfPages":{"type":"integer","format":"int32","description":"1-based count of pages in the Document.","readOnly":true,"uniqueKey":"documents.items.[INDEX].numberOfPages","typeLabel":"integer\u003cint32>"},"docCategory":{"type":"string","description":"Document classification. Certain Document categories may determine which Tags and in-app features the Document is included in. If left blank, Prophia's AI will inspect the Document and set it accordingly, with a human review to follow. The AI will not overwrite an existing category if one is already set.","enum":["Main Lease Agreement","Extension - Amendment","Expansion - Amendment","Contraction - Amendment","Move - Amendment","Correction - Amendment","New Rights - Amendment","Other - Amendment","Commencement Letter","Work Letter","Lease Abstract","Stacking Plan","Floorplan","Site Plan","Letter of Credit","Letter of Intent","Certificate of Insurance","Notices","Termination Notices","Assignment and Assumption Agreement","Telecom/Antenna Agreement","Storage Agreement","Other","Sublease Agreement","Consent to Sublease","Parking Agreement","Licensing Agreement","Guaranty","Estoppel","Management Office Agreement","Loan Agreement","Letter Agreement","JV Agreement","Closing Document","Purchase \u0026 Sale Agreement","Management Agreement","Brokerage Listing Agreement","Real Estate Tax Bills","Capital Projects","Service Agreement","Subordination, Non-Disturbance and Attornment Agreement","Ground Lease","Memorandum of Lease","Rent Roll"],"uniqueKey":"documents.items.[INDEX].docCategory","typeLabel":"enum\u003cstring>"},"createdAt":{"type":"string","format":"date-time","description":"When the Document was uploaded to Prophia.","readOnly":true,"uniqueKey":"documents.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"documentStatus":{"type":"string","description":"Processing state: `processing` while the document is in Prophia's AI ingestion pipeline, then `incomplete` followed by any account specific statuses (defined by/through our operations team) and ultimately `complete` when the Document has been fully processed. To understand how this plays into the broader onboarding state of the Lease and Building see our understanding onboarding conceptual guide.","readOnly":true,"uniqueKey":"documents.items.[INDEX].documentStatus","typeLabel":"string"},"splitStatus":{"type":"string","description":"Whether this Document was split into parts. `single` is an ordinary Document, `combined` is an original that was split (its data lives on its parts), and `split` is a part cut from an original.","enum":["single","combined","split"],"readOnly":true,"uniqueKey":"documents.items.[INDEX].splitStatus","typeLabel":"enum\u003cstring>"},"originalDocId":{"type":"string","description":"For a part (`splitStatus` = `split`), the ID of the original Document it was cut from. Omitted otherwise.","readOnly":true,"uniqueKey":"documents.items.[INDEX].originalDocId","typeLabel":"string"}},"uniqueKey":"documents.items.[INDEX]","typeLabel":"object"},"readOnly":true,"uniqueKey":"documents","typeLabel":"object[]"},"spaces":{"type":"array","description":"Spaces in this building, archived and non-archived alike; only populated when `include=spaces` is present as a request parameter.","items":{"type":"object","description":"Representation of a space or unit in a Building. Some example uses: a rentable suite, a conference room, storage space, or a full floor.","properties":{"id":{"type":"string","description":"Prophia internal Building Space ID (UUID).","readOnly":true,"uniqueKey":"spaces.items.[INDEX].id","typeLabel":"string"},"buildingId":{"type":"string","description":"The buildingId (UUID) of the Building this space belongs to.","readOnly":true,"uniqueKey":"spaces.items.[INDEX].buildingId","typeLabel":"string"},"floor":{"type":"string","description":"Floor the space sits on. This value primarily affects the grouping of Building Spaces in the Stacking Plan, but also governs which spaces have floor level encumbrances applied to them. For example if a ROFO Tag's offeredSpace component references 'FLOOR1' as its `encumbranceSpaces` value, all spaces having space.floor=1 will show as encumbered in the Stacking Plan.","uniqueKey":"spaces.items.[INDEX].floor","typeLabel":"string"},"suiteNumber":{"type":"string","description":"Canonical name of the space. This is the value that Tag `applicableSpaces` entries match against, by string — renaming it breaks those associations.","uniqueKey":"spaces.items.[INDEX].suiteNumber","typeLabel":"string"},"squareFootage":{"type":"integer","format":"int32","description":"Rentable square footage of the space.","uniqueKey":"spaces.items.[INDEX].squareFootage","typeLabel":"integer\u003cint32>"},"type":{"type":"string","description":"What kind of unit this is. This is a referential value and does not affect how a space operates in the system.","enum":["Office","Retail","Industrial","Storage","Telecom","Parking","Conference Room","Lobby","Elevator","Fitness Center","License Agreement","Management Office","Amenity","Cafe","Bike Storage","Lounge","Other","zSuite"],"uniqueKey":"spaces.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"rentable":{"type":"boolean","description":"Whether the space counts as rentable inventory. If marked as non-rentable, the space and leases associated with it, if you've chosen to continue associating leases with the space, may cease being present in reports like the Rent Roll. Marking a space as non-rentable is normally used in cases like Lobbies, Elevators, and like shared public spaces of the Building that are not eligible to be leased.","uniqueKey":"spaces.items.[INDEX].rentable","typeLabel":"boolean"},"archived":{"type":"boolean","description":"Archived spaces still appear in listings unless filtered with `archived=false`. It's best to archive a Building Space when it is referenced by historical leases but is no longer representative of a discrete space in the Building.","uniqueKey":"spaces.items.[INDEX].archived","typeLabel":"boolean"},"createdAt":{"type":"string","format":"date-time","description":"When the space was created.","readOnly":true,"uniqueKey":"spaces.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","description":"When the space was last modified.","readOnly":true,"uniqueKey":"spaces.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time>"},"occupied":{"type":"boolean","description":"An override value: Allows the space to be marked as occupied, even when lacking an active lease associated with the space. A value of false does not mean that there are no associated active leases, only that the override is not currently marking the space as occupied. Best used for spaces that are not traditionally leased but you still want to show as occupied in the Stacking Plan and count towards occupied square footage statistics.","uniqueKey":"spaces.items.[INDEX].occupied","typeLabel":"boolean"}},"uniqueKey":"spaces.items.[INDEX]","typeLabel":"object"},"readOnly":true,"uniqueKey":"spaces","typeLabel":"object[]"},"customFields":{"type":"array","description":"The Building's values for its active Building Custom Fields as name/value pairs, sorted by field name; only populated when `include=customFields` is present as a request parameter. Manage the fields and assignments themselves through the Custom Fields endpoints.","items":{"type":"object","description":"A Building's value for one of the Account's active Building Custom Fields.","properties":{"name":{"type":"string","description":"The Custom Field's name.","readOnly":true,"uniqueKey":"customFields.items.[INDEX].name","typeLabel":"string"},"value":{"type":"string","description":"The Building's value for the field.","readOnly":true,"uniqueKey":"customFields.items.[INDEX].value","typeLabel":"string"}},"uniqueKey":"customFields.items.[INDEX]","typeLabel":"object"},"readOnly":true,"uniqueKey":"customFields","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","propertyId":"\u003cstring>","buildingName":"\u003cstring>","address":{"address1":"\u003cstring>","address2":"\u003cstring>","city":"\u003cstring>","state":"\u003cstring>","country":"\u003cstring>","zipcode":"\u003cstring>"},"onboardingStatus":"NOT_STARTED","activeStatus":"ACTIVE","customId":"\u003cstring>","implementationManager":"\u003cstring>","buildingType":"OFFICE","buildingClass":"\u003cstring>","metroArea":"\u003cstring>","lat":123,"lng":123,"propertyType":"MULTI_BUILDING","totalRentableSquareFootage":123,"squareFootageLeased":123,"squareFootageOccupied":123,"squareFootageVacant":123,"leases":[{"id":"\u003cstring>","accountId":"\u003cstring>","propertyId":"\u003cstring>","propertyCustomId":"\u003cstring>","propertyName":"\u003cstring>","buildingId":"\u003cstring>","buildingCustomId":"\u003cstring>","buildingName":"\u003cstring>","buildingType":"OFFICE","address":{"address1":"\u003cstring>","address2":"\u003cstring>","city":"\u003cstring>","state":"\u003cstring>","country":"\u003cstring>","zipcode":"\u003cstring>"},"tenantLegalName":"\u003cstring>","dba":"\u003cstring>","customId":"\u003cstring>","url":"\u003cstring>","leaseStatus":"\u003cstring>","leaseType":"OFFICE","leasedFloors":"\u003cstring>","suiteNumber":[{"name":"\u003cstring>","buildingId":"\u003cstring>","scope":"BUILDING"}],"squareFootage":123,"commenceDate":"2023-11-07T05:31:56Z","expirationDate":"2023-11-07T05:31:56Z","leaseScore":{"score":123,"missingMLA":true},"parent":{"id":"\u003cstring>","url":"\u003cstring>","leaseStatus":"\u003cstring>","leaseSubStatus":{"status":"MONTH_TO_MONTH","startDate":"2023-11-07T05:31:56Z"}},"leaseSubStatus":{"status":"MONTH_TO_MONTH","startDate":"2023-11-07T05:31:56Z"},"docCompletionStatus":"\u003cstring>","rentType":"Gross","opexTaxTypes":[{"space":{"name":"\u003cstring>","buildingId":"\u003cstring>","scope":"BUILDING"},"opexTaxType":"Gross"}],"floatingCommencement":true,"autoRenewalExpirationDates":[{"space":{"name":"\u003cstring>","buildingId":"\u003cstring>","scope":"BUILDING"},"dates":["2023-11-07T05:31:56Z"]}]}],"documents":[{"id":"\u003cstring>","filename":"\u003cstring>","title":"\u003cstring>","numberOfPages":123,"docCategory":"Main Lease Agreement","createdAt":"2023-11-07T05:31:56Z","documentStatus":"\u003cstring>","splitStatus":"single","originalDocId":"\u003cstring>"}],"spaces":[{"id":"\u003cstring>","buildingId":"\u003cstring>","floor":"\u003cstring>","suiteNumber":"\u003cstring>","squareFootage":123,"type":"Office","rentable":true,"archived":true,"createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z","occupied":true}],"customFields":[{"name":"\u003cstring>","value":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"9ede49ea-4521-4f7e-83a1-d7c6e839456c":{"description":"Invalid input — for example an unknown `include` key or a malformed parameter value","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Stable error category","example":"Invalid Input","uniqueKey":"error","typeLabel":"string"},"errorCode":{"type":"string","description":"Stable error code suitable for programmatic handling","example":"InvalidInput","uniqueKey":"errorCode","typeLabel":"string"},"message":{"type":"string","description":"Human-readable detail; may aggregate multiple field errors","uniqueKey":"message","typeLabel":"string"},"status":{"type":"string","description":"HTTP status of the response as code and reason phrase, matching the response's own status line","example":"404 NOT_FOUND","uniqueKey":"status","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","description":"When the error was produced, as an ISO-8601 UTC instant","example":"2026-09-02T20:41:03.118Z","uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"},"localizedMessage":{"type":"string","description":"Same text as `message`; present because the body is a serialized exception. Prefer `message`","uniqueKey":"localizedMessage","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"Invalid Input","errorCode":"InvalidInput","message":"Unknown include keys: [bogus]; supported: [tags, documents, subleases]","status":"400 BAD_REQUEST","timestamp":"2026-09-02T20:41:03.118Z","localizedMessage":"Unknown include keys: [bogus]; supported: [tags, documents, subleases]"},"examples":{"Example":{"title":"Example","value":{"error":"Invalid Input","errorCode":"InvalidInput","message":"Unknown include keys: [bogus]; supported: [tags, documents, subleases]","status":"400 BAD_REQUEST","timestamp":"2026-09-02T20:41:03.118Z","localizedMessage":"Unknown include keys: [bogus]; supported: [tags, documents, subleases]"}}},"exampleType":"examples"}},"exampleType":"examples"},"765d6692-d8bd-4618-bba8-f1ac74e98d93":{"description":"The credential was rejected before the request reached the endpoint — for example a JWT was presented where an API key is required. Only `error` is populated on this path","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Stable error category","example":"Invalid Input","uniqueKey":"error","typeLabel":"string"},"errorCode":{"type":"string","description":"Stable error code suitable for programmatic handling","example":"InvalidInput","uniqueKey":"errorCode","typeLabel":"string"},"message":{"type":"string","description":"Human-readable detail; may aggregate multiple field errors","uniqueKey":"message","typeLabel":"string"},"status":{"type":"string","description":"HTTP status of the response as code and reason phrase, matching the response's own status line","example":"404 NOT_FOUND","uniqueKey":"status","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","description":"When the error was produced, as an ISO-8601 UTC instant","example":"2026-09-02T20:41:03.118Z","uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"},"localizedMessage":{"type":"string","description":"Same text as `message`; present because the body is a serialized exception. Prefer `message`","uniqueKey":"localizedMessage","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"JWT authentication is not supported. Use an API key."},"examples":{"Example":{"title":"Example","value":{"error":"JWT authentication is not supported. Use an API key."}}},"exampleType":"examples"}},"exampleType":"examples"},"a16d46f9-417b-48f3-819a-b45a0ac3e294":{"description":"The API key is valid but lacks a required capability, or its building permissions do not cover the requested resource. The message names the missing capabilities only in the former case","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Stable error category","example":"Invalid Input","uniqueKey":"error","typeLabel":"string"},"errorCode":{"type":"string","description":"Stable error code suitable for programmatic handling","example":"InvalidInput","uniqueKey":"errorCode","typeLabel":"string"},"message":{"type":"string","description":"Human-readable detail; may aggregate multiple field errors","uniqueKey":"message","typeLabel":"string"},"status":{"type":"string","description":"HTTP status of the response as code and reason phrase, matching the response's own status line","example":"404 NOT_FOUND","uniqueKey":"status","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","description":"When the error was produced, as an ISO-8601 UTC instant","example":"2026-09-02T20:41:03.118Z","uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"},"localizedMessage":{"type":"string","description":"Same text as `message`; present because the body is a serialized exception. Prefer `message`","uniqueKey":"localizedMessage","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"Access Denied","errorCode":"AccessDenied","message":"Not authorized. Missing capabilities: READ:TAG","status":"403 FORBIDDEN","timestamp":"2026-09-02T20:41:03.118Z","localizedMessage":"Not authorized. Missing capabilities: READ:TAG"},"examples":{"Example":{"title":"Example","value":{"error":"Access Denied","errorCode":"AccessDenied","message":"Not authorized. Missing capabilities: READ:TAG","status":"403 FORBIDDEN","timestamp":"2026-09-02T20:41:03.118Z","localizedMessage":"Not authorized. Missing capabilities: READ:TAG"}}},"exampleType":"examples"}},"exampleType":"examples"},"cbc31fe8-3840-4d20-a936-b346e6fee011":{"description":"No such resource is visible to the account named in the path","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Stable error category","example":"Invalid Input","uniqueKey":"error","typeLabel":"string"},"errorCode":{"type":"string","description":"Stable error code suitable for programmatic handling","example":"InvalidInput","uniqueKey":"errorCode","typeLabel":"string"},"message":{"type":"string","description":"Human-readable detail; may aggregate multiple field errors","uniqueKey":"message","typeLabel":"string"},"status":{"type":"string","description":"HTTP status of the response as code and reason phrase, matching the response's own status line","example":"404 NOT_FOUND","uniqueKey":"status","typeLabel":"string"},"timestamp":{"type":"string","format":"date-time","description":"When the error was produced, as an ISO-8601 UTC instant","example":"2026-09-02T20:41:03.118Z","uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"},"localizedMessage":{"type":"string","description":"Same text as `message`; present because the body is a serialized exception. Prefer `message`","uniqueKey":"localizedMessage","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"Entity Not Found","errorCode":"EntityNotFound","message":"This entity is not found in the system.","status":"404 NOT_FOUND","timestamp":"2026-09-02T20:41:03.118Z","localizedMessage":"This entity is not found in the system."},"examples":{"Example":{"title":"Example","value":{"error":"Entity Not Found","errorCode":"EntityNotFound","message":"This entity is not found in the system.","status":"404 NOT_FOUND","timestamp":"2026-09-02T20:41:03.118Z","localizedMessage":"This entity is not found in the system."}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"a4b573e8-9e27-4cda-bbfc-fe4bf588b6a5":{"apiKey":{"type":"apiKey","description":"Prophia API key — either an account key (grants admin level permissions) or a user key with the REST scope. Send it in the `X-API-Key` header, or equivalently as `Authorization: Bearer \u003capi-key>`. JWTs are rejected on /rest endpoints with 401.","name":"X-API-Key","in":"header","scopes":[],"schemeName":"apiKey"}}},"servers":{"ac2c6829-ec34-4f73-950d-564389c250a7":{"url":"https://api.prophia.com","description":"Prophia API"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","description":"Prophia API key — either an account key (grants admin level permissions) or a user key with the REST scope. Send it in the `X-API-Key` header, or equivalently as `Authorization: Bearer \u003capi-key>`. JWTs are rejected on /rest endpoints with 401.","name":"X-API-Key","in":"header","scopes":[],"schemeName":"apiKey"},"schema":{"title":"X-API-Key","type":"string","description":"Prophia API key — either an account key (grants admin level permissions) or a user key with the REST scope. Send it in the `X-API-Key` header, or equivalently as `Authorization: Bearer \u003capi-key>`. JWTs are rejected on /rest endpoints with 401.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKey","name":"X-API-Key"}],"title":"apiKey"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"prophia","siteName":"Prophia Docs","title":"GET Building - Prophia Docs","navMaps":{"firstHrefInVersion":{"v2":{"href":"/api-reference/v2/buildings/get-building","matchLevel":0},"v1 (deprecated)":{"href":"/api-reference/v1/buildings/get-building","matchLevel":1}},"firstHrefInLanguage":{}},"lastModified":"2026-11-04T18:01:18.877Z","originalFileLocation":"api-reference/v2/buildings/get-building.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Returns a single building by id. Required capabilities: READ:BUILDING\">\u003cmeta data-mint-head name=\"application-name\" content=\"Prophia Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/prophia/gMArIoMD4H40C8Fk/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/prophia/gMArIoMD4H40C8Fk/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/prophia/gMArIoMD4H40C8Fk/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/prophia/gMArIoMD4H40C8Fk/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/prophia/gMArIoMD4H40C8Fk/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/prophia/gMArIoMD4H40C8Fk/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/prophia/gMArIoMD4H40C8Fk/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/prophia/gMArIoMD4H40C8Fk/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/prophia/gMArIoMD4H40C8Fk/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"GET Building - Prophia Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns a single building by id. Required capabilities: READ:BUILDING\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Prophia Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.prophia.com/api-reference/v2/buildings/get-building\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://prophia.mintlify.site/_mintlify/api/og/v2?division=Buildings\u0026amp;title=GET+Building\u0026amp;description=Returns+a+single+building+by+id.%0A%0A**Required+capabilities%3A**+%60READ%3ABUILDING%60\u0026amp;theme=6175b23fcc3ea68b1ad8492b\u0026amp;signature=e6bdb0c1222422ba93c44dfc87c07e3130c70186e6c59bea66be6d9fbccc88c2\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"GET Building - Prophia Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns a single building by id. Required capabilities: READ:BUILDING\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://prophia.mintlify.site/_mintlify/api/og/v2?division=Buildings\u0026amp;title=GET+Building\u0026amp;description=Returns+a+single+building+by+id.%0A%0A**Required+capabilities%3A**+%60READ%3ABUILDING%60\u0026amp;theme=6175b23fcc3ea68b1ad8492b\u0026amp;signature=e6bdb0c1222422ba93c44dfc87c07e3130c70186e6c59bea66be6d9fbccc88c2\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/prophia/gMArIoMD4H40C8Fk/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Prophia Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#017768\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.prophia.com/api-reference/v2/buildings/get-building\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/v2/buildings/get-building.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.prophia.com/#organization\",\"name\":\"Prophia Docs\",\"url\":\"https://docs.prophia.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/prophia/D5w3N4ZrYouJq2j1/images/ProphiaBrand_Primary-Logo-ForDarkBG-TealAccent.png?fit=max\u0026auto=format\u0026n=D5w3N4ZrYouJq2j1\u0026q=85\u0026s=dc3bd897dc4e1f0320f0ee18d0bab7bb\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.prophia.com#website\",\"name\":\"Prophia Docs\",\"url\":\"https://docs.prophia.com\",\"publisher\":{\"@id\":\"https://docs.prophia.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.prophia.com/api-reference/v2/buildings/get-building#webpage\",\"url\":\"https://docs.prophia.com/api-reference/v2/buildings/get-building\",\"name\":\"GET Building\",\"description\":\"Returns a single building by id. Required capabilities: READ:BUILDING\",\"dateModified\":\"2026-11-04T18:01:18.877Z\",\"isPartOf\":{\"@id\":\"https://docs.prophia.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.prophia.com/api-reference/v2/buildings/get-building#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.prophia.com/api-reference/v2/buildings/get-building#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.prophia.com/api-reference/v2/accounts/list-account\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Buildings\",\"item\":\"https://docs.prophia.com/api-reference/v2/buildings/list-building\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"GET Building\",\"item\":\"https://docs.prophia.com/api-reference/v2/buildings/get-building\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.prophia.com/api-reference/v2/buildings/get-building#apireference\",\"headline\":\"GET Building\",\"name\":\"GET Building\",\"description\":\"Returns a single building by id. Required capabilities: READ:BUILDING\",\"url\":\"https://docs.prophia.com/api-reference/v2/buildings/get-building\",\"mainEntityOfPage\":{\"@id\":\"https://docs.prophia.com/api-reference/v2/buildings/get-building#webpage\"},\"dateModified\":\"2026-11-04T18:01:18.877Z\",\"publisher\":{\"@id\":\"https://docs.prophia.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.prophia.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Prophia Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Prophia Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/v2/buildings/get-building.md","siteName":"Prophia Docs","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"Developers","pages":[{"title":"Developers","href":"/developers/overview"}]},{"tab":"API Reference","versions":[{"version":"v2","default":true,"groups":[{"group":"Getting Started","pages":[{"title":"API Introduction","href":"/api-reference/v2/introduction"}]},{"group":"API Mechanisms","pages":[{"title":"Includes","href":"/api-reference/v2/concepts/includes"},{"title":"Pagination, sorting, and filtering","href":"/api-reference/v2/concepts/pagination-and-filtering"},{"title":"Errors and permissions","href":"/api-reference/v2/concepts/errors-and-permissions"}]},{"group":"Data Concepts","pages":[{"title":"Data model","href":"/api-reference/v2/concepts/data-model"},{"title":"Leases","href":"/api-reference/v2/concepts/leases"},{"title":"Documents","href":"/api-reference/v2/concepts/documents"},{"group":"Tags","pages":[{"title":"Tags and tag values","href":"/api-reference/v2/concepts/tags-and-values"},{"title":"Tag reference","href":"/api-reference/v2/concepts/tag-reference"}]},{"title":"Spaces, applicable spaces, and encumbrances","href":"/api-reference/v2/concepts/spaces-and-encumbrances"},{"title":"Understanding onboarding","href":"/api-reference/v2/concepts/onboarding"}]},{"group":"Endpoints","pages":[{"group":"Accounts","pages":[{"title":"LIST Account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /rest/v2/accounts","href":"/api-reference/v2/accounts/list-account"},{"title":"GET Account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /rest/v2/accounts/{accountId}","href":"/api-reference/v2/accounts/get-account"},{"title":"LIST Leases Recently Updated","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /rest/v2/accounts/{accountId}/recent_changed_leases","href":"/api-reference/v2/accounts/list-leases-recently-updated"}]},{"group":"Properties","pages":[{"title":"LIST Property","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /rest/v2/accounts/{accountId}/properties","href":"/api-reference/v2/properties/list-property"},{"title":"GET Property","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /rest/v2/accounts/{accountId}/properties/{propertyId}","href":"/api-reference/v2/properties/get-property"},{"title":"LIST Building","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /rest/v2/accounts/{accountId}/properties/{propertyId}/buildings","href":"/api-reference/v2/properties/list-building"},{"title":"LIST Lease","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /rest/v2/accounts/{accountId}/properties/{propertyId}/leases","href":"/api-reference/v2/properties/list-lease"},{"title":"CREATE Property","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /rest/v2/accounts/{accountId}/properties","href":"/api-reference/v2/properties/create-property"},{"title":"UPDATE Property","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /rest/v2/accounts/{accountId}/properties/{propertyId}","href":"/api-reference/v2/properties/update-property"}]},{"group":"Buildings","pages":[{"title":"LIST Building","description":"Returns a paged list of the Account's Buildings\n\n**Required capabilities:** `READ:BUILDING`","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /rest/v2/accounts/{accountId}/buildings","href":"/api-reference/v2/buildings/list-building"},{"title":"GET Building","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /rest/v2/accounts/{accountId}/buildings/{buildingId}","href":"/api-reference/v2/buildings/get-building"},{"title":"LIST Lease","description":"Returns a paged list of the Building's Leases.\n\n**Required capabilities:** `READ:LEASE`","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /rest/v2/accounts/{accountId}/buildings/{buildingId}/leases","href":"/api-reference/v2/buildings/list-lease"},{"title":"CREATE Building","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /rest/v2/accounts/{accountId}/buildings","href":"/api-reference/v2/buildings/create-building"},{"title":"UPDATE Building","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /rest/v2/accounts/{accountId}/buildings/{buildingId}","href":"/api-reference/v2/buildings/update-building"}]},{"group":"Building Spaces","pages":[{"title":"LIST Building Space","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /rest/v2/accounts/{accountId}/buildings/{buildingId}/spaces","href":"/api-reference/v2/building-spaces/list-building-space"},{"title":"GET Building Space","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /rest/v2/accounts/{accountId}/buildings/{buildingId}/spaces/{spaceId}","href":"/api-reference/v2/building-spaces/get-building-space"},{"title":"CREATE Building Space","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /rest/v2/accounts/{accountId}/buildings/{buildingId}/spaces","href":"/api-reference/v2/building-spaces/create-building-space"},{"title":"UPDATE Building Space","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /rest/v2/accounts/{accountId}/buildings/{buildingId}/spaces/{spaceId}","href":"/api-reference/v2/building-spaces/update-building-space"},{"title":"Delete a building space","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /rest/v2/accounts/{accountId}/buildings/{buildingId}/spaces/{spaceId}","href":"/api-reference/v2/building-spaces/delete-a-building-space"}]},{"group":"Leases","pages":[{"title":"GET Lease","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /rest/v2/accounts/{accountId}/leases/{leaseId}","href":"/api-reference/v2/leases/get-lease"},{"title":"LIST Document","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /rest/v2/accounts/{accountId}/leases/{leaseId}/docs","href":"/api-reference/v2/leases/list-document"},{"title":"LIST Tag","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /rest/v2/accounts/{accountId}/leases/{leaseId}/tags","href":"/api-reference/v2/leases/list-tag"},{"title":"LIST Raw Tag","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /rest/v2/accounts/{accountId}/leases/{leaseId}/tags/raw","href":"/api-reference/v2/leases/list-raw-tag"},{"title":"CREATE Lease","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /rest/v2/accounts/{accountId}/leases","href":"/api-reference/v2/leases/create-lease"},{"title":"UPDATE Lease","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /rest/v2/accounts/{accountId}/leases/{leaseId}","href":"/api-reference/v2/leases/update-lease"}]},{"group":"Documents","pages":[{"title":"LIST Page","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /rest/v2/accounts/{accountId}/docs/{leaseDocId}/pages","href":"/api-reference/v2/documents/list-page"},{"title":"LIST Tag","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /rest/v2/accounts/{accountId}/docs/{leaseDocId}/tags","href":"/api-reference/v2/documents/list-tag"},{"title":"LIST Raw Tag","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /rest/v2/accounts/{accountId}/docs/{leaseDocId}/tags/raw","href":"/api-reference/v2/documents/list-raw-tag"},{"title":"CREATE Document via URL","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /rest/v2/accounts/{accountId}/docs","href":"/api-reference/v2/documents/create-document-via-url"},{"title":"CREATE Document via Upload","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /rest/v2/accounts/{accountId}/docs/upload","href":"/api-reference/v2/documents/create-document-via-upload"},{"title":"UPDATE Document","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /rest/v2/accounts/{accountId}/docs/{leaseDocId}","href":"/api-reference/v2/documents/update-document"}]},{"group":"Tags","pages":[{"title":"GET Tag","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /rest/v2/accounts/{accountId}/tags/{tagId}","href":"/api-reference/v2/tags/get-tag"},{"title":"GET Raw Tag","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /rest/v2/accounts/{accountId}/tags/{tagId}/raw","href":"/api-reference/v2/tags/get-raw-tag"}]},{"group":"Custom Terms","pages":[{"title":"LIST Custom Term Definition","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /rest/v2/accounts/{accountId}/custom-terms","href":"/api-reference/v2/custom-terms/list-custom-term-definition"},{"title":"GET Custom Term Definition","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /rest/v2/accounts/{accountId}/custom-terms/{customTermId}","href":"/api-reference/v2/custom-terms/get-custom-term-definition"},{"title":"CREATE Custom Term Definition","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /rest/v2/accounts/{accountId}/custom-terms","href":"/api-reference/v2/custom-terms/create-custom-term-definition"},{"title":"UPDATE Custom Term Definition","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /rest/v2/accounts/{accountId}/custom-terms/{customTermId}","href":"/api-reference/v2/custom-terms/update-custom-term-definition"},{"title":"DELETE Custom Term Definition","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /rest/v2/accounts/{accountId}/custom-terms/{customTermId}","href":"/api-reference/v2/custom-terms/delete-custom-term-definition"}]},{"group":"Custom Fields","pages":[{"title":"LIST Custom Field","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /rest/v2/accounts/{accountId}/custom-fields","href":"/api-reference/v2/custom-fields/list-custom-field"},{"title":"GET Custom Field","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /rest/v2/accounts/{accountId}/custom-fields/{fieldId}","href":"/api-reference/v2/custom-fields/get-custom-field"},{"title":"LIST Custom Field Option","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /rest/v2/accounts/{accountId}/custom-fields/{fieldId}/options","href":"/api-reference/v2/custom-fields/list-custom-field-option"},{"title":"GET Custom Field Option","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /rest/v2/accounts/{accountId}/custom-fields/{fieldId}/options/{optionId}","href":"/api-reference/v2/custom-fields/get-custom-field-option"},{"title":"CREATE Custom Field","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /rest/v2/accounts/{accountId}/custom-fields","href":"/api-reference/v2/custom-fields/create-custom-field"},{"title":"CREATE Custom Field Assignment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /rest/v2/accounts/{accountId}/custom-fields/{fieldId}/assignments","href":"/api-reference/v2/custom-fields/create-custom-field-assignment"},{"title":"CREATE Custom Field Option","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /rest/v2/accounts/{accountId}/custom-fields/{fieldId}/options","href":"/api-reference/v2/custom-fields/create-custom-field-option"},{"title":"UPDATE Custom Field","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /rest/v2/accounts/{accountId}/custom-fields/{fieldId}","href":"/api-reference/v2/custom-fields/update-custom-field"},{"title":"UPDATE Custom Field Option","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /rest/v2/accounts/{accountId}/custom-fields/{fieldId}/options/{optionId}","href":"/api-reference/v2/custom-fields/update-custom-field-option"},{"title":"DELETE Custom Field","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /rest/v2/accounts/{accountId}/custom-fields/{fieldId}","href":"/api-reference/v2/custom-fields/delete-custom-field"},{"title":"DELETE Custom Field Assignment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /rest/v2/accounts/{accountId}/custom-fields/{fieldId}/assignments/{buildingId}","href":"/api-reference/v2/custom-fields/delete-custom-field-assignment"},{"title":"DELETE Custom Field Option","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /rest/v2/accounts/{accountId}/custom-fields/{fieldId}/options/{optionId}","href":"/api-reference/v2/custom-fields/delete-custom-field-option"}]}]},{"group":"Beta","pages":[{"title":"Beta endpoints","href":"/api-reference/v2/beta"},{"group":"Loans","pages":[{"title":"LIST Loan","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /rest/v2/accounts/{accountId}/loans","href":"/api-reference/v2/loans/list-loan"},{"title":"GET Loan","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /rest/v2/accounts/{accountId}/loans/{loanId}","href":"/api-reference/v2/loans/get-loan"}]}]}]},{"version":"v1 (deprecated)","pages":[{"title":"v1 (deprecated)","href":"/api-reference/v1/buildings/get-building"}]}]}]},"basePath":"","title":"GET Building - Prophia Docs","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DdEMm2kG.js","utils-BMo572L7.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C-4m9KAx.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DPLK2Oq9.js","snippetPresets-BKjfJMC9.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DTsgtCEj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C8vmhyQM.js","shallow-r9w8LQGS.js","getApiPlaygroundDisplay-DjPI64HQ.js","CodeSnippet-C8Bvhl16.js","CodeSnippets-BtWUwcMy.js","Page-BIYvYBgk.js","getPastedJson-Dcm_3Pgl.js","icon-BXwrTpjc.js","MethodPill-CcjfVmmy.js","DuplicateIcon-BuKIbXAQ.js","createIcon-DaL9yXsO.js","DynamicMarkdown-Co5nikxh.js","SectionHeading-P4UNTsMZ.js","axios-vUo_bRtp.js","Markdown-CEfymfIH.js","clsx-Dq9TQuNi.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-D2J8knkn.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BgZ2ThuU.js"]}