---
title: "List location logs"
method: GET
path: "/locations/{locationId}/logs"
tags: ["Locations"]
---

# List location logs

`GET /locations/{locationId}/logs`

## Request

- Base URL: `https://public.escape.tech/v3`
- URL: `https://public.escape.tech/v3/locations/{locationId}/logs`
- Auth: API key in header `X-ESCAPE-API-KEY`

List logs for a private location.

## Path parameters

- `locationId` string, uuid, required: The ID of the location

## Query parameters

- `cursor` string: The cursor to start the pagination from. Returned by the previous page response. If not provided, the first page will be returned.
- `size` integer: The number of items to return per page
- `search` string: Filter by search term

## Response `200`

OK

- object
  - `nextCursor` string, nullable, required
  - `data` object[], required
    - `id` string, required: The log entry ID.
    - `createdAt` string, required: The date and time the log entry was created.
    - `cliTimestamp` string, required: The timestamp formatted for CLI display.
    - `message` string, required: The log message.
    - `nodeId` string, required: The ID of the node that produced the log entry.

## Other responses

- `400`: Pagination error
- `404`: Not found

---

[API](https://skmtc.dev/escape/apis/escape-public-api.md) - [All operations](https://skmtc.dev/escape/apis/escape-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/escape/apis/escape-public-api/revisions/2eab35df40c7?raw)
