---
updatedAt: 2026-10-14T10:49:42.000Z
agentTools:
  projectIndex: https://support.docsumo.com/llms.txt
---

# Get Documents Summary

Retrieve a summary of your documents, grouped by document type. Each group includes a count of documents by their processing status.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Docsumo API",
    "description": "The official API for interacting with the Docsumo platform.\n\nAll documents uploaded via the API are automatically added to your account in the [Docsumo web app](https://app.docsumo.com).\n\n##### Supported File Types\n- .jpg\n- .jpeg\n- .png\n- .tiff\n- .pdf\n\n##### Get Your API Key\nTo authenticate your requests, you'll need an API key. You can obtain your key from the [Docsumo settings page](https://app.docsumo.com/settings/webhook-api/).\n\n[![apikey](https://files.readme.io/8387a9576ff61643731e36e5cbd6ada5412b803b8809c62e4fc5637972d5c3c1-image.png)](https://app.docsumo.com/settings/webhook-api/)",
    "version": "0.1"
  },
  "servers": [
    {
      "url": "https://app.docsumo.com"
    }
  ],
  "paths": {
    "/api/v1/mew/apikey/documents/summary/": {
      "get": {
        "tags": [
          "Documents"
        ],
        "summary": "Get Documents Summary",
        "description": "Retrieve a summary of your documents, grouped by document type. Each group includes a count of documents by their processing status.",
        "parameters": [
          {
            "name": "apikey",
            "in": "header",
            "description": "Your personal API key for authentication.",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "{{apikey}}"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/inline_response_200_5"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "headers": {
              "Connection": {
                "schema": {
                  "type": "string",
                  "example": "keep-alive"
                }
              },
              "x-queue-wait-time": {
                "schema": {
                  "type": "number",
                  "example": 0.01
                }
              },
              "access-control-allow-origin": {
                "schema": {
                  "type": "string",
                  "example": ""
                }
              },
              "Strict-Transport-Security": {
                "schema": {
                  "type": "string",
                  "example": "max-age=15724800; includeSubDomains"
                }
              },
              "CF-Cache-Status": {
                "schema": {
                  "type": "string",
                  "example": "DYNAMIC"
                }
              },
              "NEL": {
                "schema": {
                  "type": "string",
                  "example": "success_fraction:0, report_to: cf-nel, max_age:604800"
                }
              },
              "Report_To": {
                "schema": {
                  "type": "string",
                  "example": "max-age=604800, url=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""
                }
              },
              "Server": {
                "schema": {
                  "type": "string",
                  "example": "cloudflare"
                }
              },
              "CF-RAY": {
                "schema": {
                  "type": "string",
                  "example": "87fa8017c9013f94-SIN"
                }
              },
              "alt-svc": {
                "schema": {
                  "type": "string",
                  "example": "h3=\":443\"; ma=86400"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/inline_response_401_1"
                },
                "examples": {
                  "example-0": {
                    "summary": "Invalid Token",
                    "value": {
                      "error": "token is invalid",
                      "message": "",
                      "status": "fail",
                      "status_code": 401
                    }
                  },
                  "example-1": {
                    "summary": "Missing Token",
                    "value": {
                      "error": "token is missing",
                      "message": "",
                      "status": "fail",
                      "status_code": 401
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inline_response_200_5": {
        "type": "object",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/inline_response_200_5_data"
          },
          "error": {
            "type": "string",
            "description": "A message describing any errors encountered during the request.",
            "example": ""
          },
          "error_code": {
            "type": "string",
            "description": "A code representing the specific error encountered during the request.",
            "example": ""
          },
          "status": {
            "type": "string",
            "description": "The status of the request.",
            "example": "success"
          },
          "status_code": {
            "type": "integer",
            "description": "The HTTP status code of the response.",
            "example": 200
          }
        }
      },
      "inline_response_401_1": {
        "type": "object",
        "properties": {
          "error": {
            "type": "string",
            "description": "A message describing the error.",
            "example": "token is missing"
          },
          "message": {
            "type": "string",
            "description": "Additional information about the error.",
            "example": "token is missing"
          },
          "status": {
            "type": "string",
            "description": "The status of the request.",
            "example": "fail"
          },
          "status_code": {
            "type": "integer",
            "description": "The HTTP status code of the response.",
            "example": 401
          }
        }
      },
      "inline_response_200_5_data_document_doc_counts": {
        "type": "object",
        "properties": {
          "all": {
            "type": "integer",
            "description": "Total number of documents of this type.",
            "example": 6
          },
          "processed": {
            "type": "integer",
            "description": "Total number of documents in the 'processed' state.",
            "example": 6
          },
          "reviewing": {
            "type": "integer",
            "description": "Total number of documents in the 'reviewing' state.",
            "example": 6
          }
        },
        "description": "A count of documents of this type, broken down by status."
      },
      "inline_response_200_5_data_document_flags": {
        "type": "object",
        "properties": {
          "has_updated_doc_settings": {
            "type": "boolean",
            "description": "An internal flag related to document settings.",
            "example": true
          },
          "how_adt_documents_stepper": {
            "type": "boolean",
            "description": "An internal flag for UI display.",
            "example": true
          }
        },
        "description": "Internal configuration flags."
      },
      "inline_response_200_5_data_document": {
        "type": "object",
        "properties": {
          "can_upload": {
            "type": "boolean",
            "description": "Indicates whether the user can upload this type of document.",
            "example": true
          },
          "category": {
            "type": "string",
            "description": "The category of the document type.",
            "example": "Procurement"
          },
          "default": {
            "type": "boolean",
            "description": "An internal flag indicating if this is a default document type.",
            "example": true
          },
          "doc_counts": {
            "$ref": "#/components/schemas/inline_response_200_5_data_document_doc_counts"
          },
          "doc_type": {
            "type": "string",
            "description": "The unique identifier for the document type.",
            "example": "invoice"
          },
          "excel_type": {
            "type": "boolean",
            "description": "Indicates whether the document is an Excel-based type.",
            "example": false
          },
          "flags": {
            "$ref": "#/components/schemas/inline_response_200_5_data_document_flags"
          },
          "id": {
            "type": "integer",
            "description": "Unique integer identifier for the document type.",
            "example": 1
          },
          "is_editable": {
            "type": "boolean",
            "description": "Indicates whether the document type is editable.",
            "example": true
          },
          "models": {
            "type": "array",
            "description": "A list of AI models associated with this document type.",
            "example": [],
            "items": {
              "type": "string"
            }
          },
          "title": {
            "type": "string",
            "description": "The display name of the document type.",
            "example": "Invoice"
          },
          "upload_email": {
            "type": "string",
            "description": "The dedicated email address for uploading this document type.",
            "example": "invoice_78@docs.docsumo.com"
          },
          "user_id": {
            "type": "string",
            "description": "The user ID associated with this document type.",
            "example": "5ee52bb5cd4b9a1bd51df0543"
          }
        },
        "description": "Detailed information about a specific document type."
      },
      "inline_response_200_5_data": {
        "type": "object",
        "properties": {
          "disabled_doc_types": {
            "type": "array",
            "description": "An array of disabled document type identifiers.",
            "example": [
              "invoice"
            ],
            "items": {
              "type": "string"
            }
          },
          "document": {
            "$ref": "#/components/schemas/inline_response_200_5_data_document"
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```