Getting Started

Welcome to Vault! follow thse steps to get started with the Vault API:

1. Create an account

You can create an account at https://app.legislate.ai or contact us at [email protected] so that we can do this for you.

2. Request a Vault API key

You will then need an API key to get started with the Vault API. You can obtain one by reaching out to [email protected]

3. Create your first Vault

In order to process documents, you will need to specify the Vault they'll be submitted to. You may for example wish to have a Vault for HR agreements and a Vault for your supplier agreements.

You can either create a Vault team from the web app and use the Vault ID in the URL or alternatively, you can use the Create Vault endpoint to create your first Vault.


4. Submit a document

Submit the document you'd like to process using the Vault endpoint.


5. Wait for the predictions to process

The analysis of a document will take a couple of seconds depending on the complexity and size of the document. You can use the status endpoint to check on the status of a document.

πŸ“˜

Document processing status

A document being processed by Vault will either be IN_PROGRESS or COMPLETED

πŸ‘

Submitting multiple files to Vault

You can submit multiple files to Vault in which case they will be queued and processed seperately by the model.

5. Review the predictions

You can review the predictions via the Json response or alternatively you can log in to the web app to review them via a user interface.

A screenshot of the Vault web app

Review Vault predictions via the TextMine User Interface


What’s Next

Learn more about Vault concepts or check out the introduction to our API reference