---
title: "GET /v1/telemetry/logs"
method: GET
path: "/v1/telemetry/logs"
tags: ["telemetry"]
---

# GET /v1/telemetry/logs

`GET /v1/telemetry/logs`

Get OpenTelemetry logs within a specified time window with flexible pagination options: Pass in only the end time to paginate backwards from there. Pass in a start time to paginate backwards from now until the start time. Pass in both to get resources within the time window. Filter additionally by branch_ids or file_id.

## Query parameters

- `trace_ids` string[]
- `file_id` string, uuid
- `branch_ids` string[]
- `direction` 'asc' | 'desc', required
- `start` string, date-time
- `end` string, date-time
- `limit` integer, required

## Response `200`

A paginated result set

- object — A paginated result set
  - `data` object[], required
    - `timeUnixNano` string, required
    - `body` object, required
      - `stringValue` string
      - `intValue` string
      - `doubleValue` number
      - `boolValue` boolean
      - `arrayValue` unknown
      - `kvlistValue` unknown
      - `bytesValue` string
    - `traceId` string, required
    - `attributes` object[], required
      - `key` string, required
      - `value` object, required
        - `stringValue` string
        - `intValue` string
        - `doubleValue` number
        - `boolValue` boolean
        - `arrayValue` unknown
        - `kvlistValue` unknown
        - `bytesValue` string
    - `severityText` string, required
  - `links` PaginationLinks, required — Links to use for pagination
    - `self` string, uri, required — URL of this page
    - `prev` string, uri — URL of the previous page, if any
    - `next` string, uri — URL of the next page, if any

---

[API](https://skmtc.net/val-town/apis/val-town-api.md) · [All operations](https://skmtc.net/val-town/apis/val-town-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/val-town/val-town-api/revisions/4d8b6d2e6db3/schema)
