CWA

Update workflow

Update an existing workflow

put/api/v1/cwa/workflows/{id}

Request

  • Base URL
    https://toolkit.browserstack.com
  • Auth
    API key in cookie _wdt_rails_session

Request body

user_promptstring

Updated user prompt for workflow generation

collection_idinteger

Updated collection ID

Example request

{
  "user_prompt": "Updated workflow prompt",
  "collection_id": 1
}

Response

Workflow updated successfully

successboolean
messagestring

Example response

{
  "success": true,
  "message": "Workflow updated successfully",
  "data": {
    "id": 1,
    "collection_id": 1,
    "user_prompt": "Updated workflow prompt",
    "status": "pending"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.