Quickstart
Upload borrower documents, read the credit assessment, and generate a memo.
Kita extracts and analyzes documents. Your lending team makes the credit decision.
1. Set your API key
Open AI Underwriter → Settings → API keys and create a key with read and write permissions.
Keep it server-side, never in browser or mobile code.
2. Create an application and upload a file
Set loan_type to your configured loan product. Keep the request under 4.5 MB;
upload larger packages one file at a time.
A new application returns 201 with the application in data and uploaded files
in data.documents. Save data.id:
Reusing external_ref returns the existing application (200) and skips the
files. Add files later with the upload endpoint.
3. Check documents and read the assessment
Documents process asynchronously: poll while files are awaiting or processing;
low_confidence needs review. Credit results update as documents process and are
null when unavailable. See polling and statuses.
4. Generate and retrieve a memo
Generation returns 202. Poll status until synthesis_in_progress is false,
then check last_run_status; a failed run is not a completed memo. Then read the sections:
Each data.sections[].body keeps its JSON structure (object, string, array, or null)
with citation markers removed. For a rendered document, use the memo PDF export.


