> ## Documentation Index
> Fetch the complete documentation index at: https://growthx-chore-remove-output-wrapper.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Start a workflow asynchronously



## OpenAPI

````yaml /openapi.json post /workflow/start
openapi: 3.0.0
info:
  title: Output.ai API
  version: 1.0.0
  description: API for managing and executing Output.ai workflows
servers:
  - url: http://localhost:3001
    description: Development server
security: []
tags: []
paths:
  /workflow/start:
    post:
      summary: Start a workflow asynchronously
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - workflowName
                - input
              properties:
                workflowName:
                  type: string
                  description: The name of the workflow to execute
                input:
                  description: The payload to send to the workflow
                workflowId:
                  type: string
                  description: (Optional) The workflowId to use. Must be unique
                catalog:
                  type: string
                  description: >-
                    The catalog (Temporal task queue) to route the execution to.
                    Falls back to the default catalog.
                taskQueue:
                  type: string
                  deprecated: true
                  description: >-
                    Deprecated alias for `catalog`. If both are sent, `catalog`
                    wins.
      responses:
        '200':
          description: The workflow start result
          content:
            application/json:
              schema:
                type: object
                properties:
                  workflowId:
                    type: string
                    description: The id of the started workflow
                  runId:
                    type: string
                    nullable: true
                    description: The first execution's run id for this workflow
        '400':
          $ref: '#/components/responses/BadRequest'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  responses:
    BadRequest:
      description: Invalid request body, query, or pagination token
      content:
        application/json:
          schema:
            oneOf:
              - $ref: '#/components/schemas/ValidationErrorResponse'
              - $ref: '#/components/schemas/ErrorResponse'
    NotFound:
      description: Workflow execution, workflow type, or catalog not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    InternalServerError:
      description: Internal server error (e.g. Temporal connection failure)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  schemas:
    ValidationErrorResponse:
      type: object
      description: Request body validation failure (Zod)
      properties:
        error:
          type: string
          enum:
            - ValidationError
        message:
          type: string
          example: Invalid Payload
        issues:
          type: array
          description: Zod validation issues
          items:
            type: object
    ErrorResponse:
      type: object
      description: >-
        API error body (WorkflowNotFoundError, WorkflowExecutionTimedOutError,
        WorkflowNotCompletedError, CatalogNotAvailableError, or server error)
      properties:
        error:
          type: string
          description: >-
            Error type name (e.g. WorkflowNotFoundError,
            CatalogNotAvailableError)
        message:
          type: string
          description: Human-readable error message
        workflowId:
          type: string
          description: >-
            Workflow ID when the error is tied to a specific execution (e.g.
            timeout)
          nullable: true

````