--- id: "en/api-post-nd-api-enterprise-enterprise-logs" title: "Get enterprise logs" language: "en" description: "POST /nd/api/enterprise/enterprise_logs: Get the enterprise log interface description, including path, method, parameters and return information." canonical_url: "https://www.babel.cc/public/babelwiki/en/api-post-nd-api-enterprise-enterprise-logs.html" markdown_url: "https://www.babel.cc/public/babelwiki/ai/en/api-post-nd-api-enterprise-enterprise-logs.md" alternates: {"en": "https://www.babel.cc/public/babelwiki/ai/en/api-post-nd-api-enterprise-enterprise-logs.md", "zh": "https://www.babel.cc/public/babelwiki/ai/zh/api-post-nd-api-enterprise-enterprise-logs.md"} reading_note: "文档记录不等于当前部署能力;以实际版本、授权模块与配置为准。保留原文的可选、限制及待确认说明,勿补猜接口。 / Documentation is not a guarantee for every deployment. Preserve optional-module requirements, limitations and unresolved API contracts." --- # Get enterprise logs `POST /nd/api/enterprise/enterprise_logs` ## POST body parameters | Parameter | Type | Description | | --- | --- | --- | | `department_id` | `string` | Optional department filter | | `keyword` | `string` | Optional keyword | | `startTime` | `number` | Optional start time; confirm units | | `endTime` | `number` | Optional end time; confirm units | | `startIndex` | `int` | Optional start offset | | `pageSize` | `int` | Optional page size | ## Response Fields listed in the source: `code`, `success`, `logs`, `total`. The PDF does not specify POST time units; GET explicitly uses seconds. Pagination names differ by method and must not be mixed. ## Calling the Endpoint Use `Authorization: Bearer `. GET parameters belong in the URL query; normal business POST requests use JSON. Check HTTP status and then the business result. Confirm array serialization and ambiguous types with the deployment instead of inventing fields. [Authentication](https://www.babel.cc/public/babelwiki/en/developer-api-auth.html) · [API overview](https://www.babel.cc/public/babelwiki/en/developer-api-overview.html)