---
title: "Search Workflows"
method: GET
path: "/business/v2/workflows"
tags: ["Workflows"]
---

# Search Workflows

`GET /business/v2/workflows`

Endpoint to search `Workflows`.

## Query parameters

- `status` WorkflowStatusSearch[] — The status of the `Workflow`.
- `targetTypes` WorkflowTargetType[] — The type of the `Workflow`.
- `text` string — A simple text to search `Workflow` by `name` or `description`.
- `p` integer — It indicates the specific page to display (the counter starts from zero).
- `s` integer — It indicates the number of items per page.
- `props` string[] — It indicates the sorting direction applied to the above parameters. To apply a sorting on multiple parameters, set as many times the `props` parameter in the request.

## Response `200`

The result is an array containing `Workflows`.

- Workflows
  - `total` integer — It represents the total number of available items in the list.
  - `pages` integer — It represents the total number of available pages.
  - `page_size` integer — It represents the number of items per page.
  - `current_page` integer — It indicates the current page (the counter starts from zero).
  - `results_size` integer — It indicates the size of the array results.
  - `results` WorkflowItem[]
    - `id` string — The `Workflow` ID.
    - `name` string — The name of the `Workflow`.
    - `description` string — The description of the `Workflow`.
    - `status` 'ACTIVE' | 'DEACTIVATED' | 'DELETED'
    - `target_type` 'FUNDS' | 'GOODS_AND_SERVICES' | 'TRIP'
    - `steps_count` integer — The number of steps in the `Workflow`.

## Other responses

- `400` — Your request has missing arguments or is malformed.

---

[API](https://skmtc.net/soldo/apis/soldo-business-api-v2-0.md) · [All operations](https://skmtc.net/soldo/apis/soldo-business-api-v2-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/soldo/soldo-business-api-v2-0/revisions/7be21448a2b3/schema)
