/workflow-engine/api/v1/requests/searchAsk AIpost https://example.com/workflow-engine/api/v1/requests/searchSearch access requestsQuery ParamsoffsetintegerDefaults to 0Offset where to start fetching the itemslimitintegerDefaults to 50Number of items to returnsortkeystringDefaults to idSort by specific object propertysortdirstringenumDefaults to ASCSort direction, asc or descASCDESCAllowed:ASCDESCfilterstringenumrequiredDefaults to REQUESTSFilter request items(requests, active_requests, approvals, etc.)ALLACTIVE_REQUESTSACTIVE_APPROVALSAPPROVALSREQUESTSAllowed:ALLACTIVE_REQUESTSACTIVE_APPROVALSAPPROVALSREQUESTSBody Paramskeywordsstringstart_timedate-timeend_timedate-timeHeadersAuthorizationstringrequiredDefaults to Bearer a-proper-token-goes-hereOAuth2 tokenResponses 200Successful response, returns an array of requests, returns an empty array if no requests found 400Bad request 401Unauthorized request, OAuth2 authorization missing or invalid 403Unauthorized request, OAuth2 authorization OK but scope insufficient 404Resource not found 500Internal server errorUpdated over 4 years ago