Create a vault
Create a Contract Intelligence vault. The caller becomes its owner, and the vault starts access-controlled, so nobody else can see it until you add members or turn access control off.
A vault created here skips guided setup and is ready for documents right away: upload with POST /vaults/{id}/documents, add columns with POST /vaults/{id}/columns, and read the extracted table from GET /vaults/{id}/documents. In the app a vault waits in guided setup, and documents added meanwhile are stored but not scanned. There is no guided setup over the API, so this endpoint finishes setup as it creates the vault and every upload is scanned as it arrives.
Creating a vault needs the organization-level permission to create vaults, which an organization admin grants. Vault names do not have to be unique.
Requires a user-scoped API key (u:gcai_...). A vault is shared with named people, so an organization-scoped key has no identity to resolve vault access with.
Request
- Base URLhttps://app.gc.ai/api/external/v1
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"name": "Vendor SaaS agreements"
}Response
The created vault
Example response
{
"name": "Vendor SaaS agreements"
}Changes
No recorded changes to this operation across all 1 revision of this API.