---
title: "GET /v1/projects/{projectId}/logs"
method: GET
path: "/v1/projects/{projectId}/logs"
tags: ["Logs"]
---

# GET /v1/projects/{projectId}/logs

`GET /v1/projects/{projectId}/logs`

## Path parameters

- `projectId` string, required

## Query parameters

- `deviceId` string
- `start` string, date-time
- `end` string, date-time
- `module` string
- `level` 'NONE' | 'DEBUG' | 'INFO' | 'WARN' | 'ERROR'
- `term` string
- `tags` string[]

## Response `200`

A successful response.

- GoliothGetLogsResponse
  - `list` GoliothDeviceLogEntry[]
    - `deviceId` string
    - `level` 'NONE' | 'DEBUG' | 'INFO' | 'WARN' | 'ERROR'
    - `message` string
    - `metadata` object
    - `module` string
    - `moduleId` string
    - `timestamp` string, date-time
    - `type` 'LOGGING' | 'DIAGNOSTICS' | 'METRICS'
  - `page` integer
  - `perPage` integer
  - `total` integer

## Other responses

- `default` — An unexpected error response.

---

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