Manage your flows in one place.

On the Flows page, you will see a list of flows which you can edit and execute. You can also create a new flow in the top right hand corner.

By clicking on a flow id or on the eye icon, you can open a flow.

Kestra User Interface Flows Page

A Flow page will have multiple tabs that allow you to: see the flow topology, all flow executions, edit the flow, view its revisions, logs, metrics, and dependencies. You'll also be able to edit namespace files in the Flow editor as well.

Kestra User Interface Flow Page

Editor

The Editor gives you a rich view of your workflow, as well as Namespace Files. The Editor allows you to add multipl views to the side:

  • Documentation
  • Topology
  • Blueprints

Topology View

The Topology View allows you to visualize the structure of your flow. This is especially useful when you have complex flows with multiple branches of logic.

Topology

Documentation View

The documentation view allows you to see Kestra's documentation right inside of the editor. As you move your type cursor around the Editor, the documentation page will update to reflect the specific task type documentation.

Docs

Blueprints View

The blueprint view allows you to copy example flows directly into your flow. Especially useful if you're using a new plugin where you want to work off of an existing example.

Blueprints Editor

Revisions

You can view the history of your flow under the Revisions tab. Read more about revisions here.

Blueprints Editor

Dependencies

The Dependencies page allows you to view what other flows depend on the selected flow, as well as flows that the selected flow depends on. It gives you an easy way to navigate between them as well.

Dependencies

JSON Schema Usage for Flow Validation

Kestra provides a JSON Schema to validate your flow definitions. This ensures that your flows are correctly structured and helps catch errors early in the development process.

JSON Schema in VSCode

To use the JSON Schema in Visual Studio Code (VSCode), follow these steps:

  1. Install the YAML extension by Red Hat.
  2. Open your VSCode settings (Ctrl+, or Cmd+,).
  3. Search for YAML: Schemas and click on Edit in settings.json.
  4. Add the following configuration to associate the Kestra JSON Schema with your flow files:
json
{
  "yaml.schemas": {
    "https://your-kestra-instance.com/api/v1/schemas/flow.json": "/*.yaml"
  }
}

Replace https://your-kestra-instance.com/api/v1/schemas/flow.json with the actual URL of your Kestra JSON Schema.

Example of Using JSON Schema in Flow Editor

Here is an example of how to use the JSON Schema in the flow editor:

yaml
id: example_flow
namespace: example_namespace
tasks:
  - id: example_task
    type: io.kestra.core.tasks.log.Log
    message: "Hello, World!"

When you open this flow in the editor, the JSON Schema will validate the structure and provide autocompletion and error checking.

Globally Available Location for JSON Schema

The JSON Schema for Kestra flows is available at the following URL:

https://your-kestra-instance.com/api/v1/schemas/flow.json

Replace https://your-kestra-instance.com with the actual URL of your Kestra instance.

Was this page helpful?