Skip to main content

Get started in three steps

Learn how to execute flows, check their status, and retrieve results using the Edges Flows API.

Step 1: Set up your API key

Before making API calls, you need to get your API key:
  1. Log in to your Edges account
  2. Navigate to Developer Settings
  3. Copy your personal API key
Keep your API key secure—treat it like a password. Each API key is tied to your specific account.

Step 2: Run your first flow

The easiest way to get started is using managed mode, which uses Edges’s pre-configured accounts:
Managed mode cost: Using identity_mode: "managed" costs 1.5× the standard credit cost but requires no setup. The response will include a uid that you can use to track the flow run:

Step 3: Check flow status and retrieve results

Once you’ve started a flow, you can check its status and retrieve outputs:
Use the flow run UID to check the current status:
The response includes the status which can be:
  • CREATED - Flow run has been created
  • QUEUED - Flow run is queued for execution
  • RUNNING - Flow run is currently executing
  • SUCCEEDED - Flow run completed successfully
  • FAILED - Flow run failed
  • PARTIAL_SUCCEEDED - Flow run partially succeeded
Once the flow is running or completed, retrieve the outputs:
You can paginate through results using limit and offset parameters, and filter by step using step_uid.
List all your flow runs with filtering options:
You can filter by:
  • status - Filter by flow run status
  • uid - Filter by specific flow run UIDs
  • workspace_uid - Filter by workspace
  • user_uid - Filter by user

Using webhooks

For long-running flows, you can set up a webhook callback to receive results automatically:
When the flow completes (or reaches certain milestones), Edges will send a POST request to your callback URL with the results.

Next steps

Now that you’ve run your first flow, explore:
You can also use the Flows UI to visually browse and launch flows without writing code!