All workflow profile management endpoints require authentication and are controlled byDocumentation Index
Fetch the complete documentation index at: https://docs.nekohub.fengying.xin/llms.txt
Use this file to discover all available pages before exploring further.
settings.* permissions.
List workflow profiles
settings.read
Returns all workflow profiles. The current repository implementation sorts the list by isAutoRun first, then by name.
Response fields
idnamedescriptionisAutoRungraphJsoncreatedAtUtcupdatedAtUtc
Get a workflow profile
settings.read
If the workflow does not exist, the API returns 404 Not Found with error code workflow_profile_not_found.
Create a workflow profile
settings.update
Request body
Validation rules
nameis required and limited to100charactersdescriptionis optional and limited to1000charactersgraphJsonis required and must be a valid JSON object- workflow names must be unique, otherwise the API returns
workflow_profile_name_conflict - if
isAutoRun=true, the backend automatically clears the auto-run flag from other workflow profiles
Update a workflow profile
settings.update
This is a full update, not PATCH semantics.
Notes
- send the full
name,description,isAutoRun, andgraphJsonpayload again - if
isAutoRun=true, the backend also clears the auto-run state from other workflow profiles
Delete a workflow profile
settings.update
Returns 204 No Content on success.
Mark a workflow as auto-run
settings.update
Marks the selected workflow as the auto-run workflow.
Current constraints:
- only one workflow can have
isAutoRun=trueat a time - the backend clears the auto-run flag from the others automatically
Run a workflow on an asset
assets.update
This endpoint is not part of workflow profile management, but it is the runtime entrypoint for actual workflow execution.
Behavior
- the backend loads the asset and workflow profile
- it parses executable skill nodes from
graphJson - it validates that those skills are supported for the current asset
- if validation passes, it queues the skill sequence for asynchronous processing
Response
Successful calls return202 Accepted:
Common errors
workflow_profile_not_foundworkflow_profile_has_no_skillsworkflow_profile_contains_unsupported_skills
graphJson structure
The backend currently requires graphJson to be a JSON object. During parsing it:
- prefers
nodes[].data.skillId - falls back to the legacy
nodes[].typewhendata.skillIdis missing - uses
data.parametersas the explicit parameter object when present - for legacy graphs, also treats other
datafields besidesskillIdas parameters
The current execution model still follows saved node order linearly.
edges and viewport are mainly preserved for frontend editor rendering and state restoration.