Analytics AI — Knowledge Graph

Get knowledge graph for document (path param)

Returns an interactive graph centered on one document — nodes, edges, group styling, and layout options.

get/document_intelligence/knowledge_graph/document/{pofid}

Request

  • Base URL: https://api.paperoffice.ai/latest
  • URL: https://api.paperoffice.ai/latest/document_intelligence/knowledge_graph/document/{pofid}
  • Auth: HTTP bearer

Path parameters

pofidstring required

Query parameters

depthstring

Hop depth 1-3 (3 requires ULTRA)

include_entitiesstring

Include entity nodes (companies, persons, etc.)

max_nodesstring

Maximum nodes to return (max: 200)

Response

Success

status'success' | 'error' required

HTTP-Level Status

job_idstring required
messagestring

Human-readable status message

pipelinestring

Name of the executed pipeline

operationstring

Executed operation

processing_timestring

Total processing time including queue (format: 123.45ms)

Changes

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