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

# Run Update

> This endpoint is called by the workflow runner to update the status of a run.



## OpenAPI

````yaml webhook {$request.body#/webhook}
openapi: 3.1.0
info:
  title: ComfyDeploy API
  description: >+

    ### Overview


    Welcome to the ComfyDeploy API!


    To create a run thru the API, use the [queue run
    endpoint](#tag/run/POST/run/deployment/queue).


    Check out the [get run endpoint](#tag/run/GET/run/{run_id}), for getting the
    status and output of a run.


    ### Authentication


    To authenticate your requests, include your API key in the `Authorization`
    header as a bearer token. Make sure to generate an API key in the [API Keys
    section of your ComfyDeploy account](https://www.comfydeploy.com/api-keys).


    ###

  version: V2
servers:
  - url: https://api.comfydeploy.com/api
    description: Production server
  - url: https://staging.api.comfydeploy.com/api
    description: Staging server
  - url: http://localhost:3011/api
    description: Local development server
security:
  - Bearer: []
paths: {}
components:
  securitySchemes:
    Bearer:
      type: http
      scheme: bearer

````