When to use it
How it works
Say your project has three schemas: Invoice, Bank Statement and Job Contract. You upload a parking ticket.Turn it on in the app
1
Edit the AI Schema
Open a processed file and adjust its AI Schema if needed. See AI Schemas.
2
Verify the AI Schema
At the upper right of the file, open the Verify AI Schema dropdown and confirm. You can also rename the schema here.
3
Check your verified schemas
Go to File Intelligence → Extraction Schema to see every schema you have verified.
4
Lock
In the Extraction Schema tab, turn on the Schema Locked toggle at the upper right. From now on, uploaded files are classified only into these schemas.
Set it per upload
Over the API, schema locking is a per-upload boolean,schemaLocking. Send it when you request the upload:
defaults; see Upload options. A value other than true or false is rejected. There is no project-wide API setting: PATCH /v1/project/setting does not accept schemaLocking, so the project toggle is app-only.
Best practices
- Start unlocked. Let fileAI discover your document types, and approve the ones you want.
- Lock once your core types are stable. Clean up duplicate or unused schemas first.
- Unlock temporarily when you know new document types are coming, then lock again.
- Write down your approved schemas so your team knows which types exist and when locking may be lifted.
Related
AI Schemas
File types, schemas and the API to manage them.
Uploads
All upload options, including
schemaLocking and blueprintId.