---
title: "Get intelligence statistics (Document AI)"
method: GET
path: "/document_intelligence/stats"
tags: ["Analytics AI — Knowledge Graph"]
---

# Get intelligence statistics (Document AI)

`GET /document_intelligence/stats`

## Request

- Base URL: `https://api.paperoffice.ai/latest`
- URL: `https://api.paperoffice.ai/latest/document_intelligence/stats`
- Auth: HTTP bearer

Get global Document Intelligence statistics — total entities, embeddings, relations, topics, vision analyses. Shows AI processing status.

## Query parameters

- `workspace_id` number

## Response `200`

Success

- object
  - `_billing` object
    - `credits` object
      - `total_monthly` integer
      - `remaining_monthly` integer
      - `credit_source` string
      - `api_handler` string
      - `tier_info` object
        - `tier` string
        - `name` string
        - `initial_credits` integer
        - `price_monthly` integer
        - `price_overage_per_credit` integer
      - `notice` string
      - `renewal_days` integer
      - `subscription_status` string
    - `job` object
      - `api_job_name` string
      - `app` string
      - `action` string
      - `default_credits` integer
      - `credits_billed` integer
      - `pricing` object
        - `credits_per_unit` integer
        - `unit` string
        - `unit_count` integer
        - `addons` string
    - `requests` object
      - `limits` object
        - `second` integer
        - `minute` integer
        - `hour` integer
        - `day` integer
      - `current` object
        - `second` integer
        - `minute` integer
        - `hour` integer
        - `day` integer
      - `remaining` object
        - `second` integer
        - `minute` integer
        - `hour` integer
        - `day` integer
      - `next_possible_request_seconds` integer
    - `remaining_credits` integer
    - `total_monthly` integer
    - `account_id` integer
    - `plan` object
      - `tier` string
      - `name` string
    - `credits_billed` integer
  - `available_endpoints` object
    - `GET /document_intelligence/entities/{document_id}` string
    - `GET /document_intelligence/entities/canonical` string
    - `GET /document_intelligence/entities/search?q=...` string
    - `GET /document_intelligence/embeddings/{document_id}` string
    - `POST /document_intelligence/embeddings/search` string
    - `GET /document_intelligence/ocr/{document_id}` string
    - `GET /document_intelligence/vision/{document_id}` string
    - `GET /document_intelligence/relations/{document_id}` string
    - `GET /document_intelligence/topics/{document_id}` string
    - `GET /document_intelligence/topics` string
    - `GET /document_intelligence/revisions/{document_id}` string
    - `GET /document_intelligence/meta_fields/{document_id}` string
    - `GET /document_intelligence/summary/{document_id}` string
    - `GET /document_intelligence/stats` string
  - `canonical_semantics` string
  - `processing_time` string
  - `stats` object
    - `total_documents` integer
    - `stock_document_count` integer
    - `stock_count_basis` string
    - `documents_with_ocr` integer
    - `documents_with_entities` integer
    - `entities_by_type` unknown[]
      - unknown
    - `documents_with_embeddings` integer
    - `embeddings_by_type` object
      - `document_summary` integer
      - `metadata` integer
      - `contextual` integer
      - `contextual_summary` integer
      - `parent` integer
    - `total_tables` integer
    - `total_charts` integer
    - `total_barcodes` integer
    - `canonical_entities` integer
    - `canonical_index_distinct_count` integer
    - `canonical_index_scope` string
    - `canonical_index_note` string
    - `total_topics` integer
    - `canonical_semantics` string
    - `canonical_count_note` string
  - `status` string
  - `workspace_id` string

## Other responses

- `4XX`: Error
- `5XX`: Error

---

[API](https://skmtc.dev/paperoffice/apis/paperoffice-ai-api.md) · [All operations](https://skmtc.dev/paperoffice/apis/paperoffice-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/paperoffice/apis/paperoffice-ai-api/revisions/c6a6228a4509?raw)
