DMS

Analyze a Box file without downloading it manually

Pass a Box file_id and Nexus downloads + extracts the text (Gemini OCR for .pdf/.docx, direct read for .txt/.md) + analyzes it with Node A. Charges 1 credit only on success. The user behind the API key must have an active Box connection in dms_connections. Max file size: 50 MB.

post/api/v1/dms/box/analyze

Request

  • Base URL: https://legal.nexusquantum.legal
  • URL: https://legal.nexusquantum.legal/api/v1/dms/box/analyze
  • Auth: HTTP bearer

Request body

file_idstring required

Box file id (16 digits)

jurisdictionstring required
legal_branchstring

Default: civil

languagestring
mode'standard' | 'deep'

deep = Node B audit (Premium)

write_metadataboolean

Writes the analysis result back to the Box file as metadata (global properties template: nexus_jurisdiction, nexus_legal_branch, nexus_risk, nexus_summary, nexus_model, nexus_analyzed_at). Best-effort: the analysis does not fail if the write fails. Requires the Box root_readwrite scope (already granted).

Example request

{
  "jurisdiction": "ES",
  "legal_branch": "civil",
  "language": "es"
}

Response

{ analysis, jurisdiction, legalBranch, model, processingMs, metadata_written, source: {provider, file_id, file_name, ...} }

Changes

No recorded changes to this operation across all 1 revision of this API.