http://localhost:8082.
POST /workflows
Save a new workflow definition. Devset stores the DSL document and makes it retrievable by theid field you provide inside the body.
A unique, human-readable identifier for this workflow, such as
order-flow or payment-retry.The broker type this workflow targets. Accepted values:
kafka, rabbit.The name of the connector to use. Must match a connector saved via the Connectors API.
The Kafka topic to publish to. Required when
messageType is kafka.The RabbitMQ exchange to publish to. Used when
messageType is rabbit.The RabbitMQ routing key. Used when
messageType is rabbit.The payload content type. Defaults to
json. Use protobuf for Protocol Buffer payloads.Optional identifier of a registered schema to use for payload validation and serialization.
Number of times to execute the pipeline per run. Defaults to
1.Initial workflow-level state map. Values set here are available to pipeline stages via
$ref expressions.Ordered list of stage definitions. Each stage describes one message to produce.
GET /workflows
List all saved workflows. The response is an array of workflow documents. UseGET /workflows/{workflowId} to fetch a specific workflow by ID.
Response — 200 OK
The unique identifier for this workflow.
The broker type:
kafka or rabbit.The connector used to dispatch messages.
The target Kafka topic, or
null for RabbitMQ workflows.The target RabbitMQ exchange, or
null for Kafka workflows.The RabbitMQ routing key, or
null for Kafka workflows.Number of executions configured for this workflow.
Ordered list of stage definitions.
GET /workflows/
Retrieve the complete DSL document for a single workflow, including all stage definitions. Path parametersThe
id of the workflow to retrieve.PUT /workflows/
Replace an existing workflow definition entirely. The body must be the full DSL document — partial updates are not supported. Devset overwrites the previously stored definition and returns the updated document. Path parametersThe
id of the workflow to replace.The complete, updated workflow DSL document. Must include all required top-level fields and a full
pipeline array.If you change the
id field inside the body, Devset uses the path parameter workflowId as the authoritative identifier. Avoid changing id in a PUT request to prevent confusion.DELETE /workflows/
Permanently delete a saved workflow definition. This operation cannot be undone. Path parametersThe
id of the workflow to delete.204 No Content response confirms that the workflow was deleted successfully.