---
title: "Get the workflows for the given search criteria"
method: POST
path: "/v1.0/requests/workflows"
tags: ["Requests"]
---

# Get the workflows for the given search criteria

`POST /v1.0/requests/workflows`

## Request body

- RequestSearchCriteria — The search criteria
  - `resourceType` string, required
  - `resourceId` string, required
  - `requestTypes` string[]
  - `requestStatuses` string[]
  - `historyCategory` string, required
  - `pageNumber` integer, required
  - `pageSize` integer, required

## Response `200`

OK

- RequestDetailsSearchResults
  - `requestDetails` RequestDetailsDTO[]
    - `id` string
    - `requestType` string
    - `requestStatus` string
    - `creationDate` string, date
    - `requestMetadata` RequestMetadata
      - `type` string
  - `total` integer

## Other responses

- `403` — Forbidden
- `500` — Internal Server Error

## Changes

> 15 revisions in range; 1 could not be searched.

- **2025-09-11** `15b32331a1ac` — 2 breaking
  - the `pageNumber` request property type/format changed from `integer`/`int64` to `integer`/`int32`
  - the `pageSize` request property type/format changed from `integer`/`int64` to `integer`/`int32`
- **2025-04-08** `dd45a3bdf3cd` — 2 breaking, 1 warning, 1 info
  - added the new required request property `resourceId`
  - added the new required request property `resourceType`
  - removed the request property `accountId`
  - api operation id `getRequestDetailsByAccountId` removed and replaced with `getRequestDetailsByResource`
- **2024-10-21** `a06468704cbe` — 10 breaking, 1 warning, 9 info
  - added the new required request property `historyCategory`
  - removed the enum value `APPROVED` of the request property `requestStatuses/items/`
  - removed the enum value `CANCELLED` of the request property `requestStatuses/items/`
  - removed the enum value `CLOSED` of the request property `requestStatuses/items/`
  - …16 more

[Change history](https://skmtc.dev/beis/apis/api-documentation/changes/v1.0/requests/workflows/post.md)

---

[API](https://skmtc.dev/beis/apis/api-documentation.md) · [All operations](https://skmtc.dev/beis/apis/api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/beis/api-documentation/revisions/f5f4d893b86b/schema)
