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

# Get a single execution log

> Get detailed execution log by request ID



## OpenAPI

````yaml openapi.json get /api/v1/logs/executions/{request_id}
openapi: 3.0.0
info:
  description: Dualship backend API for workflow automation and API management.
  title: Dualship API
  termsOfService: https://dualship.run/terms
  contact:
    name: Dualship Support
    url: https://dualship.run/support
    email: support@dualship.run
  version: '1.0'
servers:
  - url: https://api.dualship.run
security: []
paths:
  /api/v1/logs/executions/{request_id}:
    get:
      tags:
        - logs
      summary: Get a single execution log
      description: Get detailed execution log by request ID
      parameters:
        - description: Workspace ID
          name: X-Workspace-Id
          in: header
          required: true
          schema:
            type: string
        - description: Project ID (uses default if not specified)
          name: project_id
          in: query
          schema:
            type: string
        - description: Request ID
          name: request_id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Execution log details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/internal_api_handler.ExecutionLogResponse'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/internal_api_handler.BadRequestError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/internal_api_handler.UnauthorizedError'
        '404':
          description: Log not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/internal_api_handler.NotFoundError'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/internal_api_handler.InternalServerError'
      security:
        - BearerAuth: []
components:
  schemas:
    internal_api_handler.ExecutionLogResponse:
      type: object
      properties:
        country:
          type: string
        created_at:
          type: string
        error_message:
          type: string
        flow_id:
          type: string
        flow_slug:
          type: string
        flow_version:
          type: integer
        id:
          type: string
        ip_address:
          type: string
        latency_ms:
          type: integer
        method:
          type: string
        path:
          type: string
        request_body:
          type: string
        request_headers:
          type: object
          additionalProperties:
            type: string
        request_id:
          type: string
        request_query:
          type: object
          additionalProperties:
            type: string
        response_body:
          type: string
        response_headers:
          type: object
          additionalProperties:
            type: string
        response_status:
          type: integer
        success:
          type: boolean
        user_agent:
          type: string
    internal_api_handler.BadRequestError:
      description: Bad request error
      type: object
      properties:
        code:
          type: string
          example: BAD_REQUEST
        error:
          type: string
          example: invalid request parameters
    internal_api_handler.UnauthorizedError:
      description: Unauthorized error
      type: object
      properties:
        code:
          type: string
          example: UNAUTHORIZED
        error:
          type: string
          example: unauthorized
    internal_api_handler.NotFoundError:
      description: Not found error
      type: object
      properties:
        code:
          type: string
          example: NOT_FOUND
        error:
          type: string
          example: resource not found
    internal_api_handler.InternalServerError:
      description: Internal server error
      type: object
      properties:
        code:
          type: string
          example: INTERNAL_ERROR
        error:
          type: string
          example: internal server error
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT Bearer token authentication

````