CWA

Create a new workflow

Create a new workflow for Common Workflow Automation

post/api/v1/cwa/workflows

Request

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

Request body

collection_idinteger required

ID of the collection to use

user_promptstring required

User prompt for workflow generation

Example request

{
  "collection_id": 1,
  "user_prompt": "Generate a test workflow"
}

Response

Workflow created successfully

successboolean
messagestring

Example response

{
  "success": true,
  "message": "Workflow created successfully",
  "data": {
    "id": 1,
    "collection_id": 1,
    "user_prompt": "Generate a test workflow",
    "status": "pending"
  }
}

Changes

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