# Workflow execution filter

**URL:** <https://developer.sailpoint.com/discuss/t/workflow-execution-filter/7734>\
**Category:** SHF Discussion and Questions\
**Tags:** workflows\
**Created:** [January 26, 2023, 9:32am UTC](https://developer.sailpoint.com/discuss/t/workflow-execution-filter/7734 "2023-01-26T09:32:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manju22](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@Manju22](https://developer.sailpoint.com/discuss/u/Manju22)\
**Post date:** [January 26, 2023, 9:32am UTC](https://developer.sailpoint.com/discuss/t/workflow-execution-filter/7734/1 "2023-01-26T09:32:42Z")

</div>

Hi,

Can someone guide me on how to filter the query with “status” as failed using the get-workflow-execution API call?

I tried _{{baseUrl}}/workflows/:id/executions?filters=status eq “Failed”_ and it doesn’t filter the response.

Also, I get only 50 entries in the responses. How to increase the offset and do pagination

> **[get-workflow-execution | SailPoint Developer Community](https://developer.sailpoint.com/idn/api/beta/get-workflow-execution)**
>
> Get a Workflow Execution

---

<div class="post-metadata">

**Author:** ![colin\_mckibben](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/colin_mckibben/32/37182_2.png) [@colin\_mckibben](https://developer.sailpoint.com/discuss/u/colin_mckibben)\
**Post date:** [January 26, 2023, 2:21pm UTC](https://developer.sailpoint.com/discuss/t/workflow-execution-filter/7734/2 "2023-01-26T14:21:06Z")

</div>

That endpoint doesn’t support filters or sorters at this time, but I agree that a filter on status would be very helpful. I will put in a feature request for engineering to implement it.

---

<div class="post-metadata">

**Author:** ![Manju22](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@Manju22](https://developer.sailpoint.com/discuss/u/Manju22)\
**Post date:** [January 26, 2023, 2:47pm UTC](https://developer.sailpoint.com/discuss/t/workflow-execution-filter/7734/3 "2023-01-26T14:47:38Z")

</div>

Thanks @colin_mckibben . Does this endpoint provides only 50 entries in the response?

---

<div class="post-metadata">

**Author:** ![colin\_mckibben](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/colin_mckibben/32/37182_2.png) [@colin\_mckibben](https://developer.sailpoint.com/discuss/u/colin_mckibben)\
**Post date:** [January 26, 2023, 3:45pm UTC](https://developer.sailpoint.com/discuss/t/workflow-execution-filter/7734/4 "2023-01-26T15:45:43Z")

</div>

I spoke with engineering and here is the roadmap for this endpoint, with no particular dates on when they will be implemented:

- Increase execution history storage time from 48 hours to 90 days
- Increase default page size from 50 → 250
- Implement pagination
- Implement sorting and filtering

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [July 19, 2023, 2:24pm UTC](https://developer.sailpoint.com/discuss/t/workflow-execution-filter/7734/5 "2023-07-19T14:24:09Z")

</div>

Closed on July 19, 2023, 2:24pm UTC


