Create flow

Create a new flow with step definitions.

Authentication

AuthorizationBearer
API key or Clerk session token

Request

This endpoint expects an object.
namestringRequired>=1 character
descriptionstring or nullOptional<=5000 characters
flowStepslist of objectsOptional
stepslist of objectsOptional

Response

Created flow
createdAtstring
flowStepslist of objects
idstring
lastModifiedSourcestring or null
namestring
organizationIdstring or null
updatedAtstring
userIdstring
dashboardUrlstringOptional
descriptionstring or nullOptional
lastRunAtstring or nullOptional
sampleMetadatamap from strings to anyOptional
stepCountintegerOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error