Create flow
Create a new flow with step definitions.
Authentication
AuthorizationBearer
API key or Clerk session token
Request
This endpoint expects an object.
name
description
flowSteps
inputs
Inputs the flow expects its caller to supply. Declared names do not raise UNDECLARED_VARIABLE_REFERENCE.
steps
Response
Created flow
createdAt
flowSteps
id
lastModifiedSource
name
organizationId
updatedAt
userId
dashboardUrl
description
draftVersionId
inputs
Inputs the flow expects its caller to supply. Absent when none are declared.
lastRunAt
publishedVersionId
sampleMetadata
stepCount
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error