AI UnderwriterAPI reference

Memo

Generate, read and export the cited credit memo.

Read the memo

GET /applications/{id}/memo

Returns memo sections in order. API bodies have dashboard-only citation markers stripped.

GET/applications/{id}/memo

curl

curl -X GET "https://underwriter.kita.ai/api/v1/applications/{id}/memo" \
  -H "Authorization: ApiKey $KITA_UW_API_KEY"

Path parameters

FieldTypeDescription
idrequiredstringApplication UUID or human `app_id`, for example `APP-1042`.

Response · 200

FieldTypeDescription
dataobject[]
  data[].section_numberinteger
  data[].titlestring
  data[].bodystring

Errors

FieldTypeDescription
401errorInvalid API key.
404errorNot found, or belongs to another organization.

Generate the credit memo

POST /applications/{id}/memo

Promotes verified extractions into memo tables, refreshes deterministic metrics and policy routing on a best-effort basis, and synthesizes the cited credit memo inline.

Poll GET /applications/{id}/memo/status until synthesis_in_progress is false.

POST/applications/{id}/memo

curl

curl -X POST "https://underwriter.kita.ai/api/v1/applications/{id}/memo" \
  -H "Authorization: ApiKey $KITA_UW_API_KEY"

Path parameters

FieldTypeDescription
idrequiredstringApplication UUID or human `app_id`, for example `APP-1042`.

Response · 200

FieldTypeDescription
dataobject
  data.statusstring
  data.application_idstring(uuid)

Response · 200

{
  "data": {
    "status": "synthesis_complete",
    "application_id": "b1e7c9a4-3f52-4d18-9a6c-2e7b81d0c4aa"
  }
}

Errors

FieldTypeDescription
403errorThe key is valid but lacks the scope this endpoint requires.
404errorNot found, or belongs to another organization.

Poll memo freshness

GET /applications/{id}/memo/status

GET/applications/{id}/memo/status

curl

curl -X GET "https://underwriter.kita.ai/api/v1/applications/{id}/memo/status" \
  -H "Authorization: ApiKey $KITA_UW_API_KEY"

Path parameters

FieldTypeDescription
idrequiredstringApplication UUID or human `app_id`, for example `APP-1042`.

Response · 200

FieldTypeDescription
dataobject
  data.last_synthesis_atstring | null
  data.is_staleboolean
  data.stale_reasonsstring[]
  data.new_doc_countinteger
  data.new_message_countinteger
  data.cooldown_expires_atstring | null
  data.synthesis_in_progressboolean
  data.last_run_statusstring | null
  data.last_run_triggered_bystring | null
  data.last_run_sections_changedarray | null

Errors

FieldTypeDescription
401errorInvalid API key.
404errorNot found, or belongs to another organization.

On this page