> ## Documentation Index
> Fetch the complete documentation index at: https://docs.spacebaseapp.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AI Lease Abstraction

> Extract key lease details from uploaded documents and import them into a lease record.

AI Lease Abstraction reads your uploaded lease documents and extracts the key details — dates, contacts, rent schedules, options, and more — into a structured draft you can review and import. It speeds up the same data entry covered in [Lease Abstraction](/leases/abstraction): the AI proposes the values, and you decide what to import.

## Before you start

Upload your lease documents to the lease record first. Spacebase processes each file automatically so the AI can read it.

Supported file types:

* PDF (`.pdf`)
* Word (`.docx`)
* PowerPoint (`.pptx`)
* Markdown (`.md`, `.markdown`)
* Plain text (`.txt`)

## Run an extraction

<Steps>
  <Step title="Open the AI Abstraction tab">
    Open the lease and click **Edit** to enter the abstract view, then select the **AI Abstraction** tab in the sidebar menu. The tab appears only when AI is enabled for your account — see [Getting access](/ai#getting-access).
  </Step>

  <Step title="Run the extraction">
    Click **Run AI Extraction**. Spacebase reads the lease documents and extracts the key details into a draft. Each run is saved as a version.
  </Step>

  <Step title="Review the extracted data">
    The results are grouped into sections that mirror a lease record:

    * Lease Basics
    * Critical Dates
    * Address
    * Contacts
    * Areas
    * Expense Schedules
    * Options
    * Deposits
    * TI Allowances
    * Termination Notice

    Each extracted value includes a citation linking to its page in the source document, and a built-in PDF viewer shows the document alongside the results so you can confirm accuracy.
  </Step>

  <Step title="Import what you need">
    In each section, click **Import Data** to write the extracted values into the lease record. Review every section before publishing the lease.
  </Step>
</Steps>

## Extraction versions

Every successful extraction is saved automatically in the **Extraction Versions** panel. Run the extraction again after adding documents or amendments, then switch between runs with **Use this version**. Delete versions you no longer need.

## Lease file ingestion

Spacebase processes (ingests) each lease file you upload so it can be searched and abstracted. On the **Files** tab, each file shows a status icon — hover it to see the current ingestion stage. If a file fails to process, re-trigger ingestion from the file list.

<Tip>
  AI Lease Abstraction handles the first pass of data entry. You stay in control: review each section and import only the values you want before publishing the lease.
</Tip>
