> ## Documentation Index
> Fetch the complete documentation index at: https://docs.goldsky.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get pipeline logs

> Retrieve execution logs for a pipeline. Supports cursor-based pagination and filtering.



## OpenAPI

````yaml /turbo-pipelines/api/openapi.json get /pipelines/{name}/logs
openapi: 3.1.0
info:
  title: Goldsky API
  description: >-
    REST API for managing Goldsky pipelines. Create, deploy, monitor, and manage
    data pipelines programmatically.


    For a full introduction to Turbo Pipelines, see the [Turbo Pipelines
    documentation](https://docs.goldsky.com/turbo-pipelines/introduction).
  version: 1.0.0
  contact:
    name: Goldsky Support
    email: support@goldsky.com
    url: https://docs.goldsky.com
servers:
  - url: https://api.goldsky.com/api/v1
    description: Goldsky API
security:
  - BearerAuth: []
tags:
  - name: Pipelines
    description: >-
      Create, read, update, and delete pipelines. Manage pipeline lifecycle
      (pause, resume, restart).
  - name: Pipeline Logs
    description: Retrieve pipeline execution logs.
  - name: Pipeline Status
    description: Query pipeline runtime status and state information.
paths:
  /pipelines/{name}/logs:
    get:
      tags:
        - Pipeline Logs
      summary: Get pipeline logs
      description: >-
        Retrieve execution logs for a pipeline. Supports cursor-based pagination
        and filtering.
      parameters:
        - schema:
            type: string
          in: query
          name: logLevels
          required: false
        - schema:
            type: number
          in: query
          name: cursor
          required: false
        - schema:
            type: number
          in: query
          name: after
          required: false
        - schema:
            type: string
          in: query
          name: search
          required: false
        - schema:
            anyOf:
              - type: string
                enum:
                  - asc
              - type: string
                enum:
                  - desc
          in: query
          name: direction
          required: false
        - schema:
            type: string
          in: path
          name: name
          required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      results:
                        type: array
                        items:
                          type: object
                          properties:
                            text:
                              type: string
                            timestamp:
                              type: number
                            level:
                              type: string
                          required:
                            - text
                            - timestamp
                            - level
                      cursor:
                        type: number
                    required:
                      - results
                required:
                  - data
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        API token generated from the [Goldsky
        Dashboard](https://app.goldsky.com/dashboard/settings/project). Pass as:
        Authorization: Bearer <token>

````