---
title: "List Logs given the Result UID"
method: GET
path: "/v1alpha2/parents/{parent}/results/{result_uid}/logs"
tags: ["Logs"]
---

# List Logs given the Result UID

`GET /v1alpha2/parents/{parent}/results/{result_uid}/logs`

Logs can be read across Results by specifying `-` as the `result_uid` or across parents by specifying `-` as the `parent`. (e.g., **default/results/-** or **-/results/-**). This can be used to read and filter matching Logs without knowing the exact Result name.

## Response `200`

List of Records with next_page_token.

- object — List of Records with next_page_token.
  - `records` Record[], required
    - `id` string — DEPRECATED: use uid instead.
    - `uid` string, required — Server assigned identifier of the Record.
    - `etag` string — The etag for this record. If this is provided on update, it must match the server's etag.
    - `name` string, required — Resource name, must be rooted in parent result
    - `created_time` string, date-time — DEPRECATED: use create_time instead.
    - `create_time` string, date-time — Server assigned timestamp for when the record was created.
    - `updated_time` string, date-time — DEPRECATED: use update_time instead.
    - `update_time` string, date-time — Server assigned timestamp for when the record was updated.
    - `data` Any, required — Any represents lossely typed data to be stored within a Record.
      - `value` string, byte, required — JSON encoded data.
      - `type` 'tekton.dev/v1.PipelineRun' | 'tekton.dev/v1.TaskRun' | 'tekton.dev/v1beta1.PipelineRun' | 'tekton.dev/v1beta1.TaskRun' | 'results.tekton.dev/v1alpha2.Log', required — It is unique identifier if the data type stored in the value. This is used as a type to hint to determine how to unmarshal values. Limited to 128 characters. Currently RecordType can be one of the following: * PipelineRun Record: `tekton.dev/v1beta1.PipelineRun`(older records) or `tekton.dev/v1.PipelineRun` * TaskRun Record: `tekton.dev/v1beta1.TaskRun`(older records) or `tekton.dev/v1.TaskRun` * Log Record: `results.tekton.dev/v1alpha2.Log`(older records) or `results.tekton.dev/v1alpha3.Log`
  - `next_page_token` string, required

---

[API](https://skmtc.net/tektoncd/apis/tekton-results-api-specification.md) · [All operations](https://skmtc.net/tektoncd/apis/tekton-results-api-specification/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tektoncd/tekton-results-api-specification/revisions/278d1aed13c1/schema)
