Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.sixtyfour.ai/llms.txt

Use this file to discover all available pages before exploring further.

Use case

Create, version, and manage reusable enrichment pipelines programmatically. Use these endpoints to list existing workflows, inspect block definitions, create new pipelines from code, update configurations, or remove workflows you no longer need.

API Reference

See the full request/response schema and parameters in the API Reference.

Pricing

See Credits & Pricing Guide for credit costs.

Errors

For error responses (400, 403, 404, etc.), see Handling Errors.
For a full reference of available block types and their use cases, see Workflow Blocks.

Workflow definition

A workflow definition is a directed graph of blocks connected by edges:
  • blocks — each block has a sequence_number, block_type (see Workflow Blocks), block_name, optional block_id, and a specs object.
  • edges — each edge has a from_block_id, a to_block_id, and an optional condition.
This shape is used in both Create Workflow and Update Workflow requests.

List workflows

Retrieve all workflows in your organization.
GET https://api.sixtyfour.ai/workflows
Returns a lightweight list of workflows without block definitions.
Use GET /workflows/{workflow_id} to retrieve a workflow with its full block graph.

Get workflow

Retrieve a specific workflow including its complete block graph.
GET https://api.sixtyfour.ai/workflows/{workflow_id}

Create workflow

Create a new workflow with a block graph definition.
POST https://api.sixtyfour.ai/workflows/create_workflow
Required body fields: workflow_name, workflow_description, and workflow_definition. Pass an optional id to use a custom workflow ID; otherwise one is auto-generated.

Example request

{
  "workflow_name": "Contact Validation",
  "workflow_description": "Validates email addresses and phone numbers",
  "workflow_definition": {
    "blocks": [
      {
        "sequence_number": 1,
        "block_type": "webhook",
        "block_name": "webhook",
        "block_id": "input",
        "specs": {}
      },
      {
        "sequence_number": 2,
        "block_type": "validate_email",
        "block_name": "validate_email",
        "block_id": "validate",
        "specs": {
          "email_field": "email"
        }
      }
    ],
    "edges": [
      {
        "from_block_id": "input",
        "to_block_id": "validate"
      }
    ]
  },
  "id": "custom_workflow_id"
}
All workflows are validated before creation. Block compatibility is checked automatically.

Update workflow

Update an existing workflow’s name, description, or block definition.
POST https://api.sixtyfour.ai/workflows/update_workflow
Pass workflow_id as a query parameter. All body fields (workflow_name, workflow_description, workflow_definition) are optional — only include what you want to change. The workflow_definition shape is the same as Create Workflow above.
Performs upsert: creates the workflow if it doesn’t exist. Workflow definition is validated before saving.

Delete workflow

Permanently delete a workflow.
POST https://api.sixtyfour.ai/workflows/delete_workflow
Pass workflow_id as a query parameter.
Permanently removes the workflow definition. Historical workflow runs are preserved.