---
title: Get enterprise logs
description: GET /nd/api/enterprise/enterprise_logs: Get the enterprise log interface description, including path, method, parameters and return information.
slug: api-get-nd-api-enterprise-enterprise-logs
lang: en
category: Enterprise API
category_order: 8
order: 157
api_method: GET
api_path: /nd/api/enterprise/enterprise_logs
api_label: Get enterprise logs
keywords:
  - API
  - Get enterprise logs
  - /nd/api/enterprise/enterprise_logs
---

# Get enterprise logs

| Properties | Values |
| --- | --- |
| HTTP methods | `GET` |
| Interface path | `/nd/api/enterprise/enterprise_logs` |
| Category | Enterprise API |

## Interface description

Interface path: `/nd/api/enterprise/enterprise_logs`

HTTP method: `GET`


**HTTP method:** `GET`

#### URL parameters

Parameter name Comment (description)
department_id department id() string
pagesize page size number, default value 1000
start_index message starting position, number
keyword log keyword string
startTime start date: seconds number
endTime expiration date seconds number
#### Return field description

{"logs":[],"total":0,"code":0,"success":true} total returns all those that meet the conditions (regardless of paging pageSize)

## Call instructions

- Before calling, you need to complete [Get token](api-post-api-token-do.md) or the corresponding login-free authentication, and carry `Authorization: Bearer <access_token>` in the request header.
- If there are differences in parameters and return fields due to deployment versions, the actual private cloud API documents and joint debugging results should prevail.
- Category: Enterprise API.
