API Reference

    List flows

    The workspace's flows, newest first, with their status and trigger type.

    GET/api/v1/flows

    Lists the flows of the key's workspace, drafts and paused flows included, newest first. Filter with status. Each item is a summary: no definition and no settings.

    For tools and AI agents: this page as Markdown · the public OpenAPI file

    Authorization

    The REST API is being rolled out and is not yet available to every workspace. Send an API key with the read permission in the X-Api-Key header. REST API access must be switched on for the workspace; see the REST API overview.

    Query parameters

    NameTypeRequiredDescription
    statusstring: draft, active, pausedNoOnly flows with this status: draft, active or paused.
    limitintegerNoItems per page, from 1 to 100. Default 20.
    cursorstringNoThe nextCursor of the previous page, unchanged.

    Response

    The answer is { data, nextCursor }; each item of data has these fields:

    NameTypeDescription
    idstringThe flow's ID.
    namestringThe flow's name.
    statusstringdraft, active or paused.
    modestringsimple or orchestration.
    triggerTypestring | nullHow the flow starts, for example webhook (the API trigger), scheduled, form or manual.
    nodeCountintegerThe number of steps (notes on the canvas are not counted).
    updatedAtstring (date-time) | nullWhen the flow was last changed.
    NameTypeDescription
    dataarrayThe items of this page.
    nextCursorstring | nullPass it as cursor for the next page; null when the list has ended.

    200

    {
      "data": [
        {
          "id": "7a17617d-3c4e-4f0a-9b1e-2d5c8e0f4a61",
          "name": "Overdue invoice reminders",
          "status": "active",
          "mode": "orchestration",
          "triggerType": "webhook",
          "nodeCount": 2,
          "updatedAt": "2026-11-15T14:02:51.000Z"
        }
      ],
      "nextCursor": "AZp8x3VqLk2mT9wQe7RsYb4nHc6Jd1Fg"
    }

    Errors

    This endpoint's own errors:

    StatusCodeWhenMessage
    400INVALID_STATUSstatus is not a flow status.The status filter must be one of: draft, active, paused.
    400INVALID_LIMITlimit is not a whole number from 1 to 100.The limit must be a whole number from 1 to 100.
    400INVALID_CURSORcursor is not a nextCursor from this list, or is no longer valid: start the list again from the first page.The cursor is not valid. Pass the nextCursor value from a previous response unchanged.

    Every endpoint can also answer the errors that apply to all of them, listed on the REST API overview.

    StatusCodeWhenMessage
    401UNAUTHENTICATEDThe key is missing, not an Exomations API key, unknown, inactive, expired or deleted, or it was sent in the URL or an Authorization header.A valid API key is required in the X-Api-Key header.
    402PENDING_PAYMENTThe workspace is awaiting its card verification (every endpoint except GET /usage).Payment required. Complete the 1 SAR card verification on the Billing page to activate your account.
    403FORBIDDENThe key does not carry read.This API key does not have the Read permission.
    403FORBIDDENThe workspace is suspended.This workspace is suspended.
    403API_NOT_ENABLEDREST API access is off for the workspace.REST API access is turned off for this workspace. An admin or the owner can turn it on on the API Keys page.
    405METHOD_NOT_ALLOWEDA method other than GET or HEAD. The Allow header lists the methods.This endpoint does not support this method. See the Allow header.
    429RATE_LIMITEDToo many calls in a minute (calls without a valid key are limited too).Rate limit reached. Retry after the number of seconds in the Retry-After header.
    500INTERNALSomething failed on our side. Retry; if it happens again, contact support.Something went wrong on our side. Please try again.

    Messages are shown exactly as the server sends them, in English. A value in angle brackets is filled in at run time.

    Examples

    curl "https://exomations.com/api/v1/flows?status=active&limit=50" \
      -H "X-Api-Key: exo_your_key"
    
    # Next page: add &cursor=<nextCursor from the previous answer>