---
title: "Return Database Access History for One Cluster by Hostname"
method: GET
path: "/api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}"
tags: ["Access Tracking"]
---

# Return Database Access History for One Cluster by Hostname

`GET /api/atlas/v2/groups/{groupId}/dbAccessHistory/processes/{hostname}`

Returns the access logs of one cluster identified by the cluster's hostname. Access logs contain a list of authentication requests made against your clusters. You can't use this feature on tenant-tier clusters (M0, M2, M5).

## Path parameters

- `groupId` string, required
- `hostname` string, required

## Query parameters

- `envelope` boolean
- `pretty` boolean
- `authResult` boolean
- `end` integer
- `ipAddress` string
- `nLogs` integer
- `start` integer

## Response `200`

OK

## Other responses

- `401` — Unauthorized.
- `403` — Forbidden.
- `404` — Not Found.
- `429` — Too Many Requests.
- `500` — Internal Server Error.

---

[API](https://skmtc.dev/mongodb/apis/atlas-admin-api.md) · [All operations](https://skmtc.dev/mongodb/apis/atlas-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mongodb/atlas-admin-api/revisions/e37e8ef8429f/schema)
