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

# Run workflow

> Starts a manual run on the whole scope or on the given project assets.



## OpenAPI

````yaml /api-reference/openapi.json post /api/projects/{id}/workflows/{bindingId}/run
openapi: 3.0.0
info:
  title: Open Attack Surface Management
  description: Open-source platform for cybersecurity Attack Surface Management (ASM)
  version: '1.0'
  contact: {}
servers:
  - url: https://{baseUrl}/api/v1
    variables:
      baseUrl:
        default: localhost:3000
        description: API server hostname with port (e.g. localhost:3000, api.example.com)
security: []
tags: []
externalDocs:
  description: Authentication Docs
  url: auth/docs
paths:
  /api/projects/{id}/workflows/{bindingId}/run:
    post:
      tags:
        - Projects
      summary: Run workflow
      description: Starts a manual run on the whole scope or on the given project assets.
      operationId: ProjectsController_runWorkflow
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
        - name: bindingId
          required: true
          in: path
          schema:
            type: string
        - name: X-Workspace-Id
          in: header
          description: Workspace ID
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RunProjectWorkflowDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RunStartedDto'
                allOf:
                  - $ref: '#/components/schemas/AppResponseSerialization'
components:
  schemas:
    RunProjectWorkflowDto:
      type: object
      properties:
        assetIds:
          description: Scan only these assets of the project; omitted = the whole scope
          type: array
          items:
            type: string
    RunStartedDto:
      type: object
      properties:
        jobHistoryId:
          type: string
        assets:
          type: number
          description: Assets in the run scope
      required:
        - jobHistoryId
        - assets
    AppResponseSerialization:
      type: object
      properties: {}

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.