Workflows

Create workflow

Create a workflow and its first version. Without a version, the workflow starts blank with a single start node.

post/agents/v2/workflows

Request

  • Base URL
    https://odyssey.asteroid.ai
  • URL
    https://odyssey.asteroid.ai/agents/v2/workflows
  • Auth
    API key in header X-Api-Key

Request body

namestring required

Name for the new workflow. Characters outside the workflow-name charset (letters, digits, spaces, hyphens) are sanitized server-side — create flows carry defaulted names (templates, prebuilt states) the user never typed, which must not fail validation.

organizationIdstring uuid

Response

The request has succeeded and a new resource has been created as a result.

idstring uuid required

Changes

No recorded changes to this operation across all 1 revision of this API.