Yes. Its a custom attribute defined in the Scrum template with the ID com.ibm.team.apt.attribute.complexity for story and Epic work items types. Its a Enumeration.
Yes. As Aradhya suggests, you need to know exactly which custom attribute is mapped to your complexity attribute. Then, you can access "customAttributes" elements inside the "workitem" attribute. The detailed documentation for the Reportable REST API is located here:
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means.
Learn more here.