---
title: "Get Target Logs"
method: GET
path: "/streaming/v2/targets/{id}/logs"
tags: ["target"]
---

# Get Target Logs

`GET /streaming/v2/targets/{id}/logs`

Returns the logs associated with the specified target ID.

## Path parameters

- `id` string, uuid, required

## Query parameters

- `page_token` string
- `page_size` number
- `timestamp` string

## Response `200`

Logs returned

- TargetLogs
  - `count` number, required
  - `logs` TargetLog[], required
    - `event_type` string, required
    - `timestamp` string, required
    - `details` string, required
  - `pagination` Pagination
    - `prev_page_token` string
    - `next_page_token` string

## Other responses

- `default` — Unexpected error

---

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