How to get variables by taskId and ProcessInstance Key in SaaS mode using REST API

Unable to use these APIs, getting 404
camunda version → 8.6.7, deployment mode → SaaS
https://{{region}}.zeebe.camunda.io/{{cluster-id}}/v2/process-instances/:processInstanceKey/variables

Hi @Basavaraj_S.P - that is an alpha API endpoint, I believe, and needs to be explicitly enabled in your cluster. Have you enabled the alpha features? See the note here, and the alpha instructions below:

Hi @nathan.loding is there any alternate stable API to get variables either by userTaskKey or processInstanceKey because as the TASKLIST APIs are soon will be deprecated.

@Basavaraj_S.P - the stable API is the current Tasklist API, which will be deprecated in a future release. However, it is only being marked deprecated, not fully removed, so you could develop against it then migrate the API calls to the new endpoints when they are released. There has been a delay with the unified API, unfortunately, and it won’t be available until October with version 8.8 (read the announcement here).

Thanks a lot @nathan.loding that was so helpfull