Get the company's document statistics (the admin console home).
GET/api/v1/company/statisticssettings:read
注記
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
Files and archived versions, bytes by file type, the bucket's size, documents loaded per week, documents by type and the totals of distributions, workflows and action requests, as the admin console's home shows them. They count the whole company, whatever the caller can read, so it needs View Tenant Usage Statistics. Counts are strings (bigint). The bucket size is the last measurement the Portal stored.
| スコープ | settings:read |
| 非同期 | いいえ |
| MCP ツール | get_company_statistics |
| Portal の権限 | view_tenant_usage_statistics |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
Docwize-Version | header | string (date) | 任意 | |
If-None-Match | header | string | 任意 | Answers 304 when the representation is unchanged (resources that publish an ETag). |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json CompanyStatistics |
304 | Not modified (If-None-Match matched the ETag). | |
400 | invalid_version | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
スキーマ
CompanyStatistics
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
action_request_count | string | 必須 | What the admin console calls total tasks. |
archived_file_versions | string | 必須 | Earlier versions of files, one row each. |
bucket_size_bytes | string | 必須 | The larger of the primary and archive buckets' sizes, as last measured; 0 before the first measurement. |
distribution_count | string | 必須 | Distributions sent: what the admin console calls total emails. |
documents_by_type | DocumentTypeCount の配列 | 必須 | |
files_stored | string | 必須 | Current files: one per document that has one. |
size_by_file_type | FileTypeSize の配列 | 必須 | Bytes of current files by file type. |
uploads_per_week | UploadWeek の配列 | 必須 | Documents entered per calendar week, oldest first. |
workflow_count | string | 必須 |
DocumentTypeCount
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
count | string | 必須 | |
document_type | string または null | 必須 | The document type as stored on the documents; null for documents with none. |
FileTypeSize
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
file_type | string または null | 必須 | The stored file type (extension or MIME text); null for files that record none. |
size_bytes | string | 必須 |
UploadWeek
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
count | string | 必須 | |
week | integer | 必須 | The database's week of the year, as the admin console charts it. ≥ -2147483648; ≤ 2147483647 |
year | integer | 必須 | ≥ -2147483648; ≤ 2147483647 |