> ## 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.

# Execute a single node

> Execute a node with the provided context (for testing)



## OpenAPI

````yaml openapi.json post /api/v1/executor/node
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/executor/node:
    post:
      tags:
        - executor
      summary: Execute a single node
      description: Execute a node with the provided context (for testing)
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/internal_api_handler.ExecuteNodeRequest'
        description: Node execution request
        required: true
      responses:
        '200':
          description: Node executed successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/internal_api_handler.ExecuteNodeResponse'
        '400':
          description: Invalid request or node configuration
          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'
        '500':
          description: Node execution failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/internal_api_handler.InternalServerError'
      security:
        - BearerAuth: []
components:
  schemas:
    internal_api_handler.ExecuteNodeRequest:
      type: object
      required:
        - context
        - node
      properties:
        context:
          type: object
          additionalProperties: {}
        node:
          type: array
          items:
            type: integer
    internal_api_handler.ExecuteNodeResponse:
      type: object
      properties:
        aborted:
          type: boolean
          example: false
        output: {}
        response: {}
        status:
          type: integer
          example: 200
        success:
          type: boolean
          example: true
    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.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

````