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

# Get organisations boards actors codelogs

> CodePreviewExecutionLogs will list for a single code action the execution logs stored in the Google Cloud logging.




## OpenAPI

````yaml get /organisations/{organisationId}/boards/{boardId}/actors/{actorId}/code/logs
openapi: 3.0.3
info:
  title: Switchboard API
  description: >-
    The Switchboard API provides users the ability to manage their Apps,
    Integrations and Workflows
  version: 0.0.1-alpha.0
servers:
  - url: https://platform.versori.com/api/switchboard/v1alpha1/
    description: Production server
  - url: http://localhost:8080/v1alpha1/
    description: Localhost
security:
  - apiKey: []
paths:
  /organisations/{organisationId}/boards/{boardId}/actors/{actorId}/code/logs:
    get:
      tags:
        - boards
      description: >
        CodePreviewExecutionLogs will list for a single code action the
        execution logs stored in the Google Cloud logging.
      operationId: CodePreviewExecutionLogs
      parameters:
        - name: organisationId
          in: path
          required: true
          schema:
            type: string
          example: '101'
        - name: boardId
          in: path
          required: true
          schema:
            type: string
        - name: actorId
          in: path
          required: true
          schema:
            type: string
        - name: dateFrom
          in: query
          required: false
          schema:
            type: string
            format: date-time
        - name: dateTo
          in: query
          required: false
          schema:
            type: string
            format: date-time
      responses:
        '200':
          $ref: '#/components/responses/ListExecutionLogsForCodeActionResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
components:
  responses:
    ListExecutionLogsForCodeActionResponse:
      description: A list of execution logs for a code action
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ExecutionLogNodesPage'
    ErrorResponse:
      description: The default error response
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    ExecutionLogNodesPage:
      type: object
      allOf:
        - $ref: '#/components/schemas/ExecutionLogInfo'
        - type: object
          properties:
            items:
              description: |
                List of execution logs for a single board.
              type: array
              items:
                $ref: '#/components/schemas/ExecutionLogNode'
    Error:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        extensions:
          type: object
      required:
        - code
        - message
    ExecutionLogInfo:
      type: object
      properties:
        totalCount:
          type: integer
        startTime:
          type: string
          format: date-time
        endTime:
          type: string
          format: date-time
      required:
        - totalCount
    ExecutionLogNode:
      type: object
      properties:
        severity:
          type: string
        timestamp:
          type: string
          format: date-time
        summary:
          type: string
        payload:
          type: string
      required:
        - severity
        - timestamp
        - summary
        - payload
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: Authorization

````