Behaviour of /form-api/form-repository/form-definitions API

Hello,
We use /form-api/form-repository/form-definitions to retrieve the form definitions related a task by filtering by the taskId parameter.

I expect the API to list only the form associated with the user task, however, I see that all the forms uploaded are listed.
The form is associated with the user task using the formKey tag.
Is this a bug?

Apologies! I see that the taskId query parameter is not supported forthis API. I seem to have mixed up two API definitions. My bad.

Glad to hear you resolved it yourself.

Cheers
Paul.