Ugrás a fő tartalomhoz

Létrehozása sablonból

POST/api/v1/workflow/create/template

Create a new workflow from a natural language template request. The agent content is generated with the organization's configured BYOK LLM, then wrapped in a validated starter workflow graph. 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 the configured LLM is missing or generation fails

cURL példa

curl -X POST \
  'http://localhost:8000/api/v1/workflow/create/template' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{}'

Paraméterek

NévHelyTípusLeírás
authorizationheaderobject
X-API-Keyheaderobject

Kérés törzse

application/json
Séma megtekintése
{
  "$ref": "#/components/schemas/CreateWorkflowTemplateRequest"
}

Válaszok

200Successful Response
application/json
Séma megtekintése
{
  "$ref": "#/components/schemas/WorkflowResponse"
}
404Not found
422Validation Error
application/json
Séma megtekintése
{
  "$ref": "#/components/schemas/HTTPValidationError"
}