Skip to main content
GET
GET Lease

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
leaseId
string
required

Query Parameters

include
enum<string>[]

Optional collections to populate. Note: combining tags and documents on a heavily-tagged lease can produce a very large response — prefer requesting one at a time. Unknown keys are rejected with 400.

  • tags — adds the consolidated DocTag list extracted from this lease's documents (rent, options, dates, etc.).
    • Requires the READ:TAG capability.
  • documents — adds per-document page geometry keyed by leaseDocId, for resolving tagSelections[].docPageId references.
    • Requires the READ:DOCUMENT capability.
  • subleases — adds the list of subleases of this lease as lightweight refs (id, url, current leaseStatus and leaseSubStatus); empty when the lease has no subleases.
Available options:
tags,
documents,
subleases

Response

OK

Representation of a single Lease. A Lease is directly associated with one Building, denoted by its buildingId reference. A Lease's current active residence can be in one or more Buildings, which may or may not be its original Building reference - inspect the suiteNumber field to understand which BuildingSpaces in which Buildings the Lease is currently active in.

id
string
read-only

Prophia internal Lease ID (UUID).

accountId
string
read-only

The Account the Lease is associated with.

propertyId
string
read-only

The propertyId (UUID) of Property the Lease was uploaded to; usually the property the Lease was initially occupying suites inside of.

propertyCustomId
string
read-only

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.

propertyName
string
read-only

The name of the Property the Lease was uploaded to.

buildingId
string
read-only

The buildingId (UUID) of the Building the Lease was uploaded to.

buildingCustomId
string
read-only

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.

buildingName
string
read-only

The name of the Building the Lease was uploaded to.

buildingType
enum<string>
read-only

Asset type of the lease's building.

Available options:
OFFICE,
INDUSTRIAL,
RETAIL,
MIXED_USE,
OTHER,
LIFE_SCIENCES,
MEDICAL_OFFICE,
FLEX
address
object
read-only

Address of the Building the Lease was uploaded to.

Tenant's legal entity name sourced from the Lease data. Use dba for the display name.

dba
string

Tenant's doing-business-as name — the display name used throughout the app.

customId
string

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.

url
string
read-only

Deep link to this Lease in the Prophia web app.

leaseStatus
string
read-only

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.

leaseType
enum<string>

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.

Available options:
OFFICE,
GSA_OFFICE,
RETAIL,
INDUSTRIAL,
STORAGE,
LICENSE_AGREEMENT,
TELECOM_ANTENNA,
PARKING_AGREEMENT,
ROOFTOP_SOLAR
leasedFloors
string
read-only

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.

suiteNumber
object[]
read-only

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.

squareFootage
integer<int32>
read-only

Leased square footage.

commenceDate
string<date-time>
read-only

Lease commencement, as a calendar date (yyyy-MM-dd) with no time zone. See floatingCommencement when the date is not yet anchored.

expirationDate
string<date-time>
read-only

Lease expiration, as a calendar date (yyyy-MM-dd) with no time zone.

tags
object[]

The lease's extracted terms; only populated when include=tags is present in the request parameters. Filtered based the lease's current leaseType. Each tag appears once. A tag's applicableSpaces lists the suites it applies to in the lease's consolidated per-space view (a space-dependent term captured without suites applies to every space) and is omitted for space-independent terms. Lease-level values (commencement, expiration, square footage, suites) are on the lease's top-level fields.

documents
object
read-only

Per-document page geometry keyed by leaseDocId, for resolving tag citations; only populated when include=documents is present in the request parameters.

leaseScore
object
read-only

Prophia's computed Lease complexity score. Takes into account number and type of documents, tag data changes over time, and more.

parent
object
read-only

Parent Lease, present only if this Lease is a sublease.

leaseSubStatus
object
read-only

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.

docCompletionStatus
string
read-only

Doc-completion rollup for the lease summary; complete when all Documents in the Lease have documentStatus=complete, otherwise incomplete.

rentType
enum<string>
read-only

Top-level rent classification for the lease (e.g. NNN, Gross). See opexTaxTypes for per-space classifications, which fall back to this value.

Available options:
Gross,
Modified Gross,
Single Net,
NNN,
Net of E,
NN,
Net,
Unknown
opexTaxTypes
object[]
read-only

Per-occupied-space operating-expense / tax type, falling back to rentType when no per-space mapping exists.

floatingCommencement
boolean
read-only

True when the lease's commencement date is floating (not anchored to a fixed calendar date).

autoRenewalExpirationDates
object[]
read-only

Per-space future expiration dates from auto-renewal options; excludes each space's pre-auto-renewal (original) expiration.

subleases
object[]
read-only

Subleases under this Lease, only populated when the include=subleases is present in the request parameters.