Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

post

Overview

This endpoint is used for creating new workflows. Workflows can belong to either a user or an organization.

HTTP Request

POST /api/v1/users/:userName/workflows
POST /api/v1/organizations/:organizationName/workflows

This endpoint extends the general API structure

Path parameters

Parameter

userName

The user name of the user that will own the workflow

organizationName

The short name of the organization that will own the workflow

Request body

Provide a JSON object with information about the workflow.

Property name
Type
Description

name

string

Required. The name of the workflow.

description

string

Optional. A description of the workflow.

isPublic

boolean

Optional. Default false. Whether anyone can view the workflow. Viewers can still only see data derivatives that they have access to.

Authorization

You must either authorize as the user or an administrator of the organization that will own the workflow. Your access token must have the following scopes:

  • workflow.write

  • organization.write (only if the workflow is created in an organization)

Response body

Returns the JSON-encoded "get" representation of a workflow resource.

Examples

Was this helpful?