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

# Use the contract library

> Upload, search and manage your firm's documents in Orbid AI: file types, size limit, what each status means and how long files are kept.

The **Orbid AI** file library (page title: Contract library) stores your firm's DOCX, DOC, PDF, TXT and MD precedents up to 50 MB each so lawyers can search clauses across languages and reuse them in drafting.

## Before you start

* Documents you may share inside your firm.
* Orbid removes personal details from uploads, but you should still check the results.

## How do I upload?

**1. Open the library**

Open **File library** in the sidebar. The page title is Contract library.

**2. Upload**

Select **Upload**, then **Choose files** or **Choose folder**.

**3. Choose whether to keep the original**

**Keep the original file** is on by default. Only you and administrators can open the original.

![Orbid AI: Contract library upload dialog showing 'Choose files' and 'Choose folder' buttons, document type and language selectors and the checked 'Keep the original file' option; firm 'Example Legal LLP'](https://mintcdn.com/startosphere/wvTz78QGtc9uEOWn/images/screenshots/en/library-upload-dialog.png?fit=max\&auto=format\&n=wvTz78QGtc9uEOWn\&q=85\&s=b82c83a1a7f8127e54d1999cc953f7da)

Upload firm files or folders and choose whether to keep original files

**4. Wait until it is Ready**

Orbid reads each file and splits it into clauses. Only documents that are Ready can be searched.

![Orbid AI: Contract library list with five documents showing the statuses Queued, Parsing, Needs review, Ready and Failed; firm 'Example Legal LLP'](https://mintcdn.com/startosphere/wvTz78QGtc9uEOWn/images/screenshots/en/library-document-list.png?fit=max\&auto=format\&n=wvTz78QGtc9uEOWn\&q=85\&s=e977e562b212294a814ebb0c789a5d40)

Track contract library processing statuses from Queued to Ready

| Item | Limit |
| - | - |
| File types | DOCX, DOC, PDF, TXT, MD |
| Size of one file | 50 MB |

Unsupported or too large files are skipped. If a file is already in the library, Orbid says "Already in the library".

## What do the statuses mean?

| Status | Meaning |
| - | - |
| Queued | Waiting its turn |
| Parsing | Orbid is reading the file |
| Desensitizing | Personal details are being removed |
| Classifying | Orbid is working out the document type |
| Needs review | A person must check it |
| Ready | You can search its clauses |
| Failed | It did not work |

## How do I search?

Select **Search clauses**. Describe the clause you need, in any language. You can also pick a clause type. No result does not prove that nothing relevant exists.

![Orbid AI: Contract library 'Search clauses' tab showing a multilingual clause search query, clause-type filter and matched precedent excerpts; firm 'Example Legal LLP'](https://mintcdn.com/startosphere/n5PNQ6tv_d4yWapa/images/screenshots/en/library-clause-search.webp?fit=max\&auto=format\&n=n5PNQ6tv_d4yWapa\&q=85\&s=9bd46e38436ffd11c074837d292ac676)

![Orbid AI: Contract library 'Search clauses' tab showing a multilingual clause search query, clause-type filter and matched precedent excerpts; firm 'Example Legal LLP'](https://mintcdn.com/startosphere/wvTz78QGtc9uEOWn/images/screenshots/en/library-clause-search.png?fit=max\&auto=format\&n=wvTz78QGtc9uEOWn\&q=85\&s=51e608adab531c8ed4c43b9c4532da92)

Search firm precedents across languages and filter by clause type

## Can I save a delivered file to the library?

Yes. On a delivered file, select **Save to contract library**. Only delivered contracts can be saved. The matter stays unchanged. You can save up to 20 files at once.

## How long are files kept?

Only firm administrators can change how long documents are kept.

* Choose to keep documents for 1, 2, 3, 5, 7 or 10 years, or **Indefinitely**.
* The time is counted from the day a document was uploaded, or from the last time it was used in drafting.
* Before you save, a preview shows how many documents will be deleted.
* Deletion runs overnight. Deleted documents cannot be brought back.
* Licensed documents are not affected.

![Orbid AI: Contract library 'Manage' tab showing the retention period selector (1 to 10 years or Indefinitely) and the overnight deletion preview count; firm 'Example Legal LLP'](https://mintcdn.com/startosphere/wvTz78QGtc9uEOWn/images/screenshots/en/library-retention-policy.png?fit=max\&auto=format\&n=wvTz78QGtc9uEOWn\&q=85\&s=77525f5d0909b3611afd382a9c01005f)

Configure document retention periods and preview scheduled deletions

## If something goes wrong

| What you see | What to do |
| - | - |
| Status “Failed” | Upload the file again, or try another copy. |
| Status “Needs review” | Open it and finish the review. |
| “Skipped (unsupported type or over 50 MB)” | Convert or shrink the file. |
| You cannot download the original | Only the uploader and administrators can. Ask one of them. |

## Related

> [card] [Matter workbench](https://docs.orbidlegal.com/law-firms/matter-workspace.md)
>
> Use library clauses in your work.

> [card] [Team and roles](https://docs.orbidlegal.com/admin/team-and-roles.md)
>
> Control who manages the library.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.