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

# Resume Task



## OpenAPI

````yaml /openapi.json post /api/workspaces/{id}/tasks/{task_id}/resume
openapi: 3.1.0
info:
  title: Konduktor
  version: 0.1.0
servers:
  - url: http://localhost:8080
    description: Local instance (default)
security: []
paths:
  /api/workspaces/{id}/tasks/{task_id}/resume:
    post:
      tags:
        - execution
      summary: Resume Task
      operationId: resume_task_api_workspaces__id__tasks__task_id__resume_post
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            title: Id
        - name: task_id
          in: path
          required: true
          schema:
            type: string
            title: Task Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResumeTaskRequest'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    ResumeTaskRequest:
      properties:
        prompt:
          type: string
          title: Prompt
      type: object
      required:
        - prompt
      title: ResumeTaskRequest
    SessionResponse:
      properties:
        id:
          type: string
          title: Id
        workspace_id:
          type: string
          title: Workspace Id
        task_id:
          type: string
          title: Task Id
        task_run_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Task Run Id
        session_name:
          type: string
          title: Session Name
        status:
          type: string
          title: Status
        runner_pid:
          anyOf:
            - type: integer
            - type: 'null'
          title: Runner Pid
        exit_code:
          anyOf:
            - type: integer
            - type: 'null'
          title: Exit Code
        error_message:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Message
        line_count:
          type: integer
          title: Line Count
        last_activity_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Activity At
        started_at:
          type: string
          title: Started At
        finished_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Finished At
        duration:
          anyOf:
            - type: number
            - type: 'null'
          title: Duration
        keep_status:
          type: boolean
          title: Keep Status
          default: false
        report:
          anyOf:
            - type: string
            - type: 'null'
          title: Report
      type: object
      required:
        - id
        - workspace_id
        - task_id
        - task_run_id
        - session_name
        - status
        - runner_pid
        - exit_code
        - error_message
        - line_count
        - last_activity_at
        - started_at
        - finished_at
      title: SessionResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````