Skip to main content
In plain terms: use these calls to ask the server what it can do: which plugins are installed and which supervisors and remote workers are connected. Useful before you build or validate a workflow.
The catalogue endpoints describe what the server offers and who is attached to it. They are read-only and need the VIEWER role. Responses use the envelope.

List plugins

GET /api/plugins Returns every registered plugin type with its category. Use the type values as the type of a node in a workflow. Response data: an array.

Get a plugin

GET /api/plugins/{type} Returns what a plugin does, how to configure it and what it can output. Editors use configSchema to build a form for a node. Response data Each entry of configSchema describes one option: A SECRET option takes a reference such as decrypted:<key> rather than the secret itself. Errors: 404 if no plugin has that type. The error lists a field error on type.
The response below is abridged: usagePattern and the HTML of uiDesign are shortened and some descriptions are reworded.
The plugin pages describe each built-in type: Plugins overview.

List the workflows that use a plugin

GET /api/plugins/{type}/usage Returns every workflow of every session that has at least one node of the type, with how many, sorted by session and workflow id. Each entry has sessionId, workflowId and nodes. A type that is not installed is used nowhere, so the list is empty.

List the supervisors of a type

GET /api/supervisor-engines/{type}/usage Returns the ids of the supervisors of an engine type. Answers 404 when the type is unknown.

List supervisors

GET /api/supervisors/status Lists the supervisors running on the control bus. The counts start at zero when the server starts. See Supervisors. Response data: an array, one entry per supervisor.
An empty array means none is configured.

List workers

GET /api/workers Lists the remote workers that are connected and keep their lease, ordered by worker id. See Remote workers. Response data: an array, one entry per worker.

Templates

GET /api/templates lists the example sessions bundled with the server. Each entry has id, title, summary, category (the examples/ folder it sits in, such as 1-standalone) and pluginTypes, the plugin types its workflows use. GET /api/templates/{id} adds readme (markdown) and session, a session definition you can apply as it is. An unknown id answers 404.

Show the edition

GET /api/edition Tells which edition of Yukta this server is, under which licence, and which optional features it has. See Licensing and editions. Response data:

Next steps

Built-in plugins

The 37 triggers, processors and terminals that ship with Yukta, and how a build chooses which ones to include.

Supervisors

Programs that watch every execution and steer it, or veto commands before they run: a rule engine, an AI agent or your own code.

Remote workers

Run selected processor nodes on other machines, in named pools, while the control plane keeps orchestrating.