v1
latestOpenAPI 3.1.02026-07-26436887.6 KBmain
Create Workflow From Template
Create a new workflow from a natural language template request.
This endpoint:
- Uses mps_service_key_client to call MPS workflow API
- Passes organization ID (authenticated mode) or created_by (OSS mode)
- Creates the workflow in the database
Args: request: The template creation request with call_type, use_case, and activity_description user: The authenticated user
Returns: The created workflow
Raises: HTTPException: If MPS API call fails
post/api/v1/workflow/create/template
Headers
authorizationstring nullable
X-API-Keystring nullable
Request body
Response
Successful Response